Glossary/ Memory & Interconnect

PCIe Lanes

The number of parallel data channels on a PCI Express bus connecting GPUs and CPUs, determining bandwidth for inter-device communication.

PCIe lanes are the individual data links in a PCI Express (Peripheral Component Interconnect Express) slot that connect a GPU, SSD, or network card to the CPU chipset. Each lane is a serial point-to-point connection that can transfer data in both directions simultaneously. Common configurations: x16 (16 lanes, standard for GPUs), x8, and x4. PCIe Gen4 provides ~2 GB/s per lane (32 GB/s for x16), and Gen5 doubles that to ~4 GB/s per lane (64 GB/s for x16). In multi-GPU servers, each GPU gets a certain number of lanes; if all x16 slots are populated, the CPU's total lane count (often 48 or 80 on AMD/Xeon) is split, leading to x8 or even x4 per GPU. Fewer lanes reduce bandwidth for inter-GPU communication via NVLink or for CPU-to-GPU transfers. For LLM inference and training, PCIe bandwidth matters for initial model loading, data sharding, and checkpoint saving. However, during intensive compute, GPUs rarely saturate PCIe because they primarily work from HBM. But in cases where model shards must be swapped in/out of HBM (e.g., offloading to system RAM), slow PCIe becomes a bottleneck. For AI builders, ensure each GPU has at least x16 PCIe Gen4 lanes for production servers, and prefer NVLink for inter-GPU communication to avoid PCIe congestion. PCIe topology also affects latency for gradient sync during training-using NVLink reduces reliance on PCIe. Tools like nvidia-smi report PCIe link speed and width. When building custom hardware, check CPU and chipset lane allocations to avoid oversubscribing.

Common misconception

More PCIe lanes always improve GPU performance-most inference workloads are memory-bound on HBM, not PCIe-bound.

Canonical reference
https://www.pcisig.com/specifications/pciexpress/

Related terms

Concepts you'll usually encounter alongside this one.

Mentioned in tutorials

Hands-on guides that put this concept to work.

VRAM Calculator

See how this term affects your memory budget.

MyAI Bench

Real numbers, real chips, every workload.

Buying guides

Picks for builders, by use case.

Stay Ahead of the AI Curve

Get weekly AI hardware news, benchmark updates, and deals in your inbox. Founding-subscriber list, be one of the first.

✓ No spam✓ Weekly digest✓ Unsubscribe anytime