Catalogue / meta-2022-precision-time-protocol

Meta deploys unicast Precision Time Protocol across data centers with ptp4u, transparent clocks, and the fbclock uncertainty API

Meta, 2022. Precision Time Protocol (PTP) time synchronization infrastructure.

Organisation
Meta
Evidence
Reported from production
Source
How Precision Time Protocol is being deployed at Meta

Engineering at Meta, published 2022-11-21

Records

Decision#d1

Deploy unicast PTPv2 with custom Go server ptp4u, PPS-disciplined NICs, and switch transparent clocks

Decision#d2

Expose TAI time as a 6-9s Window of Uncertainty via fbclock with parallel linearizability cross-checks

Decision#d3

Add client-side Priority3 tiebreaking to ptp4l BMCA so clients distribute load across identical Time Appliances

Failure#f1

Widely deployed NIC's 128-packet timestamp buffer overflowed and its driver silently substituted software timestamps

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free.