~/talk

Tracking Down What Happened: A Comparison of Tracing Solutions

links:none on file
slides:none on file

Compares four Linux tracers — ftrace, eBPF (bpftrace), SystemTap and LTTng — by tracing IPC in hackbench (20 senders × 20 receivers = 400 IPC events) on Fedora 34; measures every send→receive latency and captures sched_wakeup/sched_switch around the single worst transfer (5.6 ms worst-case reported by eBPF). eBPF has the least runtime impact (+31%) and immediate in-kernel histograms (ebpf fastest); ftrace adds +44% and needs manual parsing; SystemTap is slowest (+84%); LTTng requires adding USDT points — had to patch hackbench with USDT.

AI-written summary · about

  1. 0:00Introduction
  2. 2:35Interprocess communication
  3. 4:20Conditions for testing
  4. 5:54Application for testing
  5. 8:12What are trace points
  6. 15:54FTrace
  7. 17:55FTrace Demo
  8. 20:47Python Histogram
  9. 21:34Kernel Shark
  10. 26:00EPPF
  11. 28:44BPF Trace
  12. 29:39EPF Trace
  13. 30:40Schedule Switchings
  14. 31:54Summary
  15. 33:24SystemTap
  16. 36:07SystemTap Script
  17. 36:47Histogram
  18. 38:12System Tab Advantages
  19. 41:23LTTG Advantages
  20. 44:08Post Processing
  21. 45:16Python Post Processing
  22. 46:05Tracing Compass
  23. 47:11Lttng
  24. 51:09Final Thoughts
~/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.