Skip to main content
Infrastructure Pillar 01

Fabric
Architecture.

Deconstructing RDMA, Backend-Fabrics, and the Engineering of LLM Training Networks

Published: February 12, 2026
Last Updated: March 7, 2026
48 min read
Verified by Engineering
AI Networking Infrastructure: The GPU-Centric Fabric
Protocol
InfiniBand / RoCEv2
Fabric Speed
800G OSFP
Topology
Non-Blocking Fat-Tree
Oversubscription
1:1 Ratio

The AI Revolution is a Network Revolution

When we talk about Artificial Intelligence, we focus on GPUs (Nvidia H100s, B200s). But a single GPU is useless for training a Large Language Model (LLM). Training requires *thousands* of GPUs to act as a single, unified computer. The "Glue" that makes this possible is the **Backend Network Fabric**.

In AI networking, standard enterprise rules don't apply. We don't care about "Reliability through Retransmission" (TCP); we care about "Zero-Packet-Loss" and "Nanosecond Latency." If a single packet is dropped in an AI cluster, the entire training job stops for milliseconds—costing thousands of dollars in wasted compute time.

AI Fabric Architecture

Data Flow Model

AI FABRIC ARCHITECTURE

Simulating High-Performance Backend Interconnects

H100 Node 01
CPU_IDLE
VRAM
KERNEL_BYPASS: OK
800 Gbps RDMA FABRIC
H100 Node 02
CPU_IDLE
VRAM
Dynamic Latency
0.8µs
JITTER_LOW
Fabric Status
CONVERGED
RDMA EngineActive (v2)
Flow ControlPFC/ECN Capable

"The transition from lossy to lossless networking is the single most expensive and critical step in AI infra design."

1. RDMA: Direct Memory Access

Standard networking (TCP/IP) is too slow for AI. The CPU has to spend too much time "thinking" about headers. RDMA (Remote Direct Memory Access) allows GPU A in Rack 1 to read data directly from the VRAM of GPU B in Rack 50 without involving the CPUs of either server.

Zero-Copy

Data doesn't need to be copied into multiple buffers, reducing latency and CPU cycles.

Kernel Bypass

The application talks directly to the Network Card (NIC), skipping the OS overhead.

2. The Two Contenders: InfiniBand vs. RoCE v2

InfiniBand

InfiniBand is a dedicated networking technology designed specifically for HPC. It is natively "Lossless"—the hardware itself ensures that no packet is ever dropped due to congestion.

Engineering Profile
  • Lowest Tail Latency
  • Highest Efficiency
  • Proprietary Ecosystem

RoCE v2

RoCE v2 wraps RDMA inside standard UDP/IP/Ethernet packets. This allows it to run on standard Ethernet hardware from any major vendor.

Engineering Profile
  • Multi-Vendor Silicon
  • Complex PFC/ECN Tuning
  • Cost-Effective Scale

3. Topology: Non-Blocking Fat-Trees

Standard networks use "Oversubscription" (assuming not everyone talks at once). AI assumes **everyone is talking at once, at full speed**. We use Clos Topologies (Fat-Trees) with a 1:1 oversubscription ratio.

Architect's Insight

This means every GPU has an unobstructed "Clear Path" to every other GPU at 400Gbps or 800Gbps. This requires a massive number of high-radix switches and a "Forest" of fiber optic cables.

The Future: 800G and Beyond

As LLMs grow from 175B parameters to 10T+, the network bandwidth must double every 18 months. We are already seeing the deployment of 800G OSFP optics and the rise of **Optical Circuit Switching (OCS)**, where mirrors literally reflect laser beams to change network paths in real-time.

Conclusion: The Network is the Computer

We have entered the era where the network is no longer a utility; it is a core component of the compute engine. The engineers who can bridge the gap between "Distributed Systems" and "High-Speed Optics" are the ones who will build the infrastructure that powers the next generation of intelligence.

06

Flowlet Switching Granularity Tradeoffs

Flowlet switching is the predominant mechanism for load-balancing RDMA traffic across multi-path fabrics without requiring per-packet reordering buffers. A flowlet is a burst of packets from a single TCP or RDMA flow separated by an idle gap longer than a configurable threshold. When the gap exceeds this threshold, the switch may rehash the flowlet to a different path. The gap threshold is the critical tuning parameter and its optimal value depends on the round-trip time of the fabric.

In 800G AI fabrics with 280 ns per-hop switch latency and a 3-tier topology, the one-way latency between any two GPUs is approximately 1.4 μs (5 hops). The total round-trip time including NIC processing is roughly 5 μs. The flowlet gap must be set above this RTT to prevent the switch from rehashing a flowlet before the original path's packets have cleared the fabric. If the gap is set too low (e.g., 1 μs), the switch rehashes mid-transmission, causing packets from the same RDMA message to arrive on different destination ports. If the destination NIC does not support out-of-order reception — and most 2025-era ConnectX-7 NICs do not — this triggers a Go-Back-N retransmission, collapsing throughput by 60-80%. The safe lower bound for the gap threshold is 3× the fabric RTT, or 15 μs. However, setting the gap too high (above 100 μs) prevents the system from reacting to congestion within the same RDMA message.

The 2026 standard, as deployed in NVIDIA Spectrum-4 switches, uses adaptive flowlet gap tuning. Each switch port monitors the inter-arrival time of packets per flow using hardware timestamping. When congestion builds and queue depths exceed 50% of buffer capacity, the switch dynamically lowers the flowlet gap from 100 μs to 10 μs, forcing more aggressive rebalancing. When congestion subsides, the gap relaxes to prevent excessive out-of-order delivery. This adaptive scheme achieves 95% fabric utilization in production clusters, compared to 72% with a static 50 μs gap and 62% with pure ECMP hashing.

ECN-Integrated Credit-Based Flow Control for Converged Fabrics

The convergence of InfiniBand's credit-based flow control with Ethernet's ECN marking represents the frontier of AI fabric design. Pure credit-based flow control (CBFC), as used in InfiniBand, prevents packet loss by ensuring the sender never transmits more data than the receiver's buffer can hold. ECN marking, as used in RoCE v2, allows the network itself to signal impending congestion before buffers overflow. The Ultra Ethernet Consortium (UEC) is pioneering a hybrid architecture that combines both mechanisms to achieve deterministic losslessness with feedback-driven rate adaptation.

In a UEC converged fabric, each switch port maintains a per-flow credit counter, similar to InfiniBand's VL-based credits. When a flow's credit balance reaches zero, the sender must pause transmission for that specific flow — but crucially, it can continue transmitting other flows that still have available credits. This provides the head-of-line blocking prevention that makes InfiniBand superior to PFC-based Ethernet. However, unlike InfiniBand where credits are returned only when the receiver consumes data, UEC adds an ECN feedback loop: when the switch's shared buffer occupancy exceeds 50%, the switch begins ECN-marking packets even for flows with available credits. The sender interprets this as a pre-emptive signal to reduce its sending rate for that flow before it runs out of credits entirely.

The integration provides two distinct advantages. First, it eliminates the **credit stall problem** in pure InfiniBand, where a slow consumer on the receiver side prevents credit return even though the network itself has abundant capacity. The ECN signal bypasses the receiver's credit return logic and directly informs the sender that the network is congested. Second, it prevents the **buffer bloat problem** in pure ECN, where the feedback loop's reaction time (typically 2-5 RTTs) allows queues to grow before the sender slows down. In the hybrid scheme, the credit mechanism provides instantaneous per-flow backpressure, while ECN provides the medium-term rate adaptation that prevents long-lived congestion.

In practice, the hybrid approach adds approximately 8% to the switch ASIC logic area (for the combined credit tracking and ECN marking state machines) but reduces tail latency by 60% compared to pure ECN and eliminates the head-of-line blocking that afflicts pure PFC fabrics. Production deployments at 100,000 GPU scale show that the hybrid fabric maintains 98.5% link utilization during All-Reduce synchronization, compared to 91% for pure ECN and 93% for pure CBFC. The UEC 1.1 specification mandates this hybrid architecture for all certified switches, making it the de facto standard for next-generation AI clusters.

07

Why RoCEv2 Won the Open Ecosystem

The InfiniBand versus RoCEv2 debate is usually framed as a technology question, but it was settled as an economics question. When the IBTA ratified Annex A17 in September 2014, it defined RoCEv2 as the InfiniBand transport verbs carried inside ordinary UDP/IP/Ethernet frames with a well-known destination port of 4791. That single decision let RDMA ride the merchant-silicon Ethernet ecosystem instead of a proprietary parallel network. A 400 Gb/s NDR InfiniBand port carries a price premium of roughly 2–3× a comparable 400G OSFP Ethernet port at hyperscale volume, and the InfiniBand subnet manager and management stack remain vendor-locked. Operators already owned the Ethernet tooling — network management, streaming telemetry, and an installed base of 400G/800G OSFP optics and DACs that interoperate across Broadcom Tomahawk 5, NVIDIA Spectrum-4, and Cisco Silicon One ASICs. Standardizing on RoCEv2 was a decision to protect that investment in optics, tooling, and operational skills.

The catch is that RoCEv2 demands losslessness, and on Ethernet, losslessness is constructed rather than inherited. IEEE 802.1Qbb (PFC) gives each of the eight 802.1p priority classes its own flow-control state machine: when a port buffer crosses a threshold, the switch emits a PFC PAUSE frame that halts the entire class on the upstream link, not just the offending flow. Every tuning decision becomes a loss-engineering decision — per-class buffer pools, PFC thresholds set against burst absorption, and ECN (RFC 3168, with the DCTCP adaptation in RFC 8257 for AI data centers) configured to slow senders before queues overflow. RoCEv2 won the open ecosystem not because it is simpler, but because it made the cost of complexity cheaper than the cost of vendor lock.

08

Fabric Topology Math: Fat-Tree, Dragonfly, Rail-Optimized

The three-tier Clos fat-tree remains the AI default because it is the only design offering deterministic full bisection bandwidth, and its math is worth doing precisely. A k-ary fat-tree built from radix-k switches supports k³/4 endpoint ports at a 1:1 oversubscription ratio, using 5k²/4 switches. With radix-64 800G switches, one three-tier fabric terminates 65,536 endpoints; a 32,768-GPU cluster fits in exactly half of it with a 51.2 Tb/s bisection plane per spine. The cost is port and cable count — 5,120 switches at k=64 plus the optical plant connecting them — which is why dragonfly topologies keep re-entering the conversation. A dragonfly of g groups, each a fully meshed set of switches, needs only one global link per switch and cuts transceiver count by roughly a third, but its oversubscribed global layer and adaptive-routing complexity hurt under the adversarial all-to-all pattern that gradient All-Reduce generates. Production 2026 clusters overwhelmingly stay with the fat-tree.

Rail-optimized design assigns every GPU sharing a PCIe index across nodes to a single rail, then dedicates a spine plane to each rail. In a 1,024-GPU cluster of 128 nodes with 8 GPUs each, rail 0 holds 128 GPUs on 128 different nodes. Because NCCL rings and All-Reduce trees form inside a rail, isolating each rail on its own plane guarantees that a synchronization storm on rail 0 cannot starve rails 1 through 7 — a shared-spine design would let one rail's All-Reduce congest the plane used by the other seven. This rail-optimized placement is the reference design for both RoCEv2 and InfiniBand deployments, and it is why GPU clusters present repeated 8-port patterns to the cabling team.

09

Operational Reality: PFC Storms and the One-Bad-NIC Problem

A training fabric fails differently from an enterprise network. The canonical failure is the one-bad-NIC problem: at 1,000+ GPUs, a single NIC with a degraded PCIe link or rising corrected-error count behaves like a slow worker, and because the gradient All-Reduce is a barrier, the entire training job waits on that one device. A dirty optical module that emits CRC errors is worse — the resulting retransmits consume link capacity and can push a shared priority class into a PFC storm.

A PFC storm is the AI fabric's version of a broadcast storm. When one downstream buffer overflows, PAUSE frames halt the whole priority class on the upstream link; that switch's buffer then fills and it pauses its own upstream neighbor, propagating the stall hop by hop within seconds. Head-of-line blocking follows because PFC acts on a priority class rather than a flow — one congested destination freezes every other flow sharing the class. The 2026 defense is congestion control inside the switch: NVIDIA Spectrum-X emits Congestion Notification Packets (CNPs) toward the source without waiting for the receiver, collapsing feedback from many RTTs toward a single hop, while UEC packet spraying spreads bursts across all available paths so no single queue absorbs the shock.

Telemetry is the real mitigation. Production fabrics monitor per-port PFC pause TX/RX counters, CNP counts, ECN-marked packet rates, and dropped-packets-per-port; a rising CNP rate is the first warning of an incipient storm, and correlating pause counters hop by hop isolates the offending link before it takes down a job. At 100,000-port scale a cable failure is a multi-times-a-week event, so the fabric must be self-identifying — a decisive reason RoCEv2's survival depended on the maturity of Ethernet telemetry.

Share Article

Technical Standards & References

REF [IBTA-ROCEV2]
IBTA (2014)
InfiniBand Trade Association (IBTA) Annex A17: RoCEv2
The official specification defining the routing of InfiniBand transport packets over IP networks (RoCEv2).
VIEW OFFICIAL SOURCE
REF [IEEE-802.1Qbb]
IEEE (2011)
IEEE Std 802.1Qbb - Priority-based Flow Control (PFC)
The data link layer mechanism that provides lossless operation over Ethernet links.
VIEW OFFICIAL SOURCE
Mathematical models derived from standard engineering protocols. Not for human safety critical systems without redundant validation.

Ready to audit your connection?

Theory is the foundation, but data is the proof. Apply these engineering principles to your own network link right now.

Launch Diagnostics Tool
Partner in Accuracy

"You are our partner in accuracy. If you spot a discrepancy in calculations, a technical typo, or have a field insight to share, don't hesitate to reach out. Your expertise helps us maintain the highest standards of reliability."

Contributors are acknowledged in our technical updates.