Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

OpenAI 11 min read Case study hardMaster

Unlocking large scale AI training networks with MRC (Multipath Reliable Connection)

MRC (Multipath Reliable Connection) is a RoCE-extending network protocol co-developed by OpenAI with AMD, Broadcom, Intel, Microsoft and NVIDIA and released through OCP. It sprays packets from each transfer across hundreds of paths over multi-plane networks, with every packet carrying its destination memory address. It also uses packet trimming to tell congestion apart from failure and routes around failed paths in microseconds. Splitting 800Gb/s NICs into eight 100Gb/s planes lets two switch tiers connect roughly 131,000 GPUs, and SRv6 static source routing replaces BGP-style dynamic routing. In production on GB200 clusters, link flaps and tier-1 switch reboots had little or no measurable impact on synchronous pretraining jobs.

Assumes: RDMA and RoCEClos/fat-tree network topologiesDistributed training collectivesIP routing basics

Related posts

  • RoCE networks for distributed AI training at scale

    Meta Engineering hardMaster

    Meta runs distributed AI training on a dedicated RoCEv2 backend network, separate from the frontend network used for data ingestion and checkpointing. The backend is a two-stage Clos "AI Zone" (RTSW leaf, deep-buffer CTSW spine), joined by an oversubscribed aggregation layer, with a topology-aware scheduler that minimizes cross-zone traffic. Because training traffic has low entropy, is bursty and consists of elephant flows, routing moved from plain ECMP to destination-slice path pinning, which needed 2x uplink capacity as a costly stopgap. It then moved to queue-pair scaling with E-ECMP hashing on the destination QP, which improved AllReduce by up to 40%. At 400G Meta dropped DCQCN and relies on PFC plus receiver-driven traffic admission built into NCCL's clear-to-send mechanism, with CTS packets given high priority at switches, and has seen no persistent congestion in four years.

  • MetaRoCE: A New RDMA Transport Built for AI-Scale Ethernet

    Meta Engineering hardMaster

    MetaRoCE is a clean-sheet RDMA transport for AI workloads on lossy commodity Ethernet. It moves intelligence from switches to the NIC: per-packet spraying across many first-class paths (distinct UDP source ports for ECMP entropy), native out-of-order placement with no reorder buffer, no PFC, per-path 256-bit SACK for immediate retransmission, and ECN-based AIMD combined with receiver-driven fair-share rate hints that resolve incast in one or two RTTs. A single connection multiplexes many ordered streams over many paths under one congestion controller, while existing Verbs APIs keep working. On a 64-node AMD GPU cluster using Pensando NICs it beat RoCEv2, held about 86% throughput at 1% loss, and scaled linearly across 4- and 8-plane fabrics. Meta is releasing the spec, a software reference implementation and a compliance suite through OCP.

  • OCP Summit 2026: Powering AI with Open Innovations in Scale-Up, Scale-Out, and Scale-Across Networks

    Meta Engineering hardMaster

    Meta's OCP 2026 networking lineup centers on IcePack, its first liquid-cooled network rack, and IceCube 102.4T switch blades (128×800G, Tomahawk6C or Spectrum-6, running FBOSS on SAI). Flattened Planar Fabric connects each GPU through eight 100G links to eight planes, flattening the backend from 3-tier to 2-tier Clos, with NIC-level packet spraying and a host-inclusive control plane that steers traffic around failed planes. The BAG super-spine links fabrics across regions at petabit scale, measuring cable length in place to size lossless buffer headroom and using eBGP link-bandwidth signaling for weighted load balancing. Further announcements include the Tahan Ethernet scale-up switch for MTIA 300, a 72-accelerator ESUN-based design, the OSPA switch platform standard, SRv6 regional backbones, and open-source MetaRoCE.

  • Inside multi-node training: How to scale model training across GPU clusters

    Together AI mediumAdept

    Multi-node GPU training spreads foundation model training across many 8-GPU servers by combining data, tensor and pipeline parallelism over NVLink within nodes and InfiniBand/RoCE between them, with periodic checkpointing to survive the near-daily hardware failures of 100-node clusters. A Qwen2.5-72B example on 16 nodes of B300 GPUs (TP=8, PP=2) reached 45-50% MFU and about 2,500 tokens/s/GPU, with PCIe errors, NVLink drops and gradient-sync congestion as recurring problems. Before a full run, verify NVLink and inter-node bandwidth with tools like ib_write_bw, set up NCCL and test checkpoint resume, then scale from 2 nodes upward while targeting over 80% scaling efficiency.

  • Building Meta’s GenAI Infrastructure

    Meta Engineering easyNovice

    Meta built two 24,576-GPU NVIDIA H100 clusters for GenAI training, including Llama 3. One uses a RoCE fabric on Arista 7800 and OCP switches and the other uses InfiniBand, both with 400 Gbps endpoints, on Grand Teton servers. Storage combines a FUSE API over a flash-optimized Tectonic for synchronized checkpointing with a Hammerspace parallel NFS for interactive debugging. Large-cluster AllGather utilization initially ranged from 10% to 90%. Topology-aware job scheduling, routing changes and NCCL tuning brought it back above 90%, and PyTorch process-group startup dropped from hours to minutes.

The quest for software engineering knowledge.

Look:
Layout: