💿
beginner·7 min read

SSD vs HDD Technology

Hard Disk Drives (HDDs) store data on spinning magnetic platters. Solid State Drives (SSDs) store data in NAND flash chips with no moving parts. The performance gap is enormous: a modern NVMe SSD delivers 7,000+ MB/s sequential reads, while a typical HDD peaks at 150–250 MB/s. Understanding the technology explains not just the speed difference but also SSD durability, longevity and optimal use cases.

How HDDs Work

An HDD stores bits as magnetic domains on a rotating platter. A read/write head on an actuator arm moves across the platter surface, sensing and changing the magnetic orientation of tiny areas. The platter rotates at 5,400–7,200 RPM for consumer drives. Data access requires the head to seek to the right track (seek time: 3–12 ms) and then wait for the right sector to rotate under the head (rotational latency: 4–8 ms). These mechanical latencies limit random 4K I/O to 100–200 IOPS — catastrophically slow for OS workloads that perform millions of small random reads.

  • ▸HDDs excel at sequential workloads (large file writes, media) where seek time is amortised.
  • ▸Helium-filled drives (Seagate Exos, WD Gold) reduce drag, allowing more platters and higher capacity.
  • ▸HDDs remain cost-effective for bulk storage: ≤ $20/TB vs ≥ $60/TB for SSDs.

NAND Flash: How SSDs Store Data

NAND flash stores data as charge in a floating-gate transistor. The charge level determines the cell state. SLC stores 1 bit per cell (2 states), MLC 2 bits (4 states), TLC 3 bits (8 states), QLC 4 bits (16 states). More bits per cell = higher density and lower cost, but also lower write endurance, worse performance and higher error rates. Consumer SSDs use TLC or QLC; enterprise and high-endurance drives use SLC or MLC. NAND must be erased in large blocks (256+ KB) before being written — the reason SSDs need garbage collection and over-provisioning.

TypeBits/CellEndurancePerformanceCost
SLC1Very High (100k P/E)HighestVery High
MLC2High (10k P/E)HighHigh
TLC3Medium (1k–3k P/E)GoodMainstream
QLC4Lower (300–1k P/E)LowerCheapest

SATA vs NVMe and PCIe Generations

Early SSDs connected via SATA (the same interface as HDDs), capped at ~550 MB/s — far below what NAND can sustain. NVMe (Non-Volatile Memory Express) is a protocol designed from scratch for flash over PCIe, with a queue depth of 65,535 commands (vs 32 for AHCI/SATA) and sub-100 µs latency. PCIe 4.0 ×4 SSDs (Samsung 990 Pro, WD Black SN850X) reach 7,000 MB/s sequential read. PCIe 5.0 ×4 drives push beyond 14,000 MB/s. The M.2 2280 form factor (22 mm × 80 mm) fits both SATA and NVMe drives.

Note: For everyday desktop and gaming use, the difference between a PCIe 4.0 and PCIe 5.0 NVMe SSD is imperceptible — game load times are rarely storage-bound. NVMe vs SATA does make a noticeable difference for large file operations.
SSDHDDNVMeNANDStorage