http://www.brendangregg.com/linuxperf.html
Linux Performance
This page links to various Linux performance material I've created, including the tools maps on the right, which show: Linux observability tools, Linux benchmarking tools, Linux tuning tools, and Linux observability sar. For more diagrams, see my slide decks below.
Tools
- perf_events: (aka "perf") one-liners, examples, visualizations.
- perf-tools: perf analysis tools based on perf_events and ftrace (github).
- ktap: one-liners, examples, and scripts.
- Flame Graphs: using perf, SystemTap, and ktap.
Documentation
- My lwn.net article Ftrace: The Hidden Light Switch (Aug, 2014).
- Posts about ftrace-based perf-tools: iosnoop for Linux, iosnoop Latency Heat Maps, opensnoop for Linux, execsnoop for Linux.
- Posts about perf_events-based perf-tools: perf Hacktogram
- Posts about perf_events: perf CPU Sampling, perf Static Tracepoints,perf Heat Maps, perf Counting).
- The blog post strace Wow Much Syscall discusses strace(1) for production use, and compares it to advanced tracing tools.
- USE Method: Linux Performance Checklist; also see the USE Method page for the description of this methodology.
- Systems Performance: Enterprise and the Cloud (Prentice Hall, 2013) uses Linux distributions as the primary example.
Talks
Previous talks on Linux performance.