Bookmarks

NVSwitch

An NVIDIA switch that connects the GPUs of a server or rack with NVLink links into a fully connected fabric: every card is linked to every other at full speed.

Also: NV Switch, NVLink Switch, NVLink switch

checked 9 Nov

All terms

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:

SystemNVLink generationSpeed per GPUTopology
DGX-2 (2018)NVLink 2300 GB/s16 GPUs, 12 NVSwitch chips
DGX H100NVLink 4900 GB/s8 GPUs, 4 NVSwitch chips
GB200 NVL72NVLink 51.8 TB/s72 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

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • NVLink

    NVLink is the link itself between two chips, while NVSwitch is the switch that combines many such links into a fully connected fabric.

  • IBInfiniBand

    InfiniBand connects cluster nodes across racks, while NVSwitch works inside a node and within the rack’s NVLink domain.

In depth in the references

where the topic is covered in detail