2.9 High-speed network options
NVLink and NVLink Switch inside a system; InfiniBand and Spectrum-X Ethernet between systems.
Key points
NVLink is NVIDIA's direct GPU-to-GPU interconnect. It scales multi-GPU input and output within a server. NVIDIA lists 1.5x higher bandwidth per GPU at 900 GBps with fourth-generation NVLink on DGX H100. Newer generations are faster, so always check which generation a question means.
What NVIDIA says (2)
“is a direct GPU-to-GPU interconnect that scales multi-GPU input/output (IO) in the server.”
“1.5X higher bandwidth per GPU @ 900 GBps with fourth generation of NVIDIA NVLink.”
Point-to-point links only connect pairs. A switch lets every GPU reach every other GPU. NVIDIA says NVLink Switch chips connect multiple NVLinks to provide all-to-all GPU communication at full NVLink speed. NVLink Switches also include SHARP engines for in-network reductions.
What NVIDIA says (3)
“which connects multiple NVLinks to provide all-to-all GPU communication at the total NVLink speed.”
“The NVIDIA NVLink Switch chips connect multiple NVLinks to provide all-to-all GPU communication at full NVLink speed across the entire rack.”
“To enable high-speed, collective operations, each NVLink Switch has engines for NVIDIA Scalable Hierarchical Aggregation and Reduction Protocol (SHARP)™ for in-network reductions and multicast acceleration.”
Multi-tenant means many customers share the same infrastructure. 'Noise' is one tenant's traffic slowing another. NVIDIA says Spectrum-X Ethernet is designed for cloud providers and large enterprises running multi-tenant AI at hyperscale. It uses telemetry-based congestion control for noise isolation, and SuperNICs provide RoCE (RDMA over Converged Ethernet) between GPU servers.
What NVIDIA says (4)
“NVIDIA Spectrum-X is an AI-optimized Ethernet networking platform that combines NVIDIA Spectrum switches with the BlueField-3 SuperNIC”
“NVIDIA Spectrum-X Ethernet is designed for cloud service providers and large enterprises running multi-tenant AI workloads at hyperscale.”
“Spectrum-X Ethernet uses advanced telemetry-based congestion control to provide noise isolation between tenants.”
“the BlueField-3 SuperNIC provides best-in-class remote direct-memory access over converged Ethernet (RoCE) network connectivity between GPU servers”
SHARP (Scalable Hierarchical Aggregation and Reduction Protocol) lets switches do part of a collective operation, so less data crosses the network. Adaptive routing sends traffic around busy links. NVIDIA highlights SHARP, quality-of-service features including congestion control and adaptive routing, and self-healing networking for Quantum InfiniBand.
What NVIDIA says (4)
“technology improves the performance of MPI and Machine Learning collective operation, by offloading collective operations from CPUs and GPUs to the network”
“This innovative approach decreases the amount of data traversing the network as aggregation nodes are reached”
“NVIDIA Quantum InfiniBand is the only high-performance interconnect solution with proven quality-of-service capabilities, including advanced congestion control and adaptive routing, resulting in unmatched network efficiency.”
“NVIDIA Quantum InfiniBand with self-healing network capabilities overcomes link failures”
NVSwitch chips connect many NVLinks so every GPU can talk to every other GPU at full NVLink speed. Older A100 systems could join two baseboards over NVLink. The Fabric Manager guide says the H100 generation has one baseboard with eight GPUs and four NVSwitches, and does not support connecting two baseboards with NVLink. To go beyond eight GPUs, you scale out over the compute network, or use a multi-node NVLink system.
What NVIDIA says (2)
“This server variant consists of one GPU baseboard with eight NVIDIA H100 GPUs and four NVSwitches.”
“This generation does not support the ability to connect two GPU baseboard using NVLink.”
NVSwitch-based systems need software to configure the switch fabric and watch for errors. The Fabric Manager guide says the NVSwitch core software stack is an NVSwitch kernel driver and a privileged process called Fabric Manager, with in-band and out-of-band monitoring for errors and status.
What NVIDIA says (2)
“The core software stack for NVSwitch management consists of an NVSwitch kernel driver and a privileged process called NVIDIA Fabric Manager (FM).”
“The software stack also provides in-band and out-of-band monitoring solutions to report NVSwitch and GPU errors and status information.”
With fourth-generation NVSwitches, NVIDIA unified the switch architecture across NVLink, InfiniBand and Ethernet. The Fabric Manager guide says these NVSwitches share a common IP block with InfiniBand switches, mainly for the link layer and control plane. As a result, a new control-plane entity, the NVLink Subnet Manager (NVLSM), comes with Fabric Manager.
What NVIDIA says (2)
“This architectural coherence ensures that fourth generation NVSwitches share a common IP block with our InfiniBand (IB) switches, with the main focus on the link layer and control plane aspects.”
“As a result of this integration, a new control plane entity called NVLink Subnet Manager (NVLSM) is introduced with FM.”
GB200 is a rack-scale design. The reference architecture says each rack has 18 compute trays and 9 NVLink switch trays. Each switch tray has two NVLink switch chips, and together they fully connect all 72 GPUs in the rack. That makes the whole rack one NVLink domain.
What NVIDIA says (2)
“Each DGX GB200 rack is built with 18 compute trays and 9 NVLink switch trays.”
“Each NVLink switch tray is equipped with 2 NVLink switch chips and are responsible for the full-mesh connectivity between all 72 GPUs within the same DGX GB200 rack.”
In an NVLink domain that spans several compute trays, GPUs on different nodes can map each other's memory. The MNNVL user guide says IMEX is the secure service that sets up those mappings, and that it exchanges the mapping information over TCP/IP on the data or management Ethernet network.
What NVIDIA says (2)
“NVIDIA Internode Memory Exchange (IMEX) is a secure service facilitating the mapping of GPU memory over NVLink between the GPUs in an NVLink domain.”
“IMEX provides inter-GPU memory mapping information over TCP/IP on the data or management Ethernet network.”
Standard Ethernet often pins each flow to one path, so a few large AI flows can collide on the same link. NVIDIA describes Spectrum-X adaptive routing as the switch and SuperNIC working together to route traffic dynamically, giving higher effective bandwidth and resiliency. SuperNICs are the network adapters in the GPU servers that provide RoCE connectivity.
What NVIDIA says (2)
“Adaptive routing is a feature where the Spectrum-X Ethernet switch and SuperNIC work in tight coordination to dynamically route traffic, enabling the highest effective bandwidth and network resiliency for AI fabrics.”
“Designed for network-intensive, massively parallel computations, NVIDIA SuperNICs provide high-bandwidth RDMA over Converged Ethernet (RoCE) network connectivity between GPU servers, optimizing peak AI workload efficiency.”
InfiniBand normally connects servers inside a data center. NVIDIA's InfiniBand page says MetroX long-haul systems extend native InfiniBand up to 40 km, for example between data centers or to remote storage for high availability and disaster recovery.
What NVIDIA says (1)
“They can extend the reach of InfiniBand up to 40 kilometers, enabling native InfiniBand connectivity between remote data centers or between data center and remote storage infrastructures for high availability and disaster recovery.”
A topology is how switches and nodes are wired together. AI clusters usually use a fat tree (leaf and spine), but some HPC systems use others. NVIDIA's InfiniBand page says Quantum InfiniBand supports any topology, including Fat Tree, Hypercubes, multi-dimensional Torus and Dragonfly+, with centralized management.
What NVIDIA says (1)
“NVIDIA Quantum InfiniBand offers centralized management and supports any topology, including Fat Tree, Hypercubes, multi-dimensional Torus, and Dragonfly+.”
In a reduction, many GPUs send values that must be added together. Doing the addition inside the switch means less data crosses the links. NVIDIA says each NVLink Switch has SHARP engines for in-network reductions and multicast acceleration, which speeds up collectives such as all-reduce.
What NVIDIA says (1)
“To enable high-speed, collective operations, each NVLink Switch has engines for NVIDIA Scalable Hierarchical Aggregation and Reduction Protocol (SHARP)”
Key terms
- RDMA over Converged Ethernet: RDMA carried over Ethernet networks instead of InfiniBand.
- InfiniBand: A high-performance, low-latency, RDMA-capable network used to connect GPU servers and storage.
- SHARP: Switch-based in-network computing that performs collective operations so less data crosses the network.
- NVLink: NVIDIA's direct GPU-to-GPU interconnect inside a server.
- NVLink Switch: A switch chip that connects many NVLinks so all GPUs can talk to each other at full NVLink speed.
- Spectrum-X Ethernet: NVIDIA's AI-optimized Ethernet platform of switches and SuperNICs.
Try it
Sample question
What is NVLink, and how fast is it on a DGX H100?
Show the answer
Answer: A direct GPU-to-GPU interconnect inside a server. Fourth-generation NVLink on H100 gives 900 GB/s of bandwidth per GPU.
NVLink is NVIDIA's direct GPU-to-GPU interconnect. It scales multi-GPU input and output within a server. NVIDIA lists 1.5x higher bandwidth per GPU at 900 GBps with fourth-generation NVLink on DGX H100. Newer generations are faster, so always check which generation a question means.
What NVIDIA says (2)
“is a direct GPU-to-GPU interconnect that scales multi-GPU input/output (IO) in the server.”
“1.5X higher bandwidth per GPU @ 900 GBps with fourth generation of NVIDIA NVLink.”
Practice 2.9 (13 questions) Full AI Infrastructure guide
← 2.8 Data center networking protocols · 2.10 DPUs in the data center →