Curriculum / Part 2 · Flash and NVMe deep dive
Lesson 9

Form factors and PCIe

U.2, E1.S and E3.S; PCIe lane bandwidth from Gen4 to Gen6; and the basics of drive qualification: firmware, thermals and latency tails.

⏱ 35 min5-question quizLab 2.2

The simple version

A PCIe lane is a lane on a highway. Each new PCIe generation roughly doubles the speed limit. An NVMe drive usually gets four lanes. A drive can only go as fast as its lanes allow, and if it gets too hot it has to slow down, just like a car with an overheating engine.

PCIe bandwidth

GenTransfer rate≈ per lane, each direction≈ x4 drive
Gen38 GT/s~1 GB/s~4 GB/s
Gen416 GT/s~2 GB/s~8 GB/s
Gen532 GT/s~4 GB/s~16 GB/s
Gen664 GT/s (PAM4, FLIT mode)~8 GB/s~32 GB/s

These are approximate link ceilings before protocol overhead; real drives deliver less. A drive will also drop to a lower speed or width if the slot, riser or cable can't do better, so check the negotiated link:

$ sudo lspci -vv -s <bus:dev.fn> | grep -E 'LnkCap|LnkSta'

If LnkSta shows a lower speed or width than LnkCap, the link trained down.

Form factors

Form factorWhat it isWhere you see it
U.2 / U.32.5-inch drive with a PCIe connectorLong-time standard for front-loading servers
E1.SEDSFF short "ruler"Dense 1U servers
E3.SEDSFF, wider; supports higher power and capacityNewer PCIe Gen5/Gen6 server designs

EDSFF form factors were designed for better airflow, hot-plug and higher power envelopes than 2.5-inch drives.

Thermal throttling

SSDs throttle when they cross temperature thresholds. The NVMe health log reports it:

$ sudo nvme smart-log /dev/nvme3

Look at temperature, Warning Temperature Time, Critical Composite Temperature Time and the Thermal Management T1/T2 Trans Count and Total Time counters (in -o json output they appear as warning_temp_time, critical_comp_time, thm_temp1_trans_count and so on). Rising counters on one drive and not its neighbours usually point to airflow: a blanking panel missing, a blocked slot or a failed fan.

Drive qualification basics

Qualifying a drive for a platform goes far beyond "it reaches its rated speed":

  • Firmware: pin a tested version and track vendor release notes.
  • Thermals: sustained load at the platform's worst-case inlet temperature.
  • Latency tails: p99/p99.9 under mixed and steady-state load, not just peak throughput.
  • Link and power: correct PCIe speed and width in every slot; behaviour across power states and hot-plug.
  • Endurance: rating matched to the tier's write profile (Lesson 6).

Tools

lspci -vv
LnkCap vs LnkSta show capable vs negotiated PCIe speed and width.
nvme smart-log
Temperatures and thermal-management counters.
nvme fw-log
Firmware slots and active version.

Quiz

Lab

Lab 2.2 · One drive with terrible p99

A training job's checkpoint restores are sometimes slow on gpu-a. Each of its four NVMe drives serves part of the data, and the slowest one sets the pace.

Start lab 2.2 →

Try it now in the simulator (opens with the command ready; press Enter):

$ nvme smart-log /dev/nvme3 | grep -iE 'temperature|Thermal'