~/talk

Blazing Performance with Flame Graphs

Talkat LISA '13 · 2013-11-03..11-08· [devops-and-delivery, web-performance]
slides:none on file

A compact workflow: sample stacks with perf or DTrace, run stackcollapse.pl, and generate an interactive SVG with flamegraph.pl so you can read which functions burn CPU and why. Real results include a 40% win from focusing optimization, a grep/LANG fix that yields 2000x improvement, and finding ZFS IO throttling and a missing -O3 compiler optimization as root causes. Extensions show memory, I/O, off‑CPU and wakeup chain visualizations for multi‑node and language runtimes.

AI-written summary · about

  1. 0:00Introduction to flame graphs
  2. 1:43Methodology and speaker
  3. 4:20Case study: SQL performance
  4. 7:28Flame graph visualization
  5. 10:37Understanding stack traces
  6. 13:49Code activity analysis
  7. 16:18Creating the visualization
  8. 19:16Defining flame graphs
  9. 21:25Interpreting the graphs
  10. 24:26Analyzing code branches
  11. 26:56Log checking example
  12. 30:10Kernel IO analysis
  13. 33:27Compiler optimizations
  14. 37:06Generating flame graphs
  15. 40:01Profiling tools integration
  16. 42:25Dynamic language tracing
  17. 44:55Output customization
  18. 46:47CPU flame graphs
  19. 50:35Kernel internals example
  20. 52:19System call towers
  21. 55:10Stacking user and kernel
  22. 55:52Advanced flame graphs
  23. 58:35Memory allocation analysis
  24. 1:01:06Memory leak detection
  25. 1:03:34Page fault profiling
  26. 1:05:44IO latency analysis
  27. 1:08:40Logical IO example
  28. 1:11:53Off-CPU profiling
  29. 1:15:53Hot-cold flame graphs
  30. 1:18:44Wakeup latency tracing
  31. 1:21:49Wakeup chain visualization
  32. 1:24:50Flame graph ecosystem
~/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.