NVLink and NVSwitch: scale-up GPU interconnect
Why GPUs inside a server need their own private highway, how NVSwitch makes eight (or 72) GPUs act as one, and the generation numbers to know.
- Identify high-speed data center network options and their use cases.
- Scale a GPU infrastructure for different use cases.
- Identify hardware requirements for specific AI training task use cases.
Without NVLink, GPUs in the same server talk over the PCIe bus, the same general-purpose lane used by disks and network cards. PCIe Gen5 x16 gives roughly 64 GB/s in each direction. For a training job that exchanges gigabytes of gradients every step, that is a bottleneck. NVLink is a dedicated GPU-to-GPU link with many times that bandwidth, and NVSwitch is the switch chip that connects many GPUs over NVLink at full speed.
01Scale-up versus scale-out
- Scale-up (NVLink, NVSwitch): make one node or rack behave like one giant GPU with shared, very fast memory access. Inside a DGX H100, eight GPUs form one NVLink domain.
- Scale-out (InfiniBand, Ethernet): connect many nodes over a network. Slower than NVLink, but it reaches thousands of GPUs.
Large training uses both: tensor and expert parallelism inside the fast NVLink domain, data parallelism across nodes over InfiniBand. NCCL picks the right path automatically.
02Forms of NVLink
- NVLink Bridge: a physical bridge connecting two PCIe GPU cards.
- Integrated NVLink: links routed on the server baseboard (HGX boards).
- NVSwitch: switch chips on the baseboard so all GPUs connect all-to-all (DGX A100 uses six, DGX H100 four of a newer generation).
- NVLink Switch System: NVLink extended beyond one server across a rack, as in GB200/GB300 NVL72, where 72 GPUs form a single NVLink domain.
03Generations
| 4th gen (Hopper) | 5th gen (Blackwell) | 6th gen (Vera Rubin) | |
|---|---|---|---|
| Bandwidth per GPU | 900 GB/s | 1,800 GB/s | 3,000 GB/s (preliminary) |
| Links per GPU | 18 | 18 | 36 |
| NVLink domain | 8 GPUs | 8 or 72 GPUs (NVL72) | 8 or 72 GPUs |
| Aggregate (largest domain) | 7.2 TB/s | 130 TB/s (NVL72) | 216 TB/s (NVL72, preliminary) |
Future-generation figures on NVIDIA’s page are marked preliminary and may change. What the exam wants is the order of magnitude: NVLink per-GPU bandwidth is several times PCIe, and each generation roughly doubles it.
04Extra tricks: SHARP and memory pooling
NVLink switches include SHARP engines that perform reductions and multicast inside the switch, speeding up collective operations. Because NVLink connects GPU memories directly, a GPU can also access a peer GPU’s memory, which helps when a model does not fit in one GPU. NVLink Fusion lets custom CPUs and accelerators join NVLink fabrics.
05When to use it, and when not
| Use NVLink/NVSwitch when | Not needed when |
|---|---|
| Multi-GPU training is limited by PCIe bandwidth | Single-GPU servers or workloads |
| GPUs exchange large amounts of data (tensor parallelism, large-model inference) | Independent jobs per GPU that rarely talk |
| A model must span several GPUs’ memory | Low-power, consumer or small edge deployments |
✦Key terms: flip the cards
- NVLink/NVSwitch = intra-node (and rack-scale) GPU interconnect; InfiniBand/Ethernet = inter-node.
- Hopper NVLink 900 GB/s per GPU vs PCIe Gen5 ~64 GB/s per direction.
- NVL72 = 72 GPUs in one NVLink domain.
- NVLink does not replace the cluster network; it does not connect separate DGX nodes (except rack-scale NVLink Switch systems).
- Fewer NVSwitch chips in DGX H100 than DGX A100 does not mean slower; it is a newer generation.
?Quick quiz
1. Which technology connects all 8 GPUs inside a DGX H100 at full bandwidth?
Why: NVSwitch provides all-to-all NVLink connectivity.
2. Per-GPU NVLink bandwidth on Hopper is about:
Why: Fourth-generation NVLink gives 900 GB/s per GPU.
3. A server with 4 GPUs is slow because GPUs exchange data over PCIe. Fix?
Why: NVLink removes the PCIe bottleneck for GPU-to-GPU traffic.
4. What is NVL72?
Why: GB200/GB300 NVL72 joins 72 GPUs with NVLink Switch.
Score: 0 / 4
This lesson explains the reading in plain language and adds the exam context around it. Read the original too: it is short, and seeing the vendor wording helps on exam day.