Difference between revisions of "Storage"

From Vogons Wiki
Jump to: navigation, search
(Modern Storage for Retro Computers)
(Modern Storage for Retro Computers)
Line 72: Line 72:
  
 
Pros
 
Pros
* Very common storage media
+
* Very common and affordable storage media
 
* Quick response on small reads and writes
 
* Quick response on small reads and writes
 
Cons
 
Cons
* Can be sensitive to ESD ( electro static discharge)
+
* More sensitive to ESD ( electro static discharge) and mechanical damage
* Requires an bridge device to translate protocols into IDE/ATA  
+
* Requires an active bridge device to translate protocols into IDE/ATA  
* Popular brands are commonly counterfeited
+
* Popular brands are commonly counterfeited with slow & fragile devices in online market places
* Sinitechi adapters are limited to 25MB/s speeds when talking to SD devices
+
* Sinitechi support ATA133 transfer rates externally, but internally the adapters are limited to 'High Speed' 25MB/s transfer rates.  Newer SD features such as higher transfer rates, wear leveling and ram cache are not supported by these devices.
  
 
'''Pata DOM (Disk on Module)'''
 
'''Pata DOM (Disk on Module)'''

Revision as of 00:17, 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 are often CPU limited in most applications before they reach theoretical ATA throughput limits
  • Most contemporary PATA storage devices are highly 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 systems show a noticeable performance improvement when multiword IO and DMA modes are enabled
  • DOS requires a UDMA compatible BIOS or UDMA drivers in config.sys to take advantage of the advanced transfer 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 config.sys to take advantage of the advanced transfer modes.

More information about PATA ATA is available here: https://en.wikipedia.org/wiki/Parallel_ATA

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
  • Uses the same M2 connector as NGFF Sata, but with different notches
  • 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.
  • Some contemporary storage devices exhibit compatibility issues negotiating a compatible protocol with some early ATA-3, ATA-4 controllers and do not function. Issue appears to be more common with Sinitechi SD adapters and Hyperdisk DOM devices. (reference?)

Modern Storage for Retro Computers

CF (Compact Flash)

A popular portable storage format developed in 1994 that is compatible with IDE signaling and ATA protocols. Standard has not significantly changed since PATA matured. PATA CF appears to be heading into obsolesces as newer applications require faster transmission rates and smaller form factors.

  • 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 with a similar form factor that is not interchangeable with PATA CF devices
  • XQD card (2011) Is a PCI-E based standard with a similar form factor than is not compatible with either 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 on older devices is significantly slower for small random IO patterns when compared to other contemporary storage devices

SD to IDE

A popular portable storage format developed in 1999.

Pros

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

Cons

  • More sensitive to ESD ( electro static discharge) and mechanical damage
  • Requires an active bridge device to translate protocols into IDE/ATA
  • Popular brands are commonly counterfeited with slow & fragile devices in online market places
  • Sinitechi support ATA133 transfer rates externally, but internally the adapters are limited to 'High Speed' 25MB/s transfer rates. Newer SD features such as higher transfer rates, wear leveling and ram cache are not supported by these 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