~/talk

Running PTP at scale

Talkat Linux Plumbers Conference 2025 · 2025-12-11..12-13· [networking]
links:none on file
slides:none on file

Meta runs PTP to 10 microseconds precision across millions of servers and demonstrates a PTP stack handling 1.5M QPS to a modified PTP (ATSC) grandmaster and SPTP clients, with open hardware and FB clock APIs. Found failures: kernel watchdog scheduled as system work stops ticking (fix: do_work kernel thread with realtime priority), slow PHC reads reduced by caching high bits, and receive-path contention solved with seqlock for timecounter and standard SKB FIFOs.

AI-written summary · about

  1. 0:00Introduction to PTP at scale
  2. 1:04Why PTP is needed at Meta
  3. 3:14Meta’s time synchronization hardware
  4. 5:09PTP stack and kernel side challenges
  5. 7:45Clock drift due to watchdog scheduling
  6. 10:17Reading PHC time efficiently
  7. 12:33Spin lock issues in time counter access
  8. 15:05FIFO implementations in TX timestamping
  9. 16:58Future testing and improvements
  10. 18:49Q&A on performance and latency
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.