DTracing in Anger

My Macbook has becomeso sluggish that it feels like I’m typing ove a 9600 baud modem aagn. Or 2400. It’s alo droping keystokes – which is irritatng as hll – so please forgive theapparent tyos and mistakes. It comes and goes each minute, so thiswhole post isn’t too bad. Usually I cn see what’s wrng [...]

Posted on November 14, 2012 at 10:04 pm by Brendan Gregg · Permalink · 2 Comments
In: DTrace · Tagged with: , ,

Visualizing Device Utilization

Device utilization is a key metric for performance analysis and capacity planning. In this post, I’ll illustrate different ways to visualize device utilization across multiple devices, and how that utilization is changing over time. As a system to study, I’ll examine a production cloud environment that contains over 5,000 virtual CPUs (over 600 physical processors). [...]

Posted on December 18, 2011 at 1:47 pm by Brendan Gregg · Permalink · 18 Comments
In: Performance · Tagged with: , , , , ,

Top 10 DTrace scripts for Mac OS X

Since version 10.5 “Leopard”, Mac OS X has had DTrace, a tool used for performance analysis and troubleshooting. It provides data for Apple’s Instruments tool, as well as a collection of command line tools that are implemented as DTrace scripts. I’m familiar with the latter as I wrote the originals for the DTraceToolkit, which Apple [...]

Posted on October 10, 2011 at 9:39 am by Brendan Gregg · Permalink · 10 Comments
In: DTrace · Tagged with: , ,