Zenaique

NVLink vs PCIe: match each interconnect to its bandwidth tier in a modern multi-GPU server.

Match pairs·Easy·4.0 · 0·~2 min·Asked atAutodeskOracleZed·Relevant atNVIDIA
Attempt it

Drag each answer to line up with its matching prompt

PCIe Gen5 x16

Workload that mostly only needs PCIe for streaming weights in and tokens out.

NVLink 4 (H100 SXM)

GPU to GPU interconnect at roughly 900 GB/s aggregate per card.

Tensor parallelism all-reduce

Standard CPU to GPU bus at roughly 64 GB/s per direction (~128 GB/s bidirectional).

Single GPU inference

Cross-GPU traffic that only scales well when GPUs are NVLinked, not PCIe bridged.

TL;DR

NVLink is the fast GPU-to-GPU fabric (H100 SXM ~900 GB/s, B200 ~1.8 TB/s); PCIe is the slower CPU-to-GPU bus (Gen5 x16 ~64 GB/s per direction).

Memory aid
Sign in to see the mnemonic that makes this stick.
Easy to grasp

Imagine a kitchen with several chefs. Each chef has a private station, and they all need ingredients from the pantry. The hallway between the pantry and the stations is the regular bus that everyone uses. Now imagine the chefs sometimes need to pass ingredients directly to each other to finish a dish together. If the chefs are connected by a tiny door between stations, ingredients fly across in seconds. If they have to walk all the way back through the pantry hallway to hand each other things, the dish takes ten times longer. NVLink is the tiny door between GPU stations. PCIe is the hallway. Workloads that need GPU-to-GPU chatter cook fast on NVLink and slowly on PCIe.

Concept explanation~2 min read

Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.

Multi-GPU inference servers have two completely different bandwidth concerns, and most performance bugs at this layer come from confusing them. HBM memory bandwidth is how fast each GPU can read its own weights, measured in TB/s. Interconnect bandwidth is how fast chips talk to each other, measured in GB/s for PCIe and TB/s for NVLink. The two numbers cap different workloads, and picking the wrong topology for the workload silently destroys the throughput you thought you were buying.

This deep dive walks through what PCIe and NVLink each physically are, the bandwidth numbers worth memorizing for the GPUs people actually deploy, why tensor parallelism needs NVLink-class fabric while single-GPU inference is fine on PCIe, and how multi-node clusters layer InfiniBand on top of all of this. By the end you should be able to look at any proposed multi-GPU inference setup and predict whether the interconnect will hold up under the workload's communication pattern.

PCIe: the universal CPU/GPU bus

PCIe (Peripheral Component Interconnect Express) is the standardized bus every modern server uses to connect the CPU to peripherals: GPUs, network cards, NVMe SSDs, accelerators of all kinds. It is point to point, full-duplex, and has gone through six generations roughly doubling bandwidth at each step.

The practical numbers at x16 (the width that GPUs use) per direction:

  • PCIe Gen3: ~16 GB/s, old; legacy systems
  • PCIe Gen4: ~32 GB/s, A100-era servers
  • PCIe Gen5: ~64 GB/s, H100-era servers, current standard in 2026
  • PCIe Gen6: ~128 GB/s, B200 and Grace Blackwell servers rolling out

These are theoretical maxima. Real workloads typically achieve 80-90 percent of these numbers with mature drivers. The link is full-duplex, so doubling the per-direction number gives the bidirectional bandwidth, but most workloads have asymmetric traffic and the per-direction number is what binds them.

What does PCIe carry in a typical inference deployment? Weight loading once at startup. Input prompts arriving from a network card and being copied to GPU memory. Output tokens flowing back from GPU memory to the network card. KV cache offload to host memory in some long-context configurations. Storage I/O for things like LoRA adapter swapping. For single-GPU inference workloads, this is all the inter-chip traffic there is, and PCIe Gen5 is comfortably sufficient.

NVLink: the GPU fabric
Why tensor parallelism needs NVLink
Multi-node: layering InfiniBand on NVLink
Sign in to unlock the full deep dive.

Situations where this technique stops working.

Sign in to see when this approach fails.

2–4 min · Everything important, quickly.

Sign in to see the quick scan of the deep dive.
PropertyPCIe Gen5 x16NVLink 4 (H100)NVLink 5 (B200)
Bandwidth per direction~64 GB/s~450 GB/s per GPU pair~900 GB/s per GPU pair
Aggregate per GPU~64 GB/s (one link)~900 GB/s (multiple links)~1.8 TB/s (multiple links)
ConnectsCPU to GPU, peripheralsGPU to GPUGPU to GPU
Available onAll GPUsSXM-form H100 onlyB200 SXM/HGX
Tensor parallelismBottleneckFits the workloadComfortable

Real products, models, and research that use this idea.

  • NVIDIA DGX H100 systems use NVLink 4 plus NVSwitch internally for the 8-GPU fabric and 400 Gb/s InfiniBand between nodes.
  • Lambda Cloud, CoreWeave, and other GPU providers explicitly differentiate SXM (NVLinked) and PCIe variants of H100 at different price points.
Sign in to see more production examples.

What an interviewer would ask next. Try answering before peeking at the approach.

QWhy exactly does tensor parallelism need so much more bandwidth than data parallelism?
A

Tensor parallelism splits each layer's weights across GPUs, so each forward pass requires an all-reduce of partial activations between GPUs. The all-reduce volume per token scales with hidden dim and batch size, and it happens once per layer per token. Data parallelism only synchronizes gradients once per backward pass during training, never during inference.

2 more follow-ups an interviewer would ask next. Sign in to reveal them.

Red flags & common mistakes

The phrases that signal junior thinking. Click to expand.

Most common mistake

Confusing memory bandwidth (HBM to compute units, in TB/s on one GPU) with interconnect bandwidth (between GPUs or between CPU and GPU). They cap completely different workloads.

Sign in to see all red flags and common mistakes.

60 second bullets to scan on the way to the call.

  • Roughly which bus connects CPU to GPU vs GPU to GPU

  • Bandwidth numbers for PCIe Gen4, Gen5, and Gen6 at x16

Sign in to unlock the revision sheet.

Primary sources. Browse if you want the original framing.

Similar questions

Same topic, related formats. Practice these next.

4 curated
Next question
What is the KV cache in transformer inference?
Flashcard·Easy