Recent posts:
Blog index

Brendan Gregg's Blog


Linux Performance Analysis in 60s (video)

03 Dec 2015

On the Netflix Tech Blog I recently published Linux Performance Analysis in 60,000 Milliseconds, showing the commands we use in the first 60 seconds of a performance investigation. Most of the time we don't get this far, since we solve most issues using the Atlas and Vector open source GUIs. But this should be useful to share anyway, since it involves standard Linux commands that you can easily try out.

I just made a short video to show this command sequence in action (youtube):

It's not just about what the commands find, but also what they don't find, which directs follow-up investigation. In that video, this is what I learned:

If I'm investigating a performance issue, my leads from these findings would be:

I wouldn't dig deeper on memory usage, disk, or file system I/O, until I'd taken a good look at those two.

As a follow-on to the first 60 seconds, you can check out my 90 minute Linux Performance Tools tutorial from Velocity 2015, which has the video online. It's the best and most complete summary I've given on the topic.

You can comment here, but I can't guarantee your comment will remain here forever: I might switch comment systems at some point (eg, if disqus add advertisements).

comments powered by Disqus