NVLink vs PCIe: match each interconnect to its bandwidth tier in a modern multi-GPU server.
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
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).
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.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
3 min: PCIe vs NVLink role + per-generation bandwidth numbers + tensor-parallelism all-reduce as the canonical NVLink-bound workload + NVSwitch fabric inside DGX + why PCIe-form-factor GPUs are unsuitable for tensor parallelism.
| Property | PCIe Gen5 x16 | NVLink 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) |
| Connects | CPU to GPU, peripherals | GPU to GPU | GPU to GPU |
| Available on | All GPUs | SXM-form H100 only | B200 SXM/HGX |
| Tensor parallelism | Bottleneck | Fits the workload | Comfortable |
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
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.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.