Stock LLM Wiki

報告_OCP2026_Meta_BAG跨資料中心網路_20261015

PDF 原檔:報告_OCP2026_Meta_BAG跨資料中心網路_20261015_original.pdf

講者公開簡報(OCP 官方 Recorded Content 頁提供下載)。文字以 PyMuPDF 逐頁抽取,### p<n> 為頁碼;圖表內容見原檔。

圖片清單(已驗證 2026-10-19)

檔名 頁 分類 親眼所見內容
報告_OCP2026_Meta_BAG跨資料中心網路_20261015_p4.png p4 真資料圖 Prometheus 園區空拍(New Albany, OH):多棟白色廠房、施工中場地與變電站;文字:1 GW 叢集,以傳統資料中心建築、防風雨戶外帳篷與鄰近 colocation 組成
報告_OCP2026_Meta_BAG跨資料中心網路_20261015_p5.png p5 真資料圖 BAG in Prometheus:4 個 sub-region,各含數個 L2 fabric(Sub-region 1 含 3 個 DSF 加 1 個 NSF,其餘為 NSF),各自接本地 BAG,所有 BAG 再連成單一叢集
報告_OCP2026_Meta_BAG跨資料中心網路_20261015_p6.png p6 真資料圖 NSF L2 fabric 拓撲:BAG Plane 1–52(各 10 顆)、STSW 8 個 spine plane、FTSW、RTSW 至 GPU rack;標註 Cross-L2 超賣 4.98:1、每 pod 9 RTSW+8 FTSW+3 GPU rack、51T NSF L2 fabric
報告_OCP2026_Meta_BAG跨資料中心網路_20261015_p7.png p7 真資料圖 BAG-to-BAG 連線:BAG Site 1 與 Site 2 以平行 plane 逐一對接,每對 N×800G;NSF/DSF L2 client 以 DLB group 接入
報告_OCP2026_Meta_BAG跨資料中心網路_20261015_p10.png p10 真資料圖 距離變異:BAG 機箱接 FR4(至 3km)、LR4(至 10km)與經光傳輸系統的 ZR+(至 1000km);J3 Core 依距離設 2K/10K/100K 三種 headroom profile(FADT multi-profile)
報告_OCP2026_Meta_BAG跨資料中心網路_20261015_p12.png p12 真資料圖 BAG 容量規劃:4 個 L2 fabric 各含 replica(8K GPU 共用 All2All)與 sparing,經 BAG 層以 AllReduce Ring 同步(標示需 8 Pbps);圖例區分 L2-to-BAG、BAG-to-BAG、Ring

原始內容

p1

Jalpa Patel Technical Program Manager, Meta Hany Morsy Network Engineer, Meta Scaling AI Infrastructure: Meta's Journey with BAG AI CLUSTERS

p2

Agenda 01 Backend Aggregation (BAG) Overview Purpose, architecture, and performance benefits 02 Prometheus Case Study Cluster scaling, topology, and connectivity 03 Engineering Challenges & Solutions Flexibility, platform fit, distance management, reliability, and capacity planning

p3

Backend Aggregation Why it exists ● To interconnect L2 fabrics and enable oversized AI workloads ● Without BAG, a cluster can only be as big as one fabric can reach Scale & Performance ● Yields one large cluster across on-prem and leased sites ● Right-sized for the bandwidth needs of inter-L2 workloads What it is ● Centralized L3-routed super-spine ● Standard Ethernet end-to-end, no proprietary interconnect

p4

Prometheus Intro 1-Gigawatt Cluster A massive cluster in New Albany, OH spanning across multiple data center sub-regions. Innovative Scaling Accomplished scale with creative deployment solutions: ●Traditional data center buildings ●Weatherproof outdoor tents ●Adjacent colocation facilities

p5

BAG in Prometheus Intra & Inter-Subregion ●Each sub-region holds several L2 fabrics ●L2’s attach to their local BAG layer within the sub- region ●All BAG Layers are joined into a single cluster ●BAG is fabric-agnostic. Both DSF and NSF coexist behind it ●Cell-scheduled and packet-sprayed fabrics interoperate through the same L3 layer

p6

Zoom-in to the NSF Topology Scale & Capacity ● Up to ~21K GPUs per L2 fabric ● Intra-Pod and Inter-Pod both are Non- Blocking Backend (BE) Pod Design ● Each Pod: 9 RTSWs + 8 FTSWs + 3 GPU Racks ● Non-rail, SoR rack ● Each GPU rack serviced by 3 RTSWs ● GPU rack can be liquid cooled or AALC Switch Planes & Oversubscription ● 8 Spine Planes (54 STSWs/Plane, Intra-L2 1:1) ● ~5 : 1 Cross-L2 Oversubscription

p7

BAG-to-BAG Connectivity Scheme Planar Connectivity ● BAG connects only to BAGi across sites — N × 800G per pair ● Simpler cabling with independent parallel planes, not a mesh ● Unmatched BAGs at the larger site carry local L2 traffic only Forwarding ● L2 aggregates propagate site-to-site through the BAG ● Each STSW forms a DLB group across its BAG plane to reach remote L2s ● RTSWs spray load-aware DLB end to end — intra-L1 through inter-BAG

p8

BAG Challenges - Flexibility Adding new sites flexibly ● Challenge: Adding new sites in Prometheus on- demand and connecting it to the BAG Backbone. ● Solution: Build the Bag-to-Bag topology as Hub & Spoke ● Full mesh: adding a site touches every existing site — N new circuits ● Ring: only 2 touch points, but a live link must be replaced ● Hub & spoke: ○ Our preferred choice in Prometheus ○ One touch point — the hub ○ Links grow O(N), not O(N²) ○ spokes hold no radix for sites that don't exist yet ○ We deploy a larger chassis form-factor in the Hub

p9

BAG Challenges – Platform Fit Radix ● Challenge: Terminating many local L2’s and several remote BAG sites. ● Solution: Select a Modular Chassis with large total port radix Long Haul RoCEv2 ● Challenge: Ensuring lossless delivery over long haul fiber paths. ● Solution: Choose Deep Buffer ASIC with credit-based forwarding algorithm – J3 Class ○ Larger headroom allows longer distances ○ Larger shared buffer absorbs larger bursts

p10

BAG Challenges – Distance Variability Pluggable Transceiver Mix ● Challenge: BAG terminates a variety of fiber distances ● Solution: Platform support for a mix of optics ○ FR4 Up to 3 km ○ LR4 Up to 10 km ○ ZR+ Up to 1000 km FADT Multi-Profiles ● Challenge: Efficient Buffer carving to fit the length variability ● Solution: Apply FADT Multi-Profiles with variable headroom allocations based on distance

p11

BAG Challenges – Failure Awareness WECMP ● Challenge: ECMP assumes every path has equal capacity. How can the BAG account for failures deep inside the L2 fabrics it is connected to? ● Solution: We deploy WECMP on the BAG where it reacts to LBW changes within its fabric and adjusts its load proportions to avoid bottlenecks.

p12

BAG Challenges – Right Sizing BAG Capacity Driven by Model Replica ● Challenge: Determining the right amount of BW for: ○ L2 to BAG ○ BAG-to-BAG ● Solution: ○ A Replica is placed fully within the L2, allowing the BW-intense collectives to use the non-blocking network. ○ DP runs across replicas over the BAG using AllReduce Ring. Provides cross-replica sync every training step. ○ Minimum B Pbps required by the AllReduce Ring. ○ Size L2-to-BAG capacity for B + buffer. Buffer is for operational maintenances. ○ Size BAG-to-BAG capacity based on availability of optical protection – (B + buffer) x 2 in absence of protection

p13

• Come join us to solve interesting, complex problems at scale in AI infrastructure. • Help address technical challenges in long-distance training and network buffer management. • SAI collaboration to enable BAG functions on OCP switches • Join the OCP Networking Project to help define future open-source infrastructure specifications. • Reach out to us at jalpatel@meta.com or hany@meta.com to discuss further collaboration. Call to Action

p14

Thank You!