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.
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:
| Dimension | Enterprise networking | HPC / AI networking |
|---|---|---|
| Latency target | 1-10ms acceptable | Sub-2 microseconds required |
| Packet loss | Rare, recoverable via TCP retransmit | Zero tolerance — stalls entire job |
| Bandwidth | Shared, oversubscribed | Dedicated, non-blocking |
| Congestion handling | QoS queuing and selective drop | Prevented with lossless fabric |
| Switch role | Pure forwarding plane | Active compute participant (SHARP) |
| NIC role | Commodity, kernel-attached | RDMA 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.