Gen 5 doubles Gen 4's rate to 32 GT/s while keeping NRZ signaling and 128b/130b encoding. Nothing about the packets changes; everything about the channel does. At 16 GHz Nyquist the loss budget grows to about 36 dB, the reference clock jitter limit tightens to 0.15 ps, receivers lean on DFE hard enough that an optional precoder was added to stop error bursts, and retimers become a normal part of a server board. This page follows a CPU root port and a GPU on an x16 CEM slot: the signals, the board and retimer budget, link training, and a 1 MiB host-to-GPU copy, which shows why reads need many requests in flight and why the two copy directions do not run at the same speed.
Specifications: PCI Express Base Specification 5.0 [1], CEM 5.0 [2]. Background on the layers, TLP format and lane striping: the PCIe Gen 4 primer.
New to PCIe? Start with PCI Express: how it works and why it exists.
| Gen 4 | Gen 5 | Gen 6 | |
|---|---|---|---|
| Transfer rate per lane | 16 GT/s | 32 GT/s | 64 GT/s |
| Signaling | NRZ | NRZ | PAM4 |
| Encoding | 128b/130b | 128b/130b (+ optional precoding) | FLIT mode (1b/1b) + FEC |
| Nyquist frequency | 8 GHz | 16 GHz | 16 GHz |
| UI | 62.5 ps | 31.25 ps | 31.25 ps (per PAM4 symbol) |
| x16 per direction (after encoding) | 31.5 GB/s | 63.0 GB/s | ≈ 118 GB/s (FLIT payload) |
| Channel loss budget (approx.) | ≈ 28 dB @ 8 GHz | ≈ 36 dB @ 16 GHz | ≈ 32 dB @ 16 GHz |
| Refclk jitter (common clock) | 0.5 ps RMS | 0.15 ps RMS | 0.1 ps RMS |
The layer split is the same as Gen 4: the GPU driver and CUDA-style runtime above, PCIe's Transaction, Data Link and Physical layers below. What changes at Gen 5 is almost entirely inside L1, plus one L4 effect: at twice the rate, a reader needs twice as many requests in flight to fill the link. Click a layer for its role here. Every section carries the same layer tags.
| Signal | Direction | Electrical | Function | What to get right at Gen 5 |
|---|---|---|---|---|
| TX0±…TX15± | CPU → GPU | NRZ, 32 GT/s, AC-coupled, 3-tap FIR, optional precoding | Downstream lanes | 85 Ω, ≈ 36 dB budget, back-drilled vias, 176–265 nF caps at the transmitter |
| RX0±…RX15± | GPU → CPU | CTLE + multi-tap DFE + CDR | Upstream lanes | Separate from TX (NEXT); the connector pin field is the crosstalk hot spot |
| REFCLK± | Host → GPU | 100 MHz HCSL / LP-HCSL, SSC | Common reference | ≤ 0.15 ps RMS jitter after the PCIe filter, including clock buffer additive jitter |
| PERST# | Host → GPU | 3.3 V | Fundamental reset | ≥ 100 ms after power good, ≥ 100 µs after REFCLK stable; retimers need their own reset sequencing |
| PRSNT1#, PRSNT2# | Slot ↔ card | Short loop on the card | Presence detect (and card length: x1/x4/x8/x16) | Hot-plug and slot power control watch this loop |
| WAKE# | GPU → host | Open-drain | Wake from D3cold | Pull-up on 3.3 Vaux |
| SMBCLK / SMBDAT | Bidirectional | SMBus | Management, FRU, thermal | Address conflicts across slots; isolate when the card is unpowered |
| 12 V, 3.3 V, 3.3 Vaux | Host → GPU | 12 V 5.5 A (66 W), 3.3 V 3 A (9.9 W), 3.3 Vaux 375 mA | Slot power (75 W total) | Many GND pins also form the return path of the lanes |
| 12V-2x6 (aux) | PSU → GPU | 12 V, 6 power pairs + 4 sense pins | Up to 600 W | Sense pins advertise allowed power; contact quality matters at ~ 50 A |
Gen 5 keeps NRZ (two levels, one bit per 31.25 ps UI) and the Gen 3 128b/130b scheme: a 2-bit sync header and 128 scrambled bits per block, with framing tokens (STP, SDP, END, EDB) marking packets. The new piece is precoding.
At 32 GT/s the receiver's DFE carries a large first tap. When the DFE makes one wrong decision it subtracts the wrong ISI from the next bit, which can flip that one too: one error becomes a burst. With precoding the transmitter sends yn = xn ⊕ yn−1 and the receiver recovers xn = yn ⊕ yn−1. A burst of wrong y values then turns into just two wrong x values, at its start and end, which LCRC and replay handle easily. A receiver asks for precoding during training; it is per lane and per direction.
| Where | Signaling | Encoding / coding | Note |
|---|---|---|---|
| Data lanes, 32 GT/s | NRZ (PAM2), differential, CML/SST driver, 3-tap FIR (P0–P10) | 128b/130b, 23-bit LFSR scrambler, optional precoding | 1.5 % coding overhead, same as Gen 3–4 |
| Training | Same lanes, lower rates first | 8b/10b TS1/TS2 at 2.5/5 GT/s, then 128b/130b ordered sets; modified TS for alternate protocols | Alternate protocol negotiation is how CXL and others ride the PCIe PHY |
| Reference clock | 100 MHz HCSL, SSC | — | 0.15 ps RMS limit |
| Sideband | 3.3 V LVCMOS, open-drain | Static; SMBus | Unchanged from Gen 4 |
Bytes are dealt round-robin across lanes. On x16 a 24-byte doorbell occupies only one or two byte times per lane, and the next TLP can start on the following lane. Pick a TLP to see how x4 and x16 compare.
The transmitter presets are the same P0–P10 set as Gen 3 and Gen 4, but at 32 GT/s the channel attenuates the Nyquist component by up to ~36 dB, against ~28 dB at 8 GHz for Gen 4. The transmitter FIR can only do a few dB of shaping; the rest is the receiver's CTLE (often 15–20 dB of peaking) and a DFE with many taps. The simulation applies only the TX preset, so it shows how quickly the eye closes without receiver equalization.
The link still starts at 2.5 GT/s and steps up through Recovery. Gen 5 adds the 32 GT/s equalization stage, lets both ports skip intermediate stages, and carries precoding requests and alternate-protocol information in the training sets. Click a stage.
The application copies a 1 MiB pinned host buffer into GPU memory (host-to-device), then copies a result back (device-to-host). In both directions the GPU's copy engine is the bus master. Host-to-device is a read by the GPU, so it needs requests and completions; device-to-host is a posted write. Max read request size (MRRS) is 512 B, max payload size (MPS) 256 B, and the root complex returns completions in 64-byte pieces.
A read stream is limited by whichever is smaller: the link's completion bandwidth, or the data that can be in flight (tags × MRRS) divided by the round-trip read latency. At Gen 5 x16, one microsecond of latency already needs about 63 KB outstanding, more than 120 requests of 512 B: that is why 10-bit tags (up to 768 outstanding) became necessary.
| Symptom | Likely cause | Check / fix |
|---|---|---|
| Trains at 16 GT/s, not 32 | 32 GT/s equalization failed: loss, stubs, connector crosstalk, refclk jitter | EQ status per lane, lane margining, refclk jitter measurement, retimer |
| Bursts of correctable errors, replay rollover | DFE error propagation without precoding; marginal lanes | Check whether precoding was negotiated; per-lane error counters |
| Card not seen behind a retimer | Retimer held in reset, no REFCLK, wrong firmware, SMBus misconfiguration | Retimer status registers; reset and clock sequencing |
| Host-to-device copy much slower than device-to-host | Read path: small completions, too few tags, high memory latency, MRRS too small | Enable 10-bit tags and larger MRRS; check root complex completion size |
| Link width x8 instead of x16 | Bifurcation setting, a dead lane group, slot wiring | BIOS bifurcation, negotiated width register, lane continuity |
| GPU drops off under load | 12V-2x6 contact or power-sense fault, VRM transient, link instability with heat | Connector seating and sense pins; log AER and power events together |
With NRZ one bit is one symbol, so 32 GT/s means a 31.25 ps UI and a 16 GHz Nyquist frequency. 128b/130b already had only 1.5 % overhead, so there was nothing to gain from new coding; the cost of the doubling falls entirely on the channel.
DFE error propagation: one wrong decision corrupts the next. With 1 ⊕ D precoding, a burst of channel errors decodes to just two bit errors. The cost is that a single isolated channel error also becomes two bit errors, which is why it is optional and requested per lane.
50 GB/s × 1.5 µs = 75 KB in flight, ÷ 512 B ≈ 147 outstanding requests: beyond what 32 tags allow and comfortable with 8-bit or 10-bit tags.
Device-to-host is posted writes with 256-byte payloads (24 bytes overhead, ~91 % efficient) and no round trip. Host-to-device is reads: latency-bound unless enough requests are outstanding, and the data returns as 64-byte completions with 20 bytes overhead each (~76 % efficient).
A redriver amplifies everything, including crosstalk and reflections, so the total channel still has to meet one budget. A retimer recovers and retransmits clean data, giving each segment its own budget.