Skip to content

Why HPC Networking Is Different · Part 2 of 6

Act 1 — The mental model shift

Building the model…

Ring AllReduce across eight ranks, step by step. Brightness shows how many ranks have contributed to each chunk.

Starting from zero. If you have never worked on a network, here is the one-paragraph version of what one does. Computers exchange data as packets: small chunks, each with an address on the front, passed from switch to switch until they reach their destination. A switch has a limited amount of memory to hold packets that are waiting for a busy output; when that memory fills, an ordinary switch throws packets away, and the sending computer notices the gap and sends them again. That design has run the internet for forty years, and it is perfectly good for email, video and web pages. This chapter is about why it is not good enough for an AI model, and what has to replace it.

Two ways to stay lossless — InfiniBand withholds at the source with credits; Ethernet and RoCE let traffic flow and react to congestion with PFC and ECN

In enterprise networking, a 1ms latency spike is a footnote in a monitoring dashboard. In an AI training cluster running a large language model across 256 , that same 1ms spike causes every GPU in the job to sit idle — waiting for one straggler. The network is not just moving data. It is the synchronisation mechanism for a massively parallel computation.

Here is how the requirements compare side by side:

DimensionEnterprise networkingHPC / AI networking
Latency target1-10ms acceptableSub-2 microseconds required
Packet lossRare, recoverable via TCP retransmitZero tolerance — stalls entire job
BandwidthShared, oversubscribedDedicated, non-blocking
Congestion handlingQoS queuing and selective dropPrevented with lossless fabric
Switch rolePure forwarding planeActive compute participant (SHARP)
NIC roleCommodity, kernel-attachedRDMA co-processor, kernel-bypassed
DimensionLatency target
Enterprise networking1-10ms acceptable
HPC / AI networkingSub-2 microseconds required
DimensionPacket loss
Enterprise networkingRare, recoverable via TCP retransmit
HPC / AI networkingZero tolerance — stalls entire job
DimensionBandwidth
Enterprise networkingShared, oversubscribed
HPC / AI networkingDedicated, non-blocking
DimensionCongestion handling
Enterprise networkingQoS queuing and selective drop
HPC / AI networkingPrevented with lossless fabric
DimensionSwitch role
Enterprise networkingPure forwarding plane
HPC / AI networkingActive compute participant (SHARP)
DimensionNIC role
Enterprise networkingCommodity, kernel-attached
HPC / AI networkingRDMA co-processor, kernel-bypassed

The right-hand column is not aspirational — it is a hard requirement imposed by the way AI training works mathematically. The next two sections explain the math.

Two numbers in that table deserve a closer look. "Sub-2 microseconds" means the time for a packet to cross the from one GPU's to another's, through two or three switches, is about two millionths of a second. Light travels about 600 metres in that time, so the physical distance across a data hall is already a measurable fraction of the budget. And "active compute participant (SHARP)" refers to NVIDIA's Scalable Hierarchical Aggregation and Reduction Protocol: switches that can add up the numbers passing through them, so part of the arithmetic happens inside the network instead of on the GPUs. Chapter 4 and Chapter 12 return to it; here it is enough to know that the switches in this world do more than forward.


Read aloudPage 2