~/talk

Debugging Linux Issues with eBPF

Talkat LISA18 · on Tuesday, 2018-10-30· at 14:00· Legends Ballroom D· [linux-and-operating-systems, observability]
slides:none on file

A Kafka cluster sees a 10x CPU increase after a Debian/kernel upgrade; perf and flamegraphs show spinlock contention and many timer callbacks. Using eBPF/BCC and perf to count stacks and timers reveals a 12x increase in TCP write timers caused by missing TCP segmentation offload on the VLAN interface, which forces software segmentation and extra locks. Enabling offload and restarting Kafka restores throughput and cuts system CPU usage back to normal.

AI-written summary · about

  1. 0:00Context and infrastructure
  2. 2:28OS upgrade and Kafka issue
  3. 6:27Initial debugging steps
  4. 7:38Perf and root cause analysis
  5. 12:06Flame graph investigation
  6. 13:57BCC tools for deep analysis
  7. 16:53Network offload discovery
  8. 21:23Resolution and fix validation
  9. 22:56Key takeaways and BPF
~/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.