Skip to content

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

Meta Engineering 4 min read Case study hardMaster

Building Prometheus: How Backend Aggregation Enables Gigawatt-Scale AI Clusters

Meta's backend aggregation (BAG) is an Ethernet super-spine layer that connects multiple L2 spine fabrics across data center buildings and regions, making it possible to build the 1-gigawatt Prometheus AI cluster spanning tens of thousands of GPUs. BAG layers are distributed regionally and linked with either planar topologies (simpler to manage, but concentrated failure domains) or spread topologies (more path diversity). They connect downstream to both Disaggregated Schedule Fabric and Non-Scheduled Fabric, with L2-to-BAG oversubscription around 4.5:1. The design uses deep-buffer Jericho3 chassis for long BAG-to-BAG links to support PFC, eBGP with link-bandwidth-based UCMP, MACsec, and failure-domain analysis with plane draining to avoid blackholing.

Assumes: Clos/spine-leaf network topologiesBGP and ECMP routingLossless Ethernet and PFC

Related posts

  • Inside Prometheus: Meta’s Journey to a Gigawatt-Scale Supercluster

    Meta Engineering hardMaster

    Prometheus is Meta's gigawatt-scale AI training supercluster in New Albany, Ohio, built in phases toward roughly 1 million GPUs. It runs NVIDIA GB200 (Catalina/Ariel, 800G scale-out per GPU) and GB300 (Clemente) NVL72 racks on a dedicated Ethernet back-end network with building-level fabrics of up to 20,736 GPUs and an aggregation network spanning 2 to 100+ km. Reliability engineering covers 64-of-72 GPU slices with in-rack spares (about 13% overprovisioning), parallelism-aware fault tolerance, async delta checkpointing, and targeted fixes for NVLink signal integrity and HBM faults. These cut interruptions by 99% and delivered over 85% goodput for pre-training, over 90% for RL, and an MTBI above 54K GPU hours.

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

  • 10X Backbone: How Meta Is Scaling Backbone Connectivity for AI

    Meta Engineering hardMaster

    Meta scaled its Express Backbone (EBB), the DC-to-DC WAN, by 10x using three techniques: pre-built DC metro fiber rings with POPs, IP platform scaling (scaling up via larger chassis and 800G interfaces, scaling out via more planes or more devices per plane), and IP/optical integration with 800G ZR pluggables that eliminate standalone transponders and cut aggregate power by 80-90%. Each scaling option comes with explicit tradeoffs in power density, NOS complexity, fiber restriping disruption and new failure modes. The same principles now underpin an AI Backbone linking GPU clusters across nearby sites with FR (3 km), LR (10 km) and ZR plus C+L-band DWDM with optical protection switching, carrying 51.2T per fiber pair. A single AI Backbone site-pair is already twice the size of the global backbone, and leaf-and-spine is the next planned step for scaling out.

  • Meta’s Infrastructure Evolution and the Advent of AI

    Meta Engineering easyNovice

    Meta's infrastructure grew from a LAMP stack with per-university databases to a global fleet of millions of machines. Along the way it added Memcache and TAO, edge POPs, a backbone network, cache-invalidation systems for cross-region consistency, and fleet systems such as Twine, Tectonic, ZippyDB, Shard Manager, Kraken, Taiji and Maelstrom. AI workloads changed those assumptions. Recommendation models brought GPUs into the fleet, and LLM training pushed synchronous jobs from 128 to thousands of GPUs, where one failure halts the whole job; Meta reports cutting the interruption rate by about 50x. It went on to build two 24k H100 clusters (InfiniBand and RoCE), a 129k-H100 cluster made by emptying five data centers, air-assisted liquid-cooled GB200 racks, AMD MI300 deployments, and its own MTIA silicon for ranking and ads inference.

The quest for software engineering knowledge.

Look:
Layout: