💽
Storage

NVMe and Storage Standards

From SATA to PCIe 5.0 NVMe and beyond

NVMe (Non-Volatile Memory Express) is the protocol that unlocked the full potential of NAND flash storage. Where AHCI (the SATA protocol) was designed for spinning hard drives with a single queue of 32 commands, NVMe was built for flash: 65,535 queues each holding 65,535 commands, sub-100 µs latency and direct PCIe attachment. The result is a generational leap in both throughput and I/O parallelism that has transformed system responsiveness.

Interface Comparison: SATA vs NVMe

SATA III is capped at 600 MB/s signalling — practical SSDs peak at 550 MB/s sequential read. It uses the AHCI command set, designed in 2004 for mechanical drives. NVMe over PCIe bypasses this bottleneck: PCIe 4.0 ×4 provides ~8 GB/s of raw bandwidth; PCIe 5.0 ×4 doubles this to ~16 GB/s. Sequential throughput is only part of the story — random 4K I/O performance, where AHCI is architecturally limited to 1 queue depth of 32, is where NVMe's parallel queue model most dramatically improves system responsiveness.

InterfaceProtocolSeq Read (max)Seq Write (max)Queue DepthForm Factors
SATA IIIAHCI~550 MB/s~520 MB/s1 × 322.5", M.2 2280
PCIe 3.0 ×4 NVMeNVMe 1.3~3,500 MB/s~3,000 MB/s65k × 65kM.2, U.2
PCIe 4.0 ×4 NVMeNVMe 1.4~7,000 MB/s~7,000 MB/s65k × 65kM.2, E1.S
PCIe 5.0 ×4 NVMeNVMe 2.0~14,000 MB/s~14,000 MB/s65k × 65kM.2, E1.S

NAND Flash: SLC, MLC, TLC, QLC

NAND stores data as charge levels in floating-gate or charge-trap transistors. SLC (1 bit/cell) is fastest and most durable but costs ~4× more per GB than TLC. MLC (2 bits), TLC (3 bits) and QLC (4 bits) progressively trade endurance and performance for density. Consumer drives use TLC (256+ GB) or QLC (2 TB+). Enterprise and industrial drives use SLC or pSLC (pseudo-SLC — writing TLC as SLC temporarily). Most consumer TLC drives have an SLC write cache (a portion of the NAND configured as SLC) for burst performance; sustained writes beyond this cache reveal the drive's true TLC write speed, which may be 300–600 MB/s on budget drives.

Controller Architecture

The NVMe controller is the drive's CPU — it manages wear levelling (distributing writes evenly across all NAND blocks), garbage collection (reclaiming erased blocks), over-provisioning (reserving ~7–28% of raw NAND for internal management), ECC (error correction), and the host interface. Major controllers: Phison E18/E26, Silicon Motion SM2267/SM2269, Marvell Bravada, Samsung's in-house Elpis/Artisan. DRAM-less drives (using Host Memory Buffer / HMB) are cheaper but show higher latency on 4K random reads.

Enterprise: NVMe-oF and CXL

NVMe over Fabrics (NVMe-oF) extends the NVMe command set over Ethernet (NVMe/TCP, NVMe/RoCE) or Fibre Channel, allowing data centre servers to access remote NVMe SSDs with latency nearly matching local PCIe. Compute Express Link (CXL), based on PCIe 5.0 electrical, provides a cache-coherent interconnect between CPUs and storage-class memory (Intel Optane replacements, Samsung CXL DRAM). CXL enables pooled memory architectures in data centres — servers share a large memory pool rather than each holding their own DRAM.

nvmessdpcienandstoragesatanvme-of