~/talk

Performance insights into eBPF step by step

slides:none on file

LLVM optimization reports show 6,000 compiler warnings about untaken optimizations, and adding `restrict` removes hundreds of duplicated loads, reducing backend stalls. Perf initially reports perf stat counters zero for BPF, so bpf‑tool profile is extended to collect top‑down events and finds hotspots around bpf_ringbuf_reserve. Intel PT can filter syscall traces but pairing it with BPF profiling fails with “operation not supported.” A simple simulation of run_queue_slower shows task‑local storage beats hash map at hundreds–thousands of processes, i.e. much lower BPF bookkeeping overhead.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 2:26BPF performance challenges
  3. 5:55Current state of BPF optimizations
  4. 8:15Compiler optimizations for BPF
  5. 10:46Top-down analysis for BPF
  6. 15:41Profiling BPF programs
  7. 19:12Modeling BPF performance
  8. 22:53Q&A session
~/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.