The problem: when the road matters more than the vehicles
Picture a factory where a thousand workers operate in parallel. Each computes a piece of the problem, then must pass its result to the others before going further. If the door lets only ten people through at a time, the rest wait outside. Even with very fast workers, the whole factory slows down, because communication becomes the limiting factor.
That is exactly what happens when training a large model across hundreds of cards. If the network cannot carry the gradients (the corrections each card computes at every training step) fast enough, very expensive machines spend their time waiting instead of computing.
This is the page where the units trap does the most damage, because it compares technologies that do not use the same convention:
- NVLink and PCIe are quoted in bytes per second (
GB/s); - InfiniBand and Ethernet are quoted in bits per second (
Gbit/s).
A factor of 8 separates them. Setting "NVLink 900" beside "InfiniBand 400" and concluding the ratio is 2 is the field's most frequent error: the real ratio is 18, because 400 Gbit/s is 50 GB/s.
The full rule, with three verified reference points, is set out once for the whole course in Bits and bytes. This page always states the unit and the counting convention.
Three layers address the problem, from the most local to the most global: NVLink connects cards within a server, NVSwitch organises those links, and InfiniBand or RoCE connect servers to each other.
How much data actually moves?
Before comparing pipes, let's establish what flows through them. The answer is more elegant than you might expect.
The operation to perform at every step is the all-reduce: each card holds its own version of the gradients, and all must leave with the sum. The algorithm used is the ring: cards are arranged in a circle and each talks only to its neighbour.

The ring is traversed in two phases, as the image shows. First reduce-scatter: the gradients are cut into slices, and over steps each slice travels round accumulating, so that each card ends up holding one fully summed slice. Then all-gather: those finished slices make another lap of steps so everyone has everything.
At each step a card sends one slice, that is bytes if is the total gradient size. The volume sent per card is therefore:
Where is the gradient size in bytes, the number of cards, and the result the number of bytes each card must send at every step.
Look at what the fraction becomes as grows: for 8 cards it is 0.875, for 1,000 cards 0.999. It tends to 1 and never exceeds it.
In other words, the volume sent per card tends to and barely depends on the number of cards at all. Doubling the fleet does not double the traffic per card: it stays at twice the gradient size, however many participants there are.
For a 7-billion-parameter model, whose BF16 gradients weigh GB, each card therefore emits roughly 28 GB per training step, on 8 cards as on 800.
This result is what makes distributed training possible at all. What does degrade with card count is not the volume but the number of steps () hence sensitivity to latency, and the chance that one slow card holds everyone up.
NVLink: the highway inside a server
The idea
Eight cards in one server could communicate over the PCIe bus, the standard channel linking a machine's components. But PCIe 4.0 with 16 lanes tops out at about 32 GB/s per direction, that is 64 GB/s counting both. For cards moving tens of gigabytes per step, that is a garden hose.
NVLink is NVIDIA's answer: a direct card-to-card link that bypasses the processor. Data goes from one card's memory to another's, and a card can read its neighbour's memory as if it were its own.

The generations
The entire column below is in gigabytes per second, both directions summed, NVIDIA's convention. Stating it prevents the error of mixing per-direction and total figures in one table.
| Generation | Year | Card | Links | Total rate, both directions |
|---|---|---|---|---|
| NVLink 1 | 2016 | P100 | 4 | 160 GB/s |
| NVLink 2 | 2017 | V100 | 6 | 300 GB/s |
| NVLink 3 | 2020 | A100 | 12 | 600 GB/s |
| NVLink 4 | 2022 | H100 | 18 | 900 GB/s |
| NVLink 5 | 2024 | B200 | 18 | 1,800 GB/s |
Take the H100: 18 links for 900 GB/s in total. That is 50 GB/s per link, both directions summed, hence 25 GB/s per link per direction.
The classic error is to find "25 GB/s per link" in some documentation, multiply by 18, get 450, and conclude the 900 figure is inflated. It is not: 25 is a per-direction rate, and NVIDIA quotes the two-direction total. .
Remember the general rule: when two sources give figures in a ratio of 2 for the same hardware, it is almost never an error but a difference of convention.
Compared with PCIe counted the same way (64 GB/s both directions) NVLink 4 therefore offers about 14 times the bandwidth, and NVLink 5 about 28 times. That progression is what made splitting a model across cards practical.
When one layer is split across 8 cards (tensor parallelism, described in Tensor parallelism) the cards must exchange intermediate results several times per layer, hence hundreds of times per forward pass.
It is by far the most communication-hungry form of parallelism. Hence a design rule you meet everywhere: tensor parallelism is deployed only inside a server, where NVLink is available. Stretching it across a between-machine network eight times slower destroys the gain. That rule is the starting point for the composition of parallelisms treated in Advanced parallelism.
NVSwitch: the exchange
The cabling problem
If 8 cards each want a direct link to every other, you need one link per pair, that is links. At 16 cards, 120. The number of cables grows as the square of the card count: unmanageable.
NVSwitch is the answer: a central exchange through which everything passes. Each card plugs into the switch, which routes the messages. The number of connections then grows linearly.
An 8-card H100 server contains 4 NVSwitch chips working in parallel, which is what delivers the 900 GB/s per card and lets all 8 communicate simultaneously without getting in each other's way.
The rule "NVLink inside a server, network between servers" was long absolute. It is no longer quite true: racks such as the GB200 NVL72, described in NVIDIA H100, B200, GB200, extend the NVLink domain to 72 cards through dedicated switch trays.
The point is exactly that of the previous paragraph: enlarge the domain in which tensor parallelism stays practical. But mind the figure you then read: the "130 TB/s" quoted for such a rack is an aggregate across 72 cards, not a card-to-card rate, which remains 1.8 TB/s.
Computing inside the network
With Blackwell, the switch no longer merely routes: it computes.
The idea is called SHARP (Scalable Hierarchical Aggregation and Reduction Protocol). During an all-reduce, the additions are performed by the switch, as the data passes through, instead of bringing values back to the cards to be summed there.

The gain is twofold: cards no longer spend time on those additions, and above all the volume in flight drops, since the switch emits one sum where it received several values. The size of the gain depends entirely on message size and topology; the percentages quoted here and there apply to one specific measurement, not in general.
InfiniBand: connecting servers
Beyond the server, a network is needed. Ordinary Ethernet is too slow and, more importantly, too erratic in latency. InfiniBand is a technology designed for heavy exchange between compute machines.
RDMA, the central mechanism
RDMA (Remote Direct Memory Access) lets one machine write directly into another's memory, without the remote machine's processor or operating system being involved.
Without RDMA, data crosses the processor, system memory and the operating system's network stack, with a copy at each stage. With RDMA, the network card deposits the data at the agreed address. It is the difference between a parcel handed over in person and one routed through five sorting offices.
The result is a latency below one microsecond. For scale: a blink of the eye lasts around 100,000 microseconds.
The generations
This column is in gigabits per second, the networking world's convention. The conversion to bytes is given alongside, because that is what makes comparison with NVLink possible.
| Generation | Advertised rate | Converted to bytes |
|---|---|---|
| HDR | 200 Gbit/s | 25 GB/s |
| NDR | 400 Gbit/s | 50 GB/s |
| XDR | 800 Gbit/s | 100 GB/s |
The middle row is the reference point to keep, and it carries the whole argument of distributed training: one InfiniBand NDR link is 50 GB/s, against 900 GB/s for NVLink 4. A ratio of 18, not of 2 as the naive comparison of the numbers 400 and 900 suggests.
That factor of 18 is the reason the whole hierarchy of parallelisms exists: put the most intense exchanges inside the server, and send across the network only what can afford it.
GPUDirect RDMA
Without this technology, data travelling from a card to another card on a different server takes this path:
graphics card β PCIe β processor β system memory β network card β network β and the reverse.
With GPUDirect RDMA, the network card reads directly from the graphics card's memory, over the PCIe bus they share:
graphics card β PCIe β network card β network β network card β PCIe β graphics card
The processor and system memory drop out of the path. You save several copies and, above all, eliminate trips through the operating system that cost far more in latency than in bandwidth. Note the link used is still PCIe: NVLink connects graphics cards to each other, not a graphics card to a network card.
RoCE: RDMA over Ethernet
RoCE (RDMA over Converged Ethernet, pronounced "rocky") takes the RDMA mechanism and runs it on standard Ethernet hardware, with no specialised InfiniBand switches.
The trade-off rests on one precise technical point, worth understanding because it explains everything else. InfiniBand manages congestion by credits: a sender transmits only if it holds a permit corresponding to free space at the receiver. A frame is therefore never dropped for lack of room. Ethernet, designed to tolerate loss, discards excess packets and relies on retransmission, acceptable for the web, catastrophic for an all-reduce where every card is waiting on the straggler.
RoCE therefore reintroduces flow-control mechanisms onto Ethernet. They work, but they require careful switch tuning, and their quality depends on the hardware used.
| Aspect | InfiniBand | RoCE |
|---|---|---|
| Latency | under 1 Β΅s | around 1 to 2 Β΅s |
| Congestion control | native, credit-based | to be configured on the switches |
| Hardware | specialised | standard Ethernet |
| Cost | high | moderate |
| Very large fleets | the proven choice | needs more tuning |
In practice: for a few hundred cards, RoCE does the job at lower cost. Beyond that, InfiniBand keeps the edge thanks to its native congestion control, when thousands of cards transmit at once, congestion is certain, and how it is handled decides real performance.
Networking is a significant share of a compute fleet's budget, though no general percentage means much: it depends on the ratio between card prices and switch prices, both highly volatile. It is, however, the line item that budget projections most often forget.
Why this matters
The network is invisible and yet it decides a fleet's real utilization, the MFU introduced in NVIDIA H100, B200, GB200. A well-cabled fleet and a badly cabled one, with identical cards, do not deliver the same service, and the gap is paid in billed compute time.
In summary: NVLink connects a server's cards at 900 GB/s or more. NVSwitch organises those links and can now compute in transit. InfiniBand or RoCE connect servers at roughly 50 GB/s. It is the factor of 18 between those two worlds (not the figures taken in isolation) that dictates the entire architecture of a distributed training run.
1. A quote lists 'NVLink 4: 900' next to 'InfiniBand NDR: 400'. What gap actually separates the two links?
2. A training run goes from 8 to 800 cards, same model. What happens to the volume of gradients each card must send per step?
3. A document quotes 25 GB/s per NVLink 4 link, and the H100 has 18 of them. That gives 450 GB/s, far from the advertised 900. Who is wrong?
4. Why is tensor parallelism almost always deployed inside a single server?
5. What really separates InfiniBand from RoCE when thousands of cards transmit at once?