NVLink on its own connects only pairs of GPUs: there are not enough dedicated lanes for every pair, so traffic between distant cards takes a detour — through intermediate cards or the slower PCIe. NVSwitch chips turn separate links into a fully connected fabric: any accelerator in the node exchanges data with any card at the same NVLink speed.
How it works
NVSwitch is a dedicated switch chip with NVLink ports: it aggregates many lanes and connects every input to every output, forming a single network with the GPUs. Third-generation and newer switches carry SHARP engines — reductions of collective operations, such as all-reduce, are computed right in the network without spending GPU cores; the NCCL library uses this automatically.
The first system built on NVSwitch was the DGX-2 in 2018: 16 GPUs and 12 chips with a 2.4 TB/s bisection bandwidth. Since then, the speed per card has grown from 300 GB/s to terabytes:
| System | NVLink generation | Speed per GPU | Topology |
|---|---|---|---|
| DGX-2 (2018) | NVLink 2 | 300 GB/s | 16 GPUs, 12 NVSwitch chips |
| DGX H100 | NVLink 4 | 900 GB/s | 8 GPUs, 4 NVSwitch chips |
| GB200 NVL72 | NVLink 5 | 1.8 TB/s | 72 GPUs per rack, 130 TB/s in total |
What it is used for
- Multi-GPU training: tensor parallelism and collective exchanges require a constant flow of activations and gradients between cards.
- Direct memory access: any GPU in the node reaches another GPU’s memory at NVLink speed, bypassing the CPU and PCIe.
- Rack-scale expansion: trays with NVSwitch chips link several servers into a single NVLink domain — for example, 72 GPUs in an NVL72 rack.
NVSwitch switches sit inside DGX and HGX nodes and in SuperPOD systems. Beyond the NVLink domain — between racks and clusters — traffic travels over InfiniBand or Ethernet.
Sources
the term is written from these pages- NVIDIA — NVLink and NVLink Switchnvidia.com/en-us/data-center/nvlink/(opens in a new tab)
- NVIDIA Docs — DGX H100 User Guidedocs.nvidia.com/dgx/dgxh100-user-guide/introduction-to-dgxh100.html(opens in a new tab)
- NVIDIA Docs — NCCL, переменная NCCL_NVLS_ENABLEdocs.nvidia.com/deeplearning/nccl/user-guide/docs/env.html(opens in a new tab)
Verified 9 Nov