Skip to content

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

Meta Engineering 7 min read Deep dive hardMaster

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

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.

Assumes: RDMA and RoCE basicsECMP and ECNTCP congestion controlCollective operations like all-reduce

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.

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

    OpenAI hardMaster

    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.

  • 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.

  • Disaggregated Scheduled Fabric: Scaling Meta’s AI Journey

    Meta Engineering hardMaster

    Meta's Disaggregated Scheduled Fabric (DSF) splits a chassis switch into separate interface nodes (Jericho3-AI RDSWs) and fabric nodes (Ramon3 FDSWs) running FBOSS. Together they act as one virtual switch that sprays packets as cells across all fabric paths, using VOQ and credit-based scheduling to fix the elephant-flow, low-entropy and skewed-utilization problems that RDMA training traffic causes on hash-based Clos/ECMP fabrics. Meta scaled it from L1 zones to a non-blocking L2 zone of 18K x 800G GPUs, then joined five L2 zones through an oversubscribed (4.5:1) L3 super-spine using iBGP add-path and eBGP. Input Balanced Mode handles remote link failures by withdrawing reachability on randomly chosen links so that input bandwidth never exceeds output bandwidth anywhere in the fabric.

  • OCP Summit 2024: The open future of networking hardware for AI

    Meta Engineering hardMaster

    Meta is contributing two disaggregated network fabrics and a new NIC to OCP for its AI training clusters. The Disaggregated Scheduled Fabric (DSF) uses VoQ-based scheduling on Arista 7700R4 leaf (Jericho3-AI) and spine (Ramon3) switches, running FBOSS over OCP-SAI, to avoid congestion proactively and expose a standard Ethernet RoCE interface to accelerators. Two retimer-free 51.2T switches, the Tomahawk5-based Minipack3 and the Cisco 8501 on Silicon One G200, cover 400G/800G fabrics. The Meta-designed FBNIC multi-host NIC supports four isolated hosts and PTP timestamping, and its driver is upstream in Linux 6.11.

The quest for software engineering knowledge.

Look:
Layout: