---
title: "How Facebook deals with PCIe faults to keep our data centers running reliably"
description: "Meta detects, diagnoses and remediates PCIe faults across millions of servers using PCIcrawler, MachineChecker, a log-parsing error service, FBAR auto-remediation and Scuba analysis."
url: "https://swe.quest/articles/how-facebook-deals-with-pcie-faults-to-keep-our-data-centers-running-reliably-34bfc78629e7e71e"
canonical: "https://engineering.fb.com/2021/06/02/data-center-engineering/how-facebook-deals-with-pcie-faults-to-keep-our-data-centers-running-reliably/"
source: "Meta Engineering"
published: "2021-06-02"
difficulty: "hard"
kind: "Case study"
reading_minutes: 9
tags: ["hardware","datacenters","observability","sre"]
---

# How Facebook deals with PCIe faults to keep our data centers running reliably

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2021-06-02, 9 min read, Case study. Original: [https://engineering.fb.com/2021/06/02/data-center-engineering/how-facebook-deals-with-pcie-faults-to-keep-our-data-centers-running-reliably/](https://engineering.fb.com/2021/06/02/data-center-engineering/how-facebook-deals-with-pcie-faults-to-keep-our-data-centers-running-reliably/)

## Summary

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

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Hardware](https://swe.quest/tags/hardware.md) (Infrastructure)
- [Datacenters](https://swe.quest/tags/datacenters.md) (Infrastructure)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [SRE](https://swe.quest/tags/sre.md) (Reliability & operations)

## Prerequisites

- PCIe link basics
- Linux dmesg and IPMI SEL logs ([easy posts on Linux](https://swe.quest/tags/linux.md?difficulty=easy))
- fleet hardware operations ([easy posts on Hardware](https://swe.quest/tags/hardware.md?difficulty=easy))

## Keywords

PCIe, PCIe AER, PCIcrawler, MachineChecker, FBAR, Scuba, OpenBMC, IPMI

## Related posts

- [Detecting silent errors in the wild: Combining two novel approaches to quickly detect silent data corruptions at scale](https://swe.quest/articles/detecting-silent-errors-in-the-wild-combining-two-novel-approaches-to-quickly-32b120f4d7e970bb.md): Meta Engineering · 2022-03-17 · Medium · 7 min read · Hardware, Datacenters, Testing, Resilience
  Meta detects CPU silent data corruptions (SDCs), hardware errors that leave no log trace and propagate into applications, with two complementary fleet-testing methods.
- [How Meta keeps its AI hardware reliable](https://swe.quest/articles/how-meta-keeps-its-ai-hardware-reliable-cbeee5a1f63af10d.md): Meta Engineering · 2025-07-22 · Hard · 13 min read · Hardware, Model training, SRE, Inference & serving, Datacenters
  Silent 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.
- [Inside Prometheus: Meta’s Journey to a Gigawatt-Scale Supercluster](https://swe.quest/articles/inside-prometheus-meta-s-journey-to-a-gigawatt-scale-supercluster-d73a613bf03e3491.md): Meta Engineering · 2026-10-19 · Hard · 15 min read · Model training, Datacenters, Hardware, Networking, Resilience
  Prometheus is Meta's gigawatt-scale AI training supercluster in New Albany, Ohio, built in phases toward roughly 1 million GPUs.
- [Everyone gets faster writes: We turned off FPW's in Neon](https://swe.quest/articles/everyone-gets-faster-writes-we-turned-off-fpw-s-in-neon-60d0cd25f29077e7.md): Neon · 2026-05-07 · Hard · 7 min read · PostgreSQL, Storage engines, Performance engineering, Distributed databases
  Neon disabled Postgres full-page writes fleet-wide because its stateless compute streams WAL to a Paxos safekeeper quorum and has no local disk pages that can tear.
- [Power Loss Siren: Making Meta resilient to power loss events](https://swe.quest/articles/power-loss-siren-making-meta-resilient-to-power-loss-events-0c7d3a002aac02ac.md): Meta Engineering · 2021-12-16 · Medium · 9 min read · Datacenters, Resilience, MySQL, Replication, Hardware
  Power Loss Siren (PLS) is Meta's rack-level power loss detection system: a relay daemon on each top-of-rack switch polls power supply signals and, if AC power isn't restored within 45 seconds, sends a link-local UDP multicast so server-side handlers can act during the remaining ~45 seconds of the rack's 90-second battery runway.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
