Given that over achieves similar bandwidth numbers in benchmarks, why does still dominate large-scale AI clusters?
Three reasons:
1. by design, not by configuration InfiniBand uses credit-based flow control built into the protocol. Packets are only sent when the receiver has confirmed it has space. Drops are architecturally impossible. RoCEv2 achieves losslessness through (Priority Flow Control) and — mechanisms that work well but require careful configuration and can fail in complex ways (PFC deadlocks, ECN misconfiguration). InfiniBand simply cannot lose packets.
2. SHARP — in-network compute InfiniBand switches can participate in the computation itself. Rather than all travelling to and back, the switch performs the summation as data flows through it. SHARP (Scalable Hierarchical Aggregation and Reduction Protocol) can reduce AllReduce communication time by up to 50% at scale. Ethernet switches do not do this — but there is an important nuance: the inside each B300 provide in-network reduction ( SHARP) for intra-node AllReduce. The InfiniBand SHARP advantage described here applies to inter-node AllReduce across the external , which the NVLink switches cannot reach. For training runs that span multiple nodes — which is most large-scale training — IB SHARP remains a meaningful advantage.
3. The InfiniBand has a centralised subnet manager that knows the complete , computes routes for the whole fabric. Switches can also route around a failed link on their own (NVIDIA calls this self-healing, or SHIELD) far faster than the subnet manager could recompute. Ethernet relies on distributed protocols such as BGP, which converge in anything from under a second (with BFD and tuned timers) to many seconds. For a training job that cannot tolerate even brief interruptions, the InfiniBand model is superior.
4. Adaptive routing vs ECMP
Standard Ethernet routes entire flows per-path using ECMP hash. InfiniBand makes routing decisions per-packet, measuring actual congestion on each output port and forwarding each packet on whichever path is least loaded at that instant. When multiple large AllReduce operations run simultaneously — which is constant in a training cluster — InfiniBand distributes them evenly across all available paths. ECMP creates hot links and idle links simultaneously.
This load balancing gap was one of the primary reasons Ethernet was inadequate for AI training at scale. NVIDIA's Spectrum-X closes most of this gap with per-packet adaptive routing on the switch, while the SuperNIC places out-of-order packets directly into GPU memory (Chapter 6). Ethernet switches without it still have the ECMP problem.
The counterarguments for RoCEv2 are equally real: lower cost, operational familiarity, existing tooling, multi-tenancy support. There is no universal answer — which is why you need to understand both, which is what this course teaches.