Archive for the ‘DTrace’ Category

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 11:04 pm by Brendan Gregg · Permalink · Comments Closed
In: DTrace, macosx, performance

illumos hackathon 2012: user-land types for DTrace

At the illumos hackathon last week, Robert Mustacchi and I prototyped better support for manipulating user-land structures. As anyone who’s used it knows, DTrace is currently very kernel-centric — this both reflects the reality of how operating systems and DTrace are constructed, and the origins of DTrace itself in the Solaris Kernel Group. Discussions at [...]

Posted on October 11, 2012 at 9:28 am by ahl · Permalink · Comments Closed
In: DTrace, hackathon, illumos, pid, user-land

DTrace Training

I’ve been developing a 2 day DTrace training course, which I’ll deliver in San Francisco on September 6th this year. The course materials include a copy of the DTrace book, written by myself and Jim Mauro. This course focuses on how to use DTrace: In particular, how to analyze performance issues and troubleshoot mysterious errors. [...]

Posted on August 12, 2012 at 1:34 pm by Brendan Gregg · Permalink · Comments Closed
In: DTrace, Training

10 Performance Wins

I work on weird and challenging performance issues in the cloud, often deep inside the operating system kernel. These have made for some interesting blog posts in the past, but there’s a lot more I don’t have time to share in that much detail. Here, I’ve summarized ten recent issues that myself and the other [...]

Posted on August 9, 2012 at 9:33 am by Brendan Gregg · Permalink · Comments Closed
In: DTrace, performance, wins

My New DTrace Favorite

The mantra as we initially developed DTrace was to make impossible things possible, not easy things easier. Since codifying that, the tendency toward the latter in developer tools has been apparent. Our focus on the former however has left certain usability burrs that stymie newbies, and annoy vets. Much of the DTrace development of late [...]

Posted on July 27, 2012 at 6:09 pm by ahl · Permalink · Comments Closed
In: DTrace

NodeConf slides

NodeConf was a great success this year. Thanks to @mikeal for organizing and everyone who spoke and attended. The slides from my talk on DTrace, Node.js, and Flame Graphs are here.

Posted on July 5, 2012 at 12:05 pm by dap · Permalink · Comments Closed
In: DTrace, Node.js

dtrace.conf 2012 videos

Last month was dtrace.conf 2012, the 2nd DTrace unconference. This is a meetup of DTrace practitioners and developers, where we discuss the latest uses, developments and future directions of the technology. It was great to see old friends of DTrace, and to put new faces to names. See the video list for the sessions, which, [...]

Posted on May 8, 2012 at 4:06 pm by Brendan Gregg · Permalink · Comments Closed
In: DTrace, video, visualizations

Profiling Node.js

(For returning readers, this is basically a “tl;dr” version of my previous post on Node.js performance. The post below also appears on the Node.js blog.) It’s incredibly easy to visualize where your Node program spends its time using DTrace and node-stackvis (a Node port of Brendan Gregg’s FlameGraph tool): Run your Node.js program as usual. [...]

Posted on April 25, 2012 at 10:21 am by dap · Permalink · Comments Closed
In: DTrace, joyent, Node.js, Production, smartos

BTrace: DTrace for Java… ish

DTrace first peered into Java in early 2005 thanks to an early prototype by Jarod Jenson that led eventually to the inclusion of USDT probes in the HotSpot JVM. If you want to see where, say, the java.net.SocketOutputStream.write() method is called, you can simply run this DTrace script: hotspot$target:::method-entry /copyinstr(arg1, arg2) == “java/net/SocketOutputStream” && copyinstr(arg3, [...]

Posted on April 24, 2012 at 12:29 am by ahl · Permalink · Comments Closed
In: BTrace, DTrace, Java

dtrace.conf(12) wrap-up

For the second time in as many quadrennial dtrace.confs, I was impressed at how well the unconference format worked out. Sharing coffee with the DTrace community, it was great to see some of the oldest friends of DTrace — Jarod Jenson, Stephen O’Grady, Jonathan Adams to name a few — and to put faces to [...]

Posted on April 9, 2012 at 11:03 am by ahl · Permalink · Comments Closed
In: BryanCantrill, DavePacheco, DTrace, dtrace.conf, EricSchrock, GeorgeWilson, KrisvanHees, MattAhrens, OEL