~/talk

Performance lab. The power of the perf tool!

Talkat DevConf.CZ 2019 · 2019-01-25..01-27· [testing, linux-and-operating-systems]
slides:none on file

Demonstrates using perf to find real issues: counts and samples CPUs, PMU power events, and SMIs (one generated by pressing the mute button), builds perf from source, and creates probes with perf probe and BPF uprobes. Uses perf record/archive to share profiles and runs perf c2c to locate cache-line contention in PostgreSQL, applies a patch that separates a lock to a new cache line and gains ~4% throughput. Shows perf top/stat/trace workflows and integration with BPF for low-overhead tracing. perf c2c perf probe perf archive

AI-written summary · about

  1. 0:00Introduction
  2. 1:40Count things
  3. 3:06Other events
  4. 3:38SMI
  5. 5:43Perfect
  6. 7:31Shell completion
  7. 7:53PMU
  8. 8:36Top
  9. 8:56Kernel
  10. 9:26PerfectOp
  11. 12:07GDB
  12. 12:36Perf
  13. 15:00Source code
  14. 15:59Adding probes
  15. 17:31Adding strays
  16. 18:05Perface overhead
  17. 19:00Ring buffer
  18. 19:56mitosis calls
  19. 21:49asset tools per
  20. 22:39regression test
  21. 24:12perf tool
  22. 25:41C2C example
  23. 28:09Record data
  24. 29:30Make data available
  25. 30:41C2C
  26. 33:30Cache line
  27. 35:32Source
  28. 37:26Cache structure
  29. 38:25Fixing cache structure
  30. 39:05Modifying data
  31. 39:42Results
  32. 40:34Questions
~/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.