2.8 Data center networking protocols

NCA-AIIO · AI Infrastructure (40% of the exam) · Official objective: “Identify and describe DC networking protocols and key concepts”

How data gets from one machine's memory, or one GPU's memory, into another's without slowing down: RDMA, GPUDirect RDMA, RoCE, and the InfiniBand Subnet Manager.

Where this fits

Step 8 of 22 · Part 3: Connecting machines · Exam objective 2.8

In the big picture this is stage 3, the network moves data between GPUs. It is step 2 of 3 in Part 3, Connecting machines.

You should already know:

Up next: 2.10 DPUs in the data center: a DPU is a chip that moves network and security work off the main CPU.

Why this exists

GPUs in one job keep sending data to GPUs in other machines. If the CPU has to copy every piece of that data on its way in and out of memory, it becomes a middleman and adds copies, delay and CPU load. NVIDIA's documentation describes the fix as removing extra copies and reducing CPU overhead and latency. That fix is called RDMA.

Everyday picture (our analogy). Picture two offices swapping paper files. Without RDMA, every file goes to the front desk, where a clerk copies it and carries it to the right desk. With RDMA, the courier walks straight to the right desk and the clerk keeps working. GPUDirect RDMA is the courier who can reach the desk inside the GPU's own office. (This picture is our analogy, not NVIDIA's wording.)

Words you will meet

RDMA
remote direct memory access: a network adapter moves data straight into another machine's memory, without the CPU copying it.
GPUDirect RDMA
the same idea, but the memory being read or written is a GPU's memory.
InfiniBand
a high-performance, low-latency, RDMA-capable network used between GPU servers and storage.
RoCE
RDMA over Converged Ethernet: RDMA carried over ordinary Ethernet instead of InfiniBand.
Fabric
the network that connects the servers: the switches, cables and adapters together.
Subnet Manager
the program that configures an InfiniBand fabric. Here SM means Subnet Manager, not the GPU's streaming multiprocessor.
PCIe
PCI Express, the standard link inside a server that connects the CPU to GPUs, network adapters and storage.

Key points

1. The core idea: skip the middleman (RDMA)

Start here. Everything else in this guide is a variation on this one idea.

2. Reaching the GPU's own memory (GPUDirect RDMA)

Ordinary RDMA delivers data into the CPU's memory. GPUs keep their data in separate memory, so this section covers the version that reaches GPU memory directly, and its limits.

3. Road A: RDMA on InfiniBand

On InfiniBand, two practical details come up: a manager program has to be running on the network, and ordinary IP software can still be used.

4. Road B: RDMA on Ethernet (RoCE)

Ethernet is the other network option from 2.9 High-speed network options. RoCE carries RDMA over it, and it works best when the network does not drop packets.

5. How much bandwidth is there? Oversubscription

The last idea is about capacity rather than protocol.

In one minute

Try it

Sample question

What is RDMA, and why do AI fabrics rely on it?

Show the answer

Answer: Remote direct memory access. It lets devices read and write memory directly, cutting copies, CPU overhead and latency.

RDMA (remote direct memory access) lets a network adapter move data straight into another machine's memory without the CPU copying it. NVIDIA describes InfiniBand as RDMA-capable. In DGX SuperPOD, storage uses RDMA over InfiniBand to maximize performance and minimize CPU overhead.

What NVIDIA says (2)

“InfiniBand is a high-performance, low latency, RDMA capable networking technology”

— DGX SuperPOD H100 Reference Architecture: Components

“Storage is provided over InfiniBand and leverages RDMA to provide maximum performance and minimize CPU overhead.”

— DGX SuperPOD H100 Reference Architecture: Components

Practice 2.8 (14 questions) Full AI Infrastructure guide

← 2.9 High-speed network options · 2.10 DPUs in the data center →