SATA Express
SATA Express is a SATA 3.2 section defining connectors that carry either SATA or up to two PCIe lanes, so one port takes a SATA drive or a PCIe drive.
The host connector supports up to two SATA ports or up to two PCIe lanes, and a signal driven by the drive tells the host which protocol to use. The connectors are modified SATA connectors, mechanically compatible with SATA, and a PCIe device is a drive in an HDD-type form factor such as 2.5-inch that may use AHCI or NVMe. [2][3] The PCIe mode has no SATA link or transport layer, and PCIe was chosen because moving SATA to 12 Gb/s would need new silicon, protocol training and different cabling. [3]
SATA 6 Gb/s is 0.6 GB/s after 8b/10b encoding, PCIe 2.0 at 5 Gb/s per lane is 0.5 GB/s and PCIe 3.0 at 8 Gb/s per lane is 1 GB/s after 128b/130b encoding, so two lanes give up to 2 GB/s. [2] Arithmetic: 8 x 128/130 = 7.88 Gb/s per lane, so two lanes give about 1.97 GB/s.
AHCI has one port with a command list of up to 32 commands and needs six register accesses for a non-queued command and nine for a queued one, whereas NVMe needs two and supports up to 64K queues of up to 64K entries. [4] The NVMe base specification gives up to 65,535 I/O queues with 65,535 outstanding commands each [5], and the Linux AHCI code sets 32 commands per port. [6]
Relations
- related
- Serial ATA (SATA), PCIe storage attachment, M.2, AHCI, PCIe lanes (storage), PATA, NVMe, U.2
Limitations
- The specification does not define the register interface, so a drive must pick AHCI, with SATA software compatibility but not tuned for SSDs, or NVMe, with high performance but no SATA software compatibility. [2][4]
Citations
- SATA-IO FAQ on SATA Express (SATA-IO, 2013)
- Why SATA Express? Wassenberg, SATA-IO
- AHCI and NVMe as Interfaces for SATA Express Devices. Landsman and Walker, SATA-IO, 2013-11-15
- NVM Express Base Specification, Revision 2.0d (NVM Express, Inc.)
- Linux kernel: drivers/ata/ahci.h and include/linux/libata.h
Further reading
Sources & caveats
- The SATA 3.2 specification text, where the connector definition lives, was not obtained; the consortium FAQ says it is publicly available but no copy was retrieved.
- Everything about SATA Express itself comes from consortium documents whose authors work at controller, flash and server makers; only the NVMe specification and the Linux code come from outside the consortium.
- The AHCI-and-NVMe paper also makes driver-availability and performance statements that date from when NVMe support was still evolving; they are not used here.
- No source covers adoption, product availability or the form factors that followed.
- Arithmetic: 6 x 8/10 = 4.8 Gb/s = 0.6 GB/s; 2 x 8 x 128/130 = 15.75 Gb/s, about 1.97 GB/s, which the FAQ rounds to 2 GB/s.