AI/ML Training Networks with SRv6¶
SRv6 is emerging as a critical technology for AI backend fabrics — the networks connecting thousands of GPUs in training clusters. Traditional ECMP routing fails catastrophically for AI workloads, and SRv6 provides the solution.
Part of the SRv6 for AI section
This page is the use case in brief. For the complete picture (who runs SRv6 for AI, the MRC deep dive, fabric design, scale-across, telemetry and standards), start at SRv6 for AI: The Complete Guide.
The Problem: ECMP Hash Collisions¶
AI training workloads (like LLM training) use synchronized all-to-all communication patterns across thousands of GPUs. This creates massive elephant flows that cause:
- Hash collisions in traditional ECMP — multiple flows land on the same path
- Congestion on some links while parallel paths sit completely idle
- Training slowdowns — the entire job is only as fast as the slowest GPU
- Wasted bandwidth — up to 40-60% of fabric capacity underutilized
- GPU 1 → Spine 1 (Flow A)
- GPU 2 → Spine 1 (Flow B)
- GPU 3 → Spine 1 (Flow C)
- GPU 4 → Spine 2 (Idle)
The Solution: SRv6 Deterministic Path Placement¶
With SRv6 uSID, the source (GPU host or controller) explicitly programs the exact path each flow takes through the fabric. No hashing, no collisions, no wasted capacity.
- GPU 1 → Spine 1 (SID→Spine1)
- GPU 2 → Spine 2 (SID→Spine2)
- GPU 3 → Spine 3 (SID→Spine3)
- GPU 4 → Spine 4 (SID→Spine4)
How It Works¶
- Each spine/path is assigned an SRv6 uSID
- The GPU host (or a controller) encapsulates traffic with an SRH containing the specific spine SID
- Traffic is deterministically placed on the chosen path — zero hash collisions
- Load balancing is done by the application or controller, not by the network
Key Benefits for AI¶
| Benefit | Description |
|---|---|
| Zero hash collisions | Every flow is explicitly placed on a specific path |
| 100% fabric utilization | No idle paths while others are congested |
| Application-aware | GPUs can control their own path selection |
| No protocol overhead | uSID fits in a single 128-bit IPv6 address |
| Works with existing hardware | Runs on standard Broadcom/Cisco Silicon One ASICs |
MRC: SRv6 Replaces Dynamic Routing at OpenAI¶
The strongest production validation of SRv6 for AI networking to date is MRC (Multipath Reliable Connection) — a multipath RDMA transport specified by AMD, Broadcom, Intel, Microsoft, NVIDIA and OpenAI and released on 5 May 2026 as an open OCP specification. MRC runs in production on OpenAI's largest NVIDIA GB200 training clusters and Microsoft's Fairwater supercomputers, with production jobs of 50K–75K GPUs on a design that scales to 131K GPUs in two switch tiers. For the full technical walkthrough, see MRC and SRv6 explained.
MRC's design goes further than deterministic path placement: it disables dynamic routing entirely. Switches run no BGP; data packets are source-routed along static paths using SRv6, and all failure handling moves to the transport layer at the edge.
How MRC uses SRv6¶
- Static uSID forwarding: The fabric uses the uSID format with
uNbehavior — a 32-bit locator block followed by 16-bit uSIDs, one per switch on the path plus a final uSID naming the last-hop port, all in the outer IPv6 destination address (no SRH needed). Switch forwarding tables are configured at install time and essentially never change; the shift-and-forward operation runs at line rate on standard ASICs. - Entropy Values map to explicit paths: At queue-pair startup the NIC generates a set of 32-bit Entropy Values (EVs, typically 128-256), each algorithmically mapped to a unique SRv6 address — i.e., a specific physical path through a specific network plane. The sender rotates through its EV set, spraying every packet of a transfer across hundreds of SRv6-encoded paths, which load-balances the fabric without hash collisions or application involvement.
- Multi-plane two-tier Clos: Instead of a three-tier 800G fabric, the 800G NIC is broken out by lane into 8 parallel 100G planes (or 4×200G), so ~131K NICs fit in just two switch tiers. Losing a T0–T1 link costs ~0.4% of a node's capacity instead of ~3%.
- Microsecond-scale failure bypass: When a path loses a packet, MRC retires that EV and retransmits on another path — detecting and bypassing failures in tens of microseconds, versus seconds for routing-protocol convergence. Background probes resurrect paths once they recover. Link flaps between switch tiers become operationally ignorable.
- Ground-truth telemetry: Because SRv6 makes probe paths explicit (no ECMP hash ambiguity, no dynamic routing underneath), the "Clustermapper" agents probe every link in the network every millisecond and know exactly which physical path each probe took — something switch-based telemetry cannot guarantee.
- NIC EV set → SRv6 paths → T0 → T1 → T0 (Plane 1 uSIDs)
- NIC EV set → SRv6 paths → T0 → T1 → T0 (Plane 2 uSIDs)
- NIC EV set → SRv6 paths → T0 → T1 → T0 (Plane N uSIDs)
- T0 → T1 → T0 → Destination NIC
- T0 → T1 → T0 → Destination NIC
- T0 → T1 → T0 → Destination NIC
Why it matters¶
| Aspect | Before (RoCEv2 + ECMP + BGP) | With MRC + static SRv6 |
|---|---|---|
| Load balancing | Per-flow ECMP hashing — collisions halve throughput | Per-packet spraying across hundreds of explicit paths |
| Failure recovery | Routing convergence (seconds), lost GPU time | EV retirement + selective retransmit (microseconds) |
| Switch control plane | BGP, large ECMP sets, hard to debug at scale | Static tables, no dynamic routing to interact with transport |
| Path visibility | Hash-dependent, ambiguous | Every packet and probe path is explicit |
Validated results include ~96% of theoretical peak bandwidth (≈770 Gb/s point-to-point on 800G NICs) and, in a separate test, NCCL sendrecv sustaining up to 92 GB/s per NIC at 42,020 GPUs. Hardware spans NVIDIA ConnectX-8, AMD Pollara and Vulcano, and Broadcom Thor Ultra NICs, with SRv6 forwarding on NVIDIA Spectrum-⅘ (Cumulus and SONiC), Broadcom Tomahawk 5, and Arista EOS switches.
SRv6 as the stability layer
MRC inverts the usual assumption that source routing and resilience are at odds: precisely because the SRv6 paths are static and explicit, the transport layer can reason about them, spray across them, and bypass failures faster than any routing protocol could converge.
Public Announcements¶
- OpenAI — announced MRC and its SRv6-based static source routing, in production on its largest GB200 supercomputers including Stargate/OCI Abilene (blog, paper); at OCP Global Summit 2026 presented Clustermapper, deterministic path diagnosis for AI backend networks using SRv6 (source)
- Meta and Google — both publicly confirmed SRv6 at OCP Global Summit 2026: Meta runs SRv6 TE in production on its regional backbone rings (source), and Google's Virgo AI fabric uses SRv6 source routing for bare-metal customers running their own host stack (source)
- Microsoft — published research on SRv6 for AI backend packet steering (source); co-presented SRv6 uSID + SONiC deployment at NANOG 96 (source)
- Alibaba — co-developed SRv6 support in SONiC with Cisco, announced by SONiC Foundation (source); at OCP Global Summit 2026 presented per-job SRv6 traffic engineering on its "eCore for AI" scale-across network (source), and separately "Beyond Traditional BGP" — its HPN Pivot route-reflector design for large AI clusters, which is not SRv6-based (source)
- SONiC 202505 release — includes official SRv6 uSID support for AI backend fabrics (source)
Technology Stack¶
┌─────────────────────────────┐
│ GPU Application (PyTorch) │
├─────────────────────────────┤
│ NCCL / RCCL (Collectives) │
├─────────────────────────────┤
│ RoCEv2 / RDMA │
├─────────────────────────────┤
│ SRv6 uSID (Path Selection) │ ← Deterministic path placement
├─────────────────────────────┤
│ SONiC + FRR (Control Plane)│
├─────────────────────────────┤
│ Switching ASIC │
└─────────────────────────────┘
IETF Standards¶
- draft-filsfils-srv6ops-srv6-ai-backend — SRv6 for Deterministic Path Placement in AI Backends
- RFC 9800 — SRv6 SID Compression (uSID), enabling efficient encapsulation
- OCP MRC 1.0 — Multipath Reliable Connection, with SRv6 as a forwarding mode
The full list of drafts, specifications and SONiC/SAI/FRR status is in the SRv6 for AI Standards Tracker.
The fastest-growing SRv6 use case
As of 2025-2026, AI networking is one of the fastest-growing areas of SRv6 adoption. The combination of SONiC (open-source NOS) + SRv6 uSID is emerging as a leading approach for AI backend fabrics.
Further Reading¶
- SRv6 for AI: The Complete Guide - Hub for every AI topic
- MRC and SRv6 - The production deep dive
- SRv6 AI Fabric Design - uSID plan, SONiC config, hardware
- Real-World Deployments - Alibaba, Microsoft, Nebius details
- SONiC Implementation - SRv6 on SONiC
- Traffic Engineering - SR Policies for path control
- IETF Draft: SRv6 AI Backend
- SONiC 202505 Release - SRv6 for AI Fabrics
References¶
- draft-filsfils-srv6ops-srv6-ai-backend - SRv6 for Deterministic Path Placement in AI Backends - IETF draft specifying how SRv6 uSID enables NIC-driven deterministic path placement for RoCEv2 traffic in GPU fabrics
- Towards Fully-Controllable Packet Steering for AI Backend Networks with SRv6 - Microsoft Research - Microsoft Research paper on leveraging SRv6 for traffic controllability in AI backend networks
- SONiC 202505: Powering AI Fabrics and Enterprise Networks - SONiC Foundation announcement of SRv6 uSID support for source-routed AI backend networks
- NANOG 96: AI Backend - Deploying SRv6 uSID and SONiC for Deterministic Load Balancing - Presentation by Pablo Camarillo (Cisco) and Rita Hui (Microsoft) on production SRv6 deployment for AI workloads
- Resilient AI Supercomputer Networking using MRC and SRv6 - OpenAI/Microsoft/AMD/Broadcom/NVIDIA paper detailing MRC's packet spraying, EV-to-SRv6 path mapping, and static uSID source routing in production 100K+ GPU clusters
- OCP MRC 1.0 Specification - Open Compute Project specification for Multipath Reliable Connection, released under an open license for industry-wide adoption
- Supercomputer networking to accelerate large scale AI training - OpenAI engineering blog post announcing MRC
- OCP 2026: Clustermapper - Deterministic path diagnosis for AI backend networks using SRv6 - OpenAI talk on probing the exact SRv6 paths AI training traffic takes, instead of estimating them from ECMP hashing
- OCP 2026: Beyond Traditional BGP - Decoupling Route Distribution for Large-Scale AI Clusters at Alibaba - Alibaba's HPN Pivot design moving service-route distribution off standard BGP for large AI clusters
- OCP 2026: Meta - SRv6 powered backbone networks - Meta on replacing MPLS SR-TE with SRv6 on its regional backbone rings, with early sites already in production
- OCP 2026: Inside Google's Virgo Network and the Campus-as-a-Computer - Google's dedicated AI accelerator fabric, using SRv6 source routing for bare-metal customers