~/talk

CPU Isolation and IPI interference

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

CPU isolation fails because housekeeping CPUs still send IPIs for things like static key updates and TLB invalidations; observed with a kernel compile plus hackbench generating cross-CPU interference. The mitigation implemented defers kernel-only work to defer to kernel entry using context tracking and early-entry assembly checks; static-key deferral works, TLB deferral is “horrendous” and slows entry so far. Prototype code exists; hardware fixes (AMD invalidate broadcast, Intel remote action request) would remove much of the pain. unconditional TLB flush is a fallback but costly.

AI-written summary · about

  1. 0:00Introduction to CPU isolation
  2. 1:03IPI interference on isolated CPUs
  3. 2:30Deferring kernel operations
  4. 4:36Discussion on IPI sources
  5. 6:24Context tracking and TLB flushes
  6. 8:12User space isolation challenges
  7. 10:40Hardware support for TLB flushes
  8. 12:10API for CPU isolation
  9. 13:53High-frequency trading use case
  10. 16:19Per-CPU memory pressure
  11. 17:25Memory bus contention risks
  12. 18:29TLB flush and CR3 switching
  13. 19:16Q&A and conclusion
~/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.