Difference between revisions of "Storage"

From Vogons Wiki
Jump to: navigation, search
(IDE and BIOS Limits & Incompatibilities)
(IDE and BIOS Limits & Incompatibilities)
Line 42: Line 42:
 
* 8.4 GB limit - Final ECHS limit - Bios geometry selects head head value from the sequence 16, 32, 64, 128, 255 to present an alternate geometry up to (C=1024, H=255, S=63).  Hard drives larger than 8.4GB report a geometry of C=16383,H=16,S=63 to indicate  that they are larger than can be described using ECHS geometry translation)
 
* 8.4 GB limit - Final ECHS limit - Bios geometry selects head head value from the sequence 16, 32, 64, 128, 255 to present an alternate geometry up to (C=1024, H=255, S=63).  Hard drives larger than 8.4GB report a geometry of C=16383,H=16,S=63 to indicate  that they are larger than can be described using ECHS geometry translation)
 
* 33.8 GB limit - BIOS before '''August 1999''' often stored the cylinders as a 16 bit value, so they could not process cylinders > 65535.
 
* 33.8 GB limit - BIOS before '''August 1999''' often stored the cylinders as a 16 bit value, so they could not process cylinders > 65535.
* 137.4 GB limit - BIOS before '''September 2001''' only used ATA-5, which used 28 bits to identify each LBA sector, limiting drive capacity to 137GB.  ATA-6 extended this to 48 bits.  Hard drives over 137.4 GB should report an LBA capacity of 0xfffffff sectors and report the actual value in the 48-bit field.
+
* 137.4 GB limit - BIOS before '''September 2001''' only used ATA-5, which used 28 bits to identify each LBA sector, limiting drive capacity to 137GB.  ATA-6 added an additional 48bit LBA sector field.  Hard drives over 137.4 GB should report an LBA capacity of 0xfffffff sectors and report the actual value in the 48-bit field.
* Early LBA drives do not always work correctly with mature LBA controllers and must be manually set to 'CHS' mode in order to operate correctly.
+
* Early LBA drives do not always work correctly with mature LBA controllers and may need to be manually configured to use 'CHS' mode for correct operation.
  
 
===Modern Storage for Retro Computers===
 
===Modern Storage for Retro Computers===

Revision as of 00:39, 24 March 2021

Common IDE Categories

Early IDE (ATA-0 & ATA-1)

  • IDE for 16bit ISA controllers, connects IDE storage devices directly to the ISA/AT bus
  • Few storage devices from this period supported the DMA modes.
  • Processors <= 486 have significant CPU resistance when using PIO modes
  • Most modern storage devices are compatible with early IDE controllers

EIDE (ATA-3 & ATA-4, UDMA/33 )

  • Common between 1993-1998: VLB & PCI 486 boards, Socket 4,5 & 7 Pentiums, Pentium II.
  • 80 connector IDE cables recommended but not required for these devices
  • Most storage devices show a noticeable performance improvement when multiword IO or DMA modes are enabled
  • DOS requires a UDMA compatible BIOS or UDMA drivers in the config.sys to take advantage of the enhanced performance modes.


Mature PATA (ATA-6 and newer: Ultra ATA-66, ATA-100 & ATA-133)

  • Common between 1999-2010: Pentium 3 & Athlon through Core2
  • 80 connector IDE cables required to negotiate 66Mhz speeds or higher.
  • 80 connector IDE cables can be simulated by grounding Pin #34 for devices with a 40 pin female connector that do not use a cable
  • UDMA modes offer a significant increase in performance over PIO modes in most cases.
  • Storage devices show a small performance increase when using ATA-133 over ATA-66
  • Storage devices show a small performance increase when using IHA (Intel Hub Architecture) or Vlink attached controllers over a PCI attached controller
  • DOS requires a UDMA compatible BIOS or UDMA drivers in the config.sys to take advantage of the enhanced performance modes.

SATA

  • Common after 2004
  • Early SATA devices were often PATA devices with a SATA bridge
  • Bridges are commonly available today to connect PATA devices to SATA controllers & vice versa.
  • Sata Connector / mSata Connector / M2 Sata connector (NGFF)

NVMe

  • Common after 2018, no longer uses ATA protocols
  • Pin compatible with M2 Sata
  • Connects storage directly to PCI-E

IDE and BIOS Limits & Incompatibilities

  • 528 MB limit - BIOS before July 1994 rarely support drives over 528MB. They were limited to Cylinders <= 1024, Heads <= 16, Sectors/Track <= 63
  • 2015 MB limit - BIOS before May 1996 rarely support drives larger than 2015 MB. They were limited to Cylinders <= 4095, Heads <= 16, Sectors/Track <= 63
  • 3277 MB limit - Phoenix BIOS 4.03 and 4.04 config screens lock when a drive is configured with a capacity over 3277 MB.
  • 4.2 GB limit - Some BIOS before February 1997 have the first ECHS (Extended CHS) limit. DOS and Windows 95/98 cannot handle 256 heads. 'Large' mode in the BIOS produces an alternate geometry by doubling the number of heads and halving the number of cylinders shown to DOS until cylinders <= 1024. The limit for this method is 4032 MB (C=1024, H = 128, S = 63) for drives that report 16 heads.
  • 7.9 GB limit - Other BIOS from this period had a Revised ECHS limit. 'Large' mode in the BIOS presents an alternate geometry using multiples of 15 heads, up to 240 heads. This method stops working at 7560 MB (C=1024, H=240, S=63)
  • 8.4 GB limit - Final ECHS limit - Bios geometry selects head head value from the sequence 16, 32, 64, 128, 255 to present an alternate geometry up to (C=1024, H=255, S=63). Hard drives larger than 8.4GB report a geometry of C=16383,H=16,S=63 to indicate that they are larger than can be described using ECHS geometry translation)
  • 33.8 GB limit - BIOS before August 1999 often stored the cylinders as a 16 bit value, so they could not process cylinders > 65535.
  • 137.4 GB limit - BIOS before September 2001 only used ATA-5, which used 28 bits to identify each LBA sector, limiting drive capacity to 137GB. ATA-6 added an additional 48bit LBA sector field. Hard drives over 137.4 GB should report an LBA capacity of 0xfffffff sectors and report the actual value in the 48-bit field.
  • Early LBA drives do not always work correctly with mature LBA controllers and may need to be manually configured to use 'CHS' mode for correct operation.

Modern Storage for Retro Computers

CF (Compact Flash)

A popular portable storage format developed in 1994 that is compatible with IDE. Standard has changed little since 2010 and and is declining in popularity because it is too large for phones.

  • CompactFlash 1.0 (1995) supported PIO2 with capacity up to 128 GB.
  • CompactFlash 2.0 (2003) added PIO4 followed by DMA 33 in mid-2004.
  • CompactFlash 3.0 (2004) added UDMA 66 (UDMA3)
  • CompactFlash 4.0 (2006) added IDE Ultra DMA Mode 6 and UDMA 133
  • CompactFlash 5.0 (2010) added LBA 48 for drivers larger than 132GB
  • CompactFlash 6.0 (November 2010) added UltraDMA Mode 7 (167 MByte/s), ATA-8/ACS-2 sanitize command, and TRIM support
  • CFast (2008) Also called CompactFast, is a SATA based standard that is not interchangeable with PATA CF devices
  • XQD card (2011) Is a PCI-E based standard than is not compatible with PATA CF or SATA CFast

Pros

  • Most devices are natively compatible with 5V ATA signaling, which makes IDE adapters simple pass through connectors
  • Fewer reported compatibility issues with EIDE adapters

Cons

  • Some devices require 3.3V instead of 5V, which require an adapter with a voltage regulator
  • Performance can be slower on small files compared to some other storage devices

SD to IDE

A popular portable storage format developed in 1999.

Pros

  • Very common storage media
  • Quick response on small reads and writes

Cons

  • Can be sensitive to ESD ( electro static discharge)
  • Popular brands are commonly counterfeited
  • Popular IDE adapter is limited to 25MB/s speeds when talking to SD devices

Pata DOM (Disk on Module)

Pros

Cons

Sata Drive

Pros

Cons

mSata

Pros

Cons

M2 Sata

Pros

Cons

USB to IDE

Pros

Cons

Sata SSD Pros

Cons

Sata DOM Pros

Cons

Rare Legacy Storage