Detecting silent errors in the wild: Combining two novel approaches to quickly detect silent data corruptions at scale
Meta detects CPU silent data corruptions (SDCs), hardware errors that leave no log trace and propagate into applications, with two complementary fleet-testing methods. Fleetscanner piggybacks minutes-long intrusive tests on maintenance events like reboots and firmware upgrades, reaching each machine about once every 180 days. Ripple testing injects bit patterns with known results alongside production workloads in runs of hundreds of milliseconds, finding 70% of faulty CPUs within 15 days versus about 6 months for opportunistic testing. Because each method also catches faults the other misses (23% unique to opportunistic, 7% to ripple), Meta recommends running both.
Related posts
- How Meta keeps its AI hardware reliable
Meta Engineering hardMasterSilent data corruptions (SDCs), hardware miscomputations that leave no trace, now occur at roughly one fault per thousand devices and are a growing threat to large-scale AI training and inference. Meta classifies hardware faults as static, transient or silent. It detects SDCs fleet-wide with Fleetscanner (periodic directed tests every 45-60 days), Ripple (millisecond co-located tests) and Hardware Sentinel (kernel-space exception analysis, 41% better than test-based methods). For AI workloads, SDCs cause NaN propagation and corrupted gradient variance during training and wrong outputs during inference. Mitigations combine infrastructure strategies (reductive triage, deterministic training, hyper-checkpointing) with stack strategies (gradient clipping, algorithmic fault tolerance, shadow-node verification, parameter vulnerability factors, divergence detection).
- How Facebook deals with PCIe faults to keep our data centers running reliably
Meta Engineering hardMasterMeta detects, diagnoses and remediates PCIe faults across millions of servers using PCIcrawler, MachineChecker, a log-parsing error service, FBAR auto-remediation and Scuba analysis. Any uncorrected PCIe error marks hardware faulty. Corrected errors are tracked as rates over several windows and checked against per-platform thresholds derived by correlating them with system stalls. Down-negotiated link speed and width are detected by comparing current speed and width against the minimum capabilities of both link ends. Reseating fixes most link issues, with repeat-offender rules escalating to component and then motherboard swaps, and rate-limited remediation keeps a code bug from mass-draining the fleet.
- Keeping 20,000 GPUs healthy
Modal mediumAdept
Modal keeps a multi-cloud fleet of over 20,000 concurrent GPUs reliable through instance-type benchmarking, continuously tested machine images, light boot checks, and passive plus active lifetime healthchecks. Anonymized cloud comparisons reveal large differences: PCIe H100s deliver about 40% fewer matmul FLOP/s than SXM, one provider ran H100s above 90°C and lost roughly half of peak performance, and one provider's L4s flake at CUDA init 0.1% of the time. Boot checks stay shallow (systemctl, nvidia-smi, a GPU read/write) to avoid slowing autoscaling. Passive monitoring uses dcgmi and dmesg Xid errors, weekly active checks run DCGM diag level 2, GPU burn and NCCL all-reduce, and unhealthy hosts are drained and replaced rather than repaired.
- Automating data removal
Meta Engineering mediumAdeptMeta's SCARF framework includes a subsystem that finds and deletes unused classes of data, such as tables, storage use cases and TAO object types, across 21 data systems. It combines static code references from Glean with runtime read counters instrumented into production data systems. When a type has no references and no traffic, SCARF files a ticket, blocks reads and writes as a dry run, and then deletes the data, with backups as a last safeguard. It models cross-system asset dependencies so deletions happen in the right order, and it will not break code references, relying on its dead-code subsystem to prune those first; in a year it removed petabytes across 12.8M data types.
- Incident Report: Dec 1st, 2023
Railway mediumAdeptA misconfigured new metrics collection agent sampled every process on each host at high frequency, driving heavy kernel-to-userspace memory transfers. Those transfers triggered cascading CPU soft locks on 30% of Railway's US-West fleet even though resource usage stayed within thresholds, and the team suspects an acknowledged Google Cloud hypervisor bug. Hosts failed randomly and in bursts, so the agent was not suspected at first. Recovery needed manual restarts confirmed via serial console logs, taking 10–30 minutes per host, and workloads were down for 10 minutes to 1 hour with no data loss. Follow-ups include mandatory staged rollouts (10/25/50/100%) for all services, faster deployment feedback, and moving toward bare metal to gain visibility into the full stack.