Category Archives: DTrace

Where Does Your Node Program Spend Its Time?

Originally posted at Dave Pacheco’s Blog. Performance analysis is one of the most difficult challenges in building production software. If a slow application isn’t spending much time on CPU, it could be waiting on filesystem (disk) I/O, network traffic, garbage collection, or many other things. We built the Cloud Analytics tool to help administrators and [...]

A 2000x Performance Win with DTrace Analytics

Note: This post originally appeared on the DTrace blog of @brendangregg I recently helped analyze a performance issue in an unexpected but common place, where the fix improved performance of a task by around 2000x (two thousand times faster). As this is short, interesting and useful, I’ve reproduced it here in a lab environment to [...]

Drilling Down Into the Kernel

Part 4 of 5 on Examining File System Latency in Production, by Brendan Gregg, Lead Performance Engineer at Joyent and author with Jim Mauro of “DTrace: Dynamic Tracing in Oracle Solaris, Mac OS X and FreeBSD” Previously I showed how to trace file system latency from within MySQL using the pid provider. Here I’ll show how [...]

Measuring File System Latency from Applications

Part 3 of 5 on Examining File System Latency in Production, by Brendan Gregg, Lead Performance Engineer at Joyent and author with Jim Mauro of “DTrace: Dynamic Tracing in Oracle Solaris, Mac OS X and FreeBSD” Here I’ll show how you can measure file system I/O latency – the time spent waiting for the file [...]

Invisible Issues of I/O

Part 2 of 5 on Examining File System Latency in Production, by Brendan Gregg, Lead Performance Engineer at Joyent and author with Jim Mauro of “DTrace: Dynamic Tracing in Oracle Solaris, Mac OS X and FreeBSD”  I previously explained why disk I/O is difficult to associate with an application, and why it can be altered from what the [...]

When iostat Leads You Astray

Part 1 of 5 on Examining File System Latency in Production, by Brendan Gregg, Lead Performance Engineer at Joyent and author with Jim Mauro of “DTrace: Dynamic Tracing in Oracle Solaris, Mac OS X and FreeBSD”  When examining system performance problems, we commonly point the finger of blame at the system disks by observing disk I/O. This [...]

Case Study: Using Cloud Analytics to Troubleshoot A Node Knockout Winner

On the weekend of August 27-29, Joyent hosted Node Knockout 2011, a 48-hour coding competition for node.js developers from around the world, working individually or in teams. (Note: This article was originally posted by Joyent’s Brendan Gregg on the DTrace.org blog.) The contest entries were all hosted on Joyent’s no.de platform, running on SmartDataCenter and SmartOS. The winning entry was Observer by Arnout Kazemeir, a [...]

Why is my Mac slow? Top 10 DTrace Tune Up Tips for OS X

This post was originally written by Brendan Gregg, author with Jim Mauro of “DTrace: Dynamic Tracing in Oracle Solaris, Mac OS X and FreeBSD” and edited for Joyeur. As serious operating system geeks know by now, there are hidden gems in Mac OS X that deserve to be more widely used. Since version 10.5 (“Leopard”), [...]

Visualizing the Joyent Cloud with DTrace

(This is a repost of a blog put up this morning by Joyent’s Brendan Gregg over at the DTrace blog. It’s a very nice visualization of the Joyent Cloud using DTrace to map out our world.) Visualizing the Cloud I’ve worked on visualizations for a while, most recently with heatmaps for Joyent’s Cloud Analytics (here’s a link to a great introduction [...]

Events: OSCON, Office Hours

The annual OSCON convention put on by O’Reilly is underway in Portland, Oregon this week. Brendan Gregg and Dave Pacheco led the DTrace Community Birds of a Feather session yesterday, and today, Tuesday, is officially Node Day with Joyeurs Tom Hughes-Croucher and Ryan Dahl joined by friends from around the Node.js community to discuss the [...]

Follow

Get every new post delivered to your Inbox.

Join 42 other followers