🏗️
Domain 2 · AI Infrastructure · 40% of the exam

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.

Lesson 18 of 29~13 min read4 quiz questions5 key terms
Exam objectives this lesson covers
  • 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.

Over PCIeWith NVSwitchGPU0GPU1GPU2GPU3PCIe switch / CPU~64 GB/s per direction (Gen5 x16)GPU0GPU1GPU2GPU3GPU4GPU5GPU6GPU7NVSwitch fabric900 GB/s per GPU, all-to-all
Fig 1. Left: GPUs share a PCIe path through a switch or CPU. Right: NVSwitch gives every GPU a full-bandwidth path to every other GPU at once.

01Scale-up versus scale-out

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

03Generations

4th gen (Hopper)5th gen (Blackwell)6th gen (Vera Rubin)
Bandwidth per GPU900 GB/s1,800 GB/s3,000 GB/s (preliminary)
Links per GPU181836
NVLink domain8 GPUs8 or 72 GPUs (NVL72)8 or 72 GPUs
Aggregate (largest domain)7.2 TB/s130 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 whenNot needed when
Multi-GPU training is limited by PCIe bandwidthSingle-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’ memoryLow-power, consumer or small edge deployments
NVLink is a sky bridge between two towers: you walk straight across instead of going down to the street (PCIe) and back up. NVSwitch is a building where every floor has a sky bridge to every other floor.

✦Key terms: flip the cards

What the exam looks for
  • 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.
Common traps
  • 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

Original readingNVIDIA NVLink and NVLink Switch ↗

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.

All lessons →
↑