Under the hood: Meta’s cloud gaming infrastructure
Meta's cloud gaming platform runs Windows and Android games in containers on NVIDIA Ampere GPUs at edge sites in metropolitan areas, orchestrated by its Twine cluster manager, and streams input and video/audio over WebRTC with SRTP. Latency gains came from encoding frames on the GPU so they never leave GPU memory, hardware decoding on the client, sending video slightly ahead of audio, and using display refresh intervals to absorb jitter. Moving compute to the edge cut latency more than moving the pipeline to GPUs did. Security relies on threat modeling, fuzzing, and full isolation from Meta's core infrastructure, and the work is framed as groundwork for metaverse networking needs.
Related posts
- Bringing Private Processing to Meta AI Glasses
Meta Engineering mediumAdeptMeta's Private Processing extends the AI glasses trust boundary into the cloud by running models inside confidential VMs on TEE-capable CPUs and GPUs, so host OS, hypervisor and Meta operators see only ciphertext. Requests are made non-targetable through blind-signed anonymous credentials and third-party OHTTP relays. Devices verify servers via RA-TLS attestation against an append-only, publicly witnessed transparency ledger and fail closed on mismatch. For stateful features, the storage and query engine run inside the TEE, which avoids access-pattern leakage and the cost of shipping ciphertext to remote databases. Observability relies only on aggregate health signals because debuggers and memory dumps are impossible, and the design is opened to external audit via NCC Group reviews and an expanded bug bounty.
- Modal becomes a gVisor maintainer
Modal mediumAdept
Google is donating gVisor to the CNCF under maintainer-led governance, and Modal, which launches over 40 million gVisor containers a day for GPU inference, training, and AI sandboxes, is joining as a maintainer. gVisor's Go-based Sentry application kernel implements the Linux syscall interface and is itself confined by namespaces, cgroups and seccomp, giving tenant isolation without hardware virtualization: about 25 ms boot and 12 MB overhead. Modal's upstream work includes nvproxy support for new NVIDIA GPUs, NVLink, MPS and GPUDirect RDMA, plus a new rdmaproxy that reaches ~99% of native NCCL all-reduce bandwidth over InfiniBand, RoCE and EFA. Other contributions are huge-page recycling that lifts PyTorch shared-memory throughput from 2.9 to 22 GB/s and tmpfs work that makes SQLite 2.7x faster. Planned work covers multi-GPU memory snapshots, GPUDirect Storage, MIG/vGPU and sub-minute inference server startup.
- How Meta trains large language models at scale
Meta Engineering easyNoviceTraining LLMs at Meta shifted workloads from many small recommendation jobs to a few enormous GPU jobs, forcing changes across hardware, data center layout, reliability, networking and storage. Meta adapted its Grand Teton H100 platform (700W TDP, HBM3, still air-cooled), repacked data halls for GPU density, and tracks common failure modes such as GPUs dropping off PCIe, DRAM/SRAM uncorrectable errors and network cable faults. Instead of choosing between fabrics, it built two 24K-GPU clusters, one RoCE and one InfiniBand, and tuned both to equivalent performance for Llama 3 training. The tuning relied on topology-aware placement of parallelism traffic, custom collectives such as recursive doubling/halving in place of rings, and load balancing to handle fat flows.
- Building Meta’s GenAI Infrastructure
Meta Engineering easyNoviceMeta 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.
- Capacity without conflict: A guide to multi-tenant GPU cluster design for AI-native teams
Together AI easyNoviceMulti-tenant GPU clusters pool hardware at a shared infrastructure layer (central control plane, shared storage, InfiniBand east/west and Ethernet north/south fabric) while giving each team dedicated GPU nodes, storage PVCs, credentials and its own orchestration layer such as Kubernetes or Slurm. Scheduler-enforced quotas by GPU count, spend or reservation window, conflict-free advance booking and automatic burst to on-demand capacity keep one team from starving others. Teams choose CUDA driver, shared memory and storage at booking time. Nodes get acceptance testing before handoff (DCGM diagnostics, GPU burn, single- and multi-node NCCL, NVBandwidth), with tiered repair: reprovision for software faults, cluster migration for hardware failures. The guide is framed around Together AI's own offering.