Pidoku

The AI Data Center Network

Module 9 Lesson 9.d 50 min Difficulty 4/5

Prerequisites 7.d, 9.c, 14.a


Before you start: words you need#

WordPlain meaning
FabricThe whole set of switches and cables that joins a cluster’s machines, designed as one network.
Leaf / spineA two-layer switch design: servers plug into leaf switches; every leaf connects to every spine. A third layer is added for very large clusters.
Rail-optimisedWiring where GPU k of every server connects to the same leaf switch (“rail k”).
SuperNIC / DPUNVIDIA’s names for a NIC tuned for GPU traffic (ConnectX) and a NIC with its own CPU cores that runs storage, security and isolation (BlueField).
Transceiver / opticsThe module at each end of a fibre that turns electrical signals into light and back.
Co-packaged optics (CPO)Putting the optical engines on the switch package itself instead of in pluggable modules at the front panel.
Open standardA specification many vendors can implement, such as Ultra Ethernet or UALink, rather than one company’s design.

1. What is it?#

A large GPU cluster has four separate networks, each built for a different job:

  1. Scale-up: NVLink inside a server or an NVL72 rack. GPUs read and write each other’s memory at 0.45–1.8 TB/s each way (9.c).
  2. Scale-out (the “back end”): one 400 Gb/s–1.6 Tb/s NIC per GPU, wired into a fabric of leaf and spine switches, joining thousands of GPUs for training and large-scale serving.
  3. Front end: ordinary data-center Ethernet for storage, data loading, checkpoints and user traffic.
  4. Out-of-band management: a slow, separate network to each server’s baseboard controller, so a broken fabric can still be repaired.

Each step down this list is roughly ten times less bandwidth per GPU, and distributed training and serving are laid out to match. NVIDIA sells all four layers, which is a large part of its advantage; open standards (Ultra Ethernet, UALink, ESUN) are the industry’s response.

Facts checked on 12 November 2026.

THE FOUR NETWORKS OF A GPU CLUSTERrail-optimised training cluster · NVIDIA parts named · checked 16 Oct 2026Spine switchQuantum-X800 / Spectrum-XSpine switchQuantum-X800 / Spectrum-XSpine switchQuantum-X800 / Spectrum-XSpine switchQuantum-X800 / Spectrum-XLeaf · rail 0one per GPU indexLeaf · rail 1one per GPU indexLeaf · rail 2one per GPU indexLeaf · rail 3one per GPU indexNVLINK DOMAIN 0 (node or rack)NVLink switch fabricNIC800GGPU0NIC800GGPU1NIC800GGPU2NIC800GGPU3CPUhost / GraceBlueFieldDPU · 400GNVLINK DOMAIN 1 (node or rack)NVLink switch fabricNIC800GGPU0NIC800GGPU1NIC800GGPU2NIC800GGPU3CPUhost / GraceBlueFieldDPU · 400GNVLINK DOMAIN 2 (node or rack)NVLink switch fabricNIC800GGPU0NIC800GGPU1NIC800GGPU2NIC800GGPU3CPUhost / GraceBlueFieldDPU · 400GFront-end network · Ethernet · users, storage, checkpoints, data loadingParallel storageWEKA / VAST / DDN / LustreUsers and the internetAPIs, gatewaysOut-of-band managementBMCs · 1 GbE · its own network1234BANDWIDTH PER GPUNVLink 5 (scale-up)1,800 GB/sNVLink 4 (Hopper)900 GB/sPCIe Gen 5 x1664 GB/sScale-out NIC 800G100 GB/sFront-end, shared~12 GB/sEach step down the hierarchy isroughly 10x less bandwidth, soparallelism is laid out to match:tensor parallel inside NVLink,pipeline and data parallel acrossthe NICs.1Scale-upNVLink inside a node or NVL72rack. Memory semantics: GPUsload and store each other'sHBM.2Scale-outOne 400-800G NIC per GPU,wired by GPU index to its ownleaf: a rail.3Front-endOrdinary Ethernet via DPUs:data, checkpoints, users.4ManagementSeparate, so a broken fabriccan still be fixed.InfiniBand (Quantum) or Ethernet (Spectrum-X, or other vendors' switches with RoCE) both serve scale-out; ConnectX-9 at 1.6 Tb/s arrives with Rubin.
The four networks. On the right, bandwidth per GPU on each: the gap between NVLink and the NIC is the most important number in distributed AI.

2. Why does it matter?#

Because the network decides which jobs a cluster can run well:

  • Wide expert parallelism for large MoE models needs a big scale-up domain (7.d, 14.h).
  • Disaggregated serving moves gigabytes of KV cache per request over the scale-out fabric (9.e, 14.j).
  • Multi-node serving and every training job depend on collectives that run at the speed of the slowest link (9.f).
  • The network is commonly 10–20% of cluster cost, and its optics are a growing share of its power (7.l).

3. Simple analogy#

A city:

  • Scale-up is the inside of one office building: lifts and corridors, very fast, but only within the building.
  • Scale-out is the city’s motorway grid, with one on-ramp per office (one NIC per GPU) and lanes arranged so that offices doing the same job are one junction apart (rails).
  • Front end is the ordinary street network for deliveries and visitors.
  • Management is the emergency services’ radio: slow, but it works when the roads are jammed.

4. Tiny example#

Bandwidth per GPU, each way, on a Blackwell cluster:

NVLink 5 (inside the NVL72)        900 GB/s
800 Gb/s NIC (ConnectX-8)          100 GB/s     → 9x less
front-end Ethernet, shared         ~a few GB/s  → another ~20x less

A 2.6 GB KV cache crosses NVLink in about 3 ms and an 800G NIC in about 26 ms. Same data, a 9x difference, set by which network carries it.


5. Technical explanation#

NVLink’s defining property is memory semantics: a GPU issues loads and stores to another GPU’s HBM as if it were its own, with no network stack in between. That is what makes per-layer tensor parallelism and expert all-to-alls cheap enough to do inside every forward pass.

  • Today: NVLink 5 in GB200 and GB300 NVL72 racks; NVLink 6 at twice the bandwidth in Vera Rubin NVL72 (7.e).
  • Next: NVIDIA’s roadmap grows the domain with the Kyber rack in 2027 and moves NVLink switching onto co-packaged optics around the Feynman generation in 2028. Reports differ on the exact generation names; treat details as roadmap, not product (7.e).
  • NVLink Fusion licenses NVLink to other chip makers, so a custom CPU or accelerator can join an NVIDIA scale-up domain. Partners announced since May 2025 include Fujitsu and Qualcomm (CPUs), Intel (x86 CPUs), AWS (for Trainium4, 7.j), MediaTek, Marvell and Alchip (custom accelerators); in 2026 Marvell deepened its partnership, and further announcements (reported, for example, for d-Matrix’s inference chips) kept extending the list.
  • UALink is the open alternative, backed by AMD and others. UALink 1.0 was published in April 2025 and 2.0 in April 2026. As of November 2026 no vendor has confirmed volume shipments of native UALink switch chips; AMD’s first Helios racks carry UALink over Ethernet switch silicon in the meantime (7.h).
  • Ethernet for scale-up: the Open Compute Project’s ESUN 1.0 specification (early 2026) and Broadcom’s SUE define lossless, low-overhead Ethernet for GPU-to-GPU traffic inside a rack.

Scale-out: one NIC per GPU, in rails#

Each GPU gets its own NIC: ConnectX-7 at 400 Gb/s, ConnectX-8 at 800 Gb/s, ConnectX-9 at 1.6 Tb/s with Rubin (PCIe 6, 9.b). With GPUDirect RDMA the NIC reads and writes GPU memory directly; the CPU is not on the data path (9.c).

The wiring is rail-optimised: GPU 0 of every server connects to leaf switch 0 (“rail 0”), GPU 1 to rail 1, and so on. NCCL arranges its traffic so most of it flows between GPUs of the same index, which are then one switch hop apart (9.f). Leaves connect to spines in a non-blocking Clos (fat-tree) design: two tiers for a few thousand GPUs, three for tens of thousands.

Two fabric families compete for this job:

InfiniBand (NVIDIA Quantum-X800, XDR)RDMA Ethernet (NVIDIA Spectrum-X; Broadcom, AMD and others with Ultra Ethernet)
Heritagesupercomputing, lossless by designthe data center’s default network
Per port800 Gb/s (144 ports per Quantum-X800 switch)800 Gb/s today; 1.6 Tb/s arriving with 102.4 Tb/s switches such as Spectrum-6
Strengthsmature congestion control, in-network reduction (SHARP), low latencyone network technology everywhere, many vendors, an open standard
Needs for AIlittle tuningadaptive routing and congestion control built for RDMA; SuperNICs help

Ultra Ethernet (UEC) is the multi-vendor answer. The Ultra Ethernet Consortium published specification 1.0 in June 2025 and has issued corrective updates since (1.0.1, 1.0.2 and 1.0.3, the last in July 2026). It defines a new transport that sprays packets across many paths, tolerates out-of-order arrival and loss, and controls congestion without relying on a lossless network. AMD’s Pensando NICs are the most prominent UEC-ready parts. NVIDIA’s Spectrum-X takes the same ideas (adaptive routing, telemetry-driven congestion control) in its own switches and SuperNICs.

The trend is toward Ethernet for new hyperscale clusters; InfiniBand remains common in dedicated NVIDIA training clusters.

Front end and storage#

Data loading, checkpoints and user traffic go over a separate Ethernet network, often through a BlueField DPU (BlueField-4 with Rubin pairs a 64-core Grace CPU with a ConnectX-9, 7.e). It runs storage, security and tenant isolation off the host CPU. With GPUDirect Storage, a parallel file system (WEKA, VAST, DDN, Lustre) can move data straight into GPU memory (3.g, 8.c).

Optics: where the power goes next#

Every 800G link between racks needs a pluggable optical transceiver at each end, each drawing roughly 15 W, and a large cluster has hundreds of thousands of them.

  • Co-packaged optics put the optical engines on the switch package, cutting power per port and the number of parts that can fail. NVIDIA claims about 3.5x better power efficiency for its first CPO switches.
  • Status (November 2026): NVIDIA’s Quantum-X Photonics InfiniBand switches began shipping in early 2026, with CoreWeave, Lambda and TACC named as early customers; Spectrum-X Photonics Ethernet switches began shipping to selected partners in mid-2026, with volume ramping in the second half. These dates come from reporting rather than a single NVIDIA statement; check with your vendor.
  • Scale-across: Spectrum-XGS stretches one job across data centres kilometres apart, for training and for campuses that outgrow one building.

The ratio that shapes everything#

LinkBandwidth per GPU, each way
NVLink 6 (Rubin)1.8 TB/s
NVLink 5 (Blackwell)900 GB/s
NVLink 4 (Hopper)450 GB/s
1.6 Tb/s NIC (ConnectX-9)200 GB/s
800 Gb/s NIC (ConnectX-8)100 GB/s
400 Gb/s NIC (ConnectX-7)50 GB/s
PCIe 5 x16~50–64 GB/s

Tensor and expert parallelism live inside NVLink; pipeline and data parallelism, and KV transfer between pools, cross the NICs, because they send less, less often (14.a).


6. Under the hood#

Time one gradient all-reduce of a 70B-parameter model (140 GB in BF16) on one 8-GPU node, in an NVL72, and across 128 nodes using the standard hierarchical scheme: reduce inside each node over NVLink, then across nodes over the NICs, with all 8 rails working in parallel. The same arithmetic applies to copying new weights to an RL rollout fleet (8.a). The ring formula is derived in 9.f.

Go
// allreduce.go — why gradients are reduced inside NVLink first.
package main

import "fmt"

// ring all-reduce: each GPU sends and receives 2(n-1)/n of the data.
func ring(bytes, n, bwPerGPU float64) float64 { return 2 * (n - 1) / n * bytes / bwPerGPU }

func main() {
	const grads = 140e9 // 70B parameters × 2 bytes
	nvlink, nic := 900e9, 100e9

	fmt.Printf("8 GPUs, NVLink only:            %6.2f s\n", ring(grads, 8, nvlink))
	fmt.Printf("72 GPUs, one NVL72:             %6.2f s\n", ring(grads, 72, nvlink))
	fmt.Printf("1,024 GPUs, flat ring on NICs:  %6.2f s\n", ring(grads, 1024, nic))

	// hierarchical: reduce-scatter in the node, all-reduce 1/8 shards across nodes on
	// 8 rails at once, all-gather in the node.
	nodes := 128.0
	inNode := ring(grads, 8, nvlink)
	across := ring(grads/8, nodes, nic)
	fmt.Printf("1,024 GPUs, hierarchical:       %6.2f s  (%.2f s NVLink + %.2f s NICs)\n",
		inNode+across, inNode, across)
	fmt.Println("\nWith data parallelism this happens every step; overlap with the backward pass hides part of it.")
}

Output:

8 GPUs, NVLink only:              0.27 s
72 GPUs, one NVL72:               0.31 s
1,024 GPUs, flat ring on NICs:    2.80 s
1,024 GPUs, hierarchical:         0.62 s  (0.27 s NVLink + 0.35 s NICs)

With data parallelism this happens every step; overlap with the backward pass hides part of it.

How to read it:

  • The flat ring over NICs takes 2.8 s; the hierarchical version takes 0.62 s, about 4.5x faster, because most of the data never leaves NVLink.
  • Even then, the NIC half costs more than the NVLink half, although each NIC carries only an eighth of the data. That is the 9x bandwidth ratio showing through.
  • FSDP-style sharding and overlap with the backward pass hide much of this in practice, but the bandwidth ratio sets the floor.

7. Performance implications#

  • The scale-up edge is a 9–18x cliff. Jobs are laid out so the chatty parts never cross it.
  • Rails keep collectives one hop away. Breaking rail alignment (for example, by scheduling ranks on mismatched GPU indices) adds spine hops and congestion.
  • Congestion, not bandwidth, is the usual problem at scale. Many flows meeting at one switch port (incast) stall everyone; adaptive routing and good congestion control are what Spectrum-X and UEC sell.
  • In-network reduction (SHARP on InfiniBand and NVLink switches) halves the data some collectives move.

8. Production implications#

  • Buy the fabric with the GPUs. A cluster whose network is under-provisioned cannot be fixed later without rewiring.
  • Place jobs by topology. Keep a job’s nodes under the same leaves and its ranks on matching rails (21.e).
  • Keep the management network separate and reliable. It is how you fix everything else.
  • Monitor the fabric. Port errors, link flaps and congestion counters predict slow jobs before users notice (23.h).
  • Plan optics power. At 100,000 GPUs, transceivers alone are megawatts; CPO is arriving partly to cut that.

9. Common mistakes#

  1. Treating the cluster as one network. It is four, with very different bandwidths.
  2. Running tensor or expert parallelism across the scale-out fabric when a scale-up domain was available.
  3. Ignoring rails when placing ranks.
  4. Assuming Ethernet means TCP. AI Ethernet fabrics carry RDMA and need RDMA-grade congestion control.
  5. Planning on roadmap parts. UALink switches, 1.6T everywhere and optical NVLink are coming; buy for what ships.

10. Hands-on exercise#

  1. Run allreduce.go. Change the NIC to 1.6 Tb/s (200 GB/s, ConnectX-9). How much faster is the hierarchical all-reduce?
  2. Put 72 GPUs per node (NVL72 racks) instead of 8. Recompute the hierarchical time for 1,008 GPUs (14 racks).
  3. Change NVLink to 1.8 TB/s (Rubin) as well. Which half now dominates?
  4. On a multi-GPU machine, run nvidia-smi topo -m. Which NIC sits closest to each GPU?

11. Interview questions#

  1. Name the four networks in a GPU cluster and what each carries.
  2. What is rail-optimised wiring, and what does it save?
  3. Why is NVLink called a memory-semantic fabric, and why does that matter for tensor parallelism?
  4. Compare InfiniBand and RDMA Ethernet for an AI cluster in 2026.
  5. What problem does Ultra Ethernet’s transport solve that classic RoCE did not?
  6. What are co-packaged optics, and why are they arriving now?

12. Further reading#

Checked on 12 November 2026.

↑↓ navigate↵ openesc close

100% drag to pan · scroll or pinch to zoom · double-click to zoom in