Brendan D. Gregg maintains a blueprint for Linux performance tuning tools, Linux performance Tools, with the appropriate analysis tools for each component of the Linux system at a glance.
Linux performanceobservability:
SAR, benchmarking, tuning:
Images license:creative Commons attribution-sharealike 4.0.
This page links to various Linux performance material I ' ve created, including the tools maps on the right. These show:linux observability tools, Linux benchmarking Tools, Linux tuning tools, and Linux SAR. For more diagrams, see my slide decks below.
Tools
- Perf_events:perf one-liners, examples, visualizations.
- Perf-tools:perf analysis tools using Perf_events and Ftrace (GitHub).
- Ktap:one-liners, examples, and scripts.
- Flame graphs:using perf, SystemTap, and Ktap.
Documentation
- My Post Performance Tuning Linux Instances on Ec2includes The tunables we ' re using at Netflix (2015).
- My lwn.net article ftrace:the Hidden light switchshows A use case for Linux ftrace (2014).
- Posts about ftrace-based perf-tools:iosnoop for Linux,iosnoop Latency Heat Maps, Opensnoop for Linux,execsnoop for Linux, Tcpretrans, Page Cache hit Ratio (2014).
- Posts about perf-based Perf-tools:perf Hacktogram.
- Posts about Perf_events:perf CPUs sampling, perf Static tracepoints, perf Heat Maps, perf counting, perf Kernel line Traci Ng, perf off-cpu time Flame Graphs, Linux Profiling at Netflix (2014-5).
- The blog post strace Wow Much Syscall discusses strace (1) for production use, and compares it to advanced tracing tools (2 014).
- 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) uses Linux distributions as the primary example.
Tuning Prerequisites for Linux layers