What is PCI Express?

A high-speed serial expansion interface connecting the CPU with GPUs, SSDs, network cards and more, also written PCIe. Lanes are bundled for bandwidth, and speed roughly doubles each generation.

Field: I/O Interfaces & Buses

Japanese name: PCI Express

Lanes, links and topology

A PCI Express lane is one differential pair for transmitting plus one for receiving, four wires that carry data in both directions at once. Lanes are bundled into links of x1, x4, x8 or x16, with data striped across them so bandwidth scales with lane count. Unlike the old parallel PCI bus, where devices shared one bus and contended for it, PCIe is a tree of point-to-point links: the root complex beside the CPU and memory connects through switches to endpoints, and each link has its bandwidth to itself.

How to calculate PCIe bandwidth

Bandwidth is the per-lane signaling rate times the coding efficiency times the lane count. Generations 1 and 2 used 8b/10b encoding, so a 5 GT/s Gen 2 lane carries 4 Gb/s, or 500 MB/s per direction. From Gen 3 through Gen 5, 128b/130b encoding with scrambling raised efficiency to about 98.5 percent, so an 8 GT/s Gen 3 x16 link gives about 15.8 GB/s per direction. Signaling rates have roughly doubled each generation, from 8 to 16, 32 and 64 GT/s for Gen 3 through Gen 6. Gen 7 runs at 128 GT/s. Packet headers make real throughput somewhat lower.

The physical layer

Each lane is driven by a SerDes (serializer/deserializer) that turns wide on-chip buses into a single fast bit stream, while the receiver recovers the clock from the data itself, so transitions must occur often enough. To reach 64 GT/s without raising the symbol rate, Gen 6 switched from two-level NRZ to four-level PAM4, sending two bits per symbol. Squeezing four levels into the same swing leaves about one third of the spacing, roughly 9.5 dB less noise margin, so Gen 6 adds lightweight forward error correction (FEC). At start-up, link training settles on the widest lane count and fastest generation both ends support.

Where you will meet it

Graphics cards typically use x16 slots, NVMe SSDs x4 and network cards x1 to x16. NVMe is designed for flash over PCIe with many parallel command queues, and NVMe SSDs on Gen 4 x4 reach about 7 GB/s, far beyond SATA's ceiling of roughly 600 MB/s. For discrete GPUs, data must be copied across PCIe into GPU memory before computing, and PCIe bandwidth is more than ten times lower than the GPU's own memory bandwidth, so offloading pays only when much computation is done per transferred byte or data stays on the GPU.

Try it: questions about PCI Express

Which is closest to the efficiency of the 128b/130b encoding used in PCI Express 3.0 to 5.0?

  1. AAbout 80%
  2. BAbout 50%
  3. CAbout 98.5%
Show answer and explanation

Answer: C. About 98.5%

128b/130b encoding sends 128 data bits with a 2-bit header as 130 bits, so efficiency is128130≈98.5 %128/130 ≈ 98.5%, a big reduction in waste compared with 8b/10b's 80%. Transitions are ensured by scrambling the data (XOR with a fixed pseudo-random sequence) to mix 0s and 1s. This is why PCI Express 3.0 nearly doubled effective throughput while raising the signaling rate only from 5 to 8 GT/s.

FAQ

Can an x4 PCIe card work in an x16 slot?

Yes. Link training negotiates the largest lane count and speed both sides support, so an x4 card in an x16 slot simply runs with four lanes. The same negotiation lets newer and older generations interoperate at the lower common speed.

What is the difference between GT/s and GB/s in PCIe?

GT/s is the raw signaling rate per lane, counting encoding overhead, while GB/s is usable data bandwidth. Convert by multiplying by the coding efficiency (0.8 for 8b/10b, about 0.985 for 128b/130b) and the lane count, then dividing by 8.

Why did PCIe 6.0 switch to PAM4?

Doubling the bit rate with NRZ would require doubling the symbol rate, and channel loss grows sharply with frequency. PAM4 sends two bits per symbol at the same symbol rate as Gen 5, at the cost of smaller noise margin, which FEC compensates for.

Questions that mention PCI Express (29)

PCI Express appears in 31 practice questions across 5 topics, including I/O Interfaces & Buses, GPU Programming, SRAM and flash memory.

  1. Which describes a "lane" in PCI Express?
  2. What is closest to the effective one-direction bandwidth of a PCI Express 3.0 x16 link (8 GT/s per lane, 128b/130b encoding)?
  3. For PCI Express generations 3 through 6, how does the per-lane signaling rate change with each generation?
  4. What happens when an x4 PCI Express SSD is plugged into a full-length x16 slot on a motherboard (assuming the slot is wired for at least x4)?
  5. Which statement about the structure of PCI Express is correct?
  6. How does communication in PCI Express work?
  7. What does the PCI Express data link layer do about bit errors during transmission?
  8. How are the registers and memory of a PCI Express device made accessible to the CPU?
  9. What is a characteristic of MSI (message-signaled interrupts) used in PCI Express?
  10. Which describes hot plugging, supported by USB and some PCI Express setups?
  11. What is the purpose of spread-spectrum clocking (SSC), used in PCI Express and elsewhere?
  12. What does it mean that a PCI Express lane is full duplex?
  13. Which describes the credit-based flow control used in PCI Express?
  14. In AI systems with many GPUs, why are dedicated high-speed GPU-to-GPU links (such as NVIDIA NVLink) used in addition to PCI Express?
  15. In PCI Express, sending many packets that each write 64 bytes yields effective bandwidth well below the theoretical figure. What is the main reason?

Books on I/O Interfaces & Buses Ad

As an Amazon Associate I earn from qualifying purchases.

Comparisons that include this term

This page was drafted with AI and fact-checked by a separate AI review before publication. Our Editorial policy explains how we write and check content. If you spot an error, please tell us on our Contact page.

Back to the glossary