~/talk

Hunting Heisenbugs

Talkat Linux Plumbers Conference 2023 · 2023-11-13..11-15· [testing]
links:none on file
slides:none on file

Defines practical anti-heisenbug techniques: detect versus instrument, amplify rare events, and run targeted stress tests that make timing bugs happen reliably. Uses fleet math (a 10,000‑year bug shows up ~every 100 hours on 1M machines) and tools like rcutorture, kernel crash dumps, BPF and kdb, plus RCU near‑miss counter and CPU hotplug delays to inject races. Shows a focused test that drops MTBF from days or hours to ~12 minutes, and outlines combining orders‑of‑magnitude reductions to validate fixes.

AI-written summary · about

  1. 0:00Introduction to Heisenbugs
  2. 1:22Detecting Heisenbugs in large fleets
  3. 7:22Why Heisenbugs are hard to debug
  4. 9:26Anti-Heisenbug techniques
  5. 10:09Increasing workload intensity
  6. 13:58Making bugs happen more often
  7. 17:48Modeling system behavior
  8. 25:57Counting near misses
  9. 27:23Swamping queues to reveal bugs
  10. 33:24Reproducing rare memory corruption
  11. 35:10Fast paths hiding bugs
  12. 37:58Combining rare events for testing
  13. 38:59Detecting errors before debugging
  14. 41:46Avoiding Heisenbugs entirely
  15. 42:49Q&A: Resources and techniques
~/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.