Profiling is a critical part to understand program behavior and to narrow down performance bottleneck.
Latency metrics comparison
Jeff Dean made a good chart to contrast latencies at different layers in IT stack:
https://gist.github.com/jboner/2841832
- A overview diagram that shows perf tools at all various parts of Linux stack: http://www.brendangregg.com/perf.html
System performance
- Example to use "perf" to profile system performance: http://www.pixelbeat.org/programming/profiling/
Storage performance
- blktrace
- iostat
No comments:
Post a Comment