Tag Archives: Brendan Gregg

New Videos: The Gregg Performance Series

Working for Joyent, I continue to create lots of technical video (~32 hours of edited material to date). Most recent examples, here, are the start of a series I’m doing with Brendan Gregg (author of the DTrace book). In the course of his research to make these videos, Brendan even made some surprising discoveries about tools that everyone thought they knew all about.

Above: Brendan Gregg discusses vmstat, a performance tool used in Solaris-based operating systems, including Solaris 10, SmartOS, IllumOS, that shows the health of the entire system. Part 2 covers all the fields in detail. Part 3 talks about how vmstat works in Joyent’s SmartOS.

^ Brendan talks about the 1, 5 and 15 minute load averages as reported by tools such as uptime and prstat, and then explains in details how they work on Solaris-based Operating Systems including SmartOS, and reveals why they aren’t really 1, 5 and 15 minute averages.

Below: Brendan discusses the key fields of mpstat, another performance tool used in Solaris-based operating systems, including Solaris 10, SmartOS, Illumos, to shows the health of the CPUs on multi-processor systems. Part 2 covers all the fields in detail. Part 3 is a deeper dive into the fields using other tools.

 

node.js Community Event: Rough Cut Videos

Joyent hosted a node.js community event at our San Francisco offices the other evening, in which Ryan Dahl announced a new version of node.js, and Brendan Gregg showed some amazing stuff you can do with Joyent Cloud Analytics on your no.de hosted site to understand what’s going on in your node.js app.

For more details on cloud analytics, see Dave’s and Robert’s blogs, and two more hours of video with Bryan and Brendan demoing.

Technical difficulties with UStream meant I didn’t have a stream recorded to their servers that night, technical difficulties with everything else meant I couldn’t get these rough cuts hosted anywhere til now. This is exactly what you would have seen on the stream (and more), including the bad camera angle which was forced by… oh never mind. A better view of cloud analytics will be forthcoming.

(NB: These videos disappeared from Joyent some time ago. Sorry.)

My New Job

^ top: Ben Rockwood, Deirdré Straughan, Brendan Gregg

I received email from a concerned reader saying: “when a writer stops writing, one of two things is happening:

— you’re blissfully happy, too happy to attempt to put it into words

— you’re utterly miserable, too miserable to find the energy to put it into words”

As I told him, it’s been both. Between health problems and a job/company that were (increasingly clearly) not a good fit for me, I was not in a happy place for quite a while. I returned to work at Oracle in early November after ~5 weeks’ medical leave, but desperately wanted a change.

That change came on December 1st: I began a new job with Joyent, a company which several Sun luminaries (far more luminous than myself) had joined over the previous months. I’m not an engineer, but when big names in Solaris engineering such as Bryan Cantrill, Jerry Jelinek, and Brendan Gregg all head to the same company, it’s time to take a look at what that company might be up to. There were other companies worth looking at for the same reason (and I did), but Joyent won out.

What Joyent does is cloud computing, a buzzword that I suspect even the non-technies among my readers have heard by now. Wikipedia describes it thus: “Cloud computing is Internet-based computing, whereby shared servers provide resources, software, and data to computers and other devices on demand, as with the electricity grid. Cloud computing is a natural evolution of the widespread adoption of virtualization, Service-oriented architecture and utility computing“.

Joyent has been offering cloud computing as a service for over five years: some of your favorite Facebook games run on Joyent infrastructure. But recently Joyent has begun partnering with companies such as Dell to sell our cloud software with their hardware to third parties who want to run data centers and/or sell their own cloud services.

Where do I fit into this? As the new Director of Technical Education, it’s my job to help customers at every level – from end users to service providers to systems integrator partners – learn how to use our stuff. Which means getting highly technical information out of my colleagues and putting it into a format that can be shared with other people: a familiar theme in my working life.

I’ll still be using video, but in this job I will also be designing and likely even personally delivering technical courses, in the classroom as well as via video. This is a return to the early days of my high-tech career, when I designed and taught custom courses in desktop publishing, then installed and trained people to use desktop publishing systems for the World Bank in Cameroon and Tanzania.

As a working environment, Joyent is as different from Oracle as you can get. It’s grown from 22 to 100 employees this year (thanks to some investment, in particular from Intel) and there’s still way too much work for everyone to do. The attitude is very much that things need to get done, and “it’s better to seek forgiveness than ask permission” – which, as old Sun hands know, was once Sun head Scott McNealy‘s mantra. Those who have worked with me or observed me working know that I thrive in this kind of environment, though I’m having to unlearn some Oracle conditioning (amazing what a company can do to you in only nine months).

I was sad to leave my Sun colleagues (those who hadn’t already left themselves), though of course I was rejoining some. I spent Thanksgiving weekend editing The Faces of Sun, a video tribute to some (though nowhere near all) of the amazing people I got to work with and film at Sun.

Since I started at Joyent I’ve been extremely busy (startup hours), and expect that to continue and increase, including some travel. I probably won’t have a lot of time for my site/blog; the best way to keep up with my daily doings will be Twitter @deirdres

Warmest wishes for whatever holiday you celebrate and for a wonderful 2011!

see also: Illumos in the Cloud: What is Joyent Up to?

Video Romance

I love it when unplanned juxtapositions cause unintentional humor. This “sequence” occurred during yesterday’s Oracle TechNet taping of an interview on DTrace between Brendan Gregg and Rick Ramsey.

NB: I have no idea what the cameraman in the background was actually laughing about, it seems to have been an inside joke with the camerawoman behind me.

The session was supposed to have been webcast live, but the live feed had gone down. I’ll let everyone know as soon as the taped version is available. It was a good talk.

How the DTrace Book Got Done

In the last few months, I’ve spent a lot of time on the DTrace book: copy editing, managing the review process, and (ongoing) marketing – keep an eye out for video! Also provided care and feeding and a quiet place to work for one of its authors, Brendan Gregg, shown above.

Brendan and co-author Jim Mauro did an insane amount of work for this book, spending many late nights and long hours to write nearly 1000 pages (before final publishing layout) of mostly original material: 57 topics covered in over 150 new scripts and 150 new one-liners (beyond Brendan’s existing DTrace Toolkit), requiring a lot of new thought and invention. It all adds up to a comprehensive DTrace cookbook that will be useful to sysadmins, developers, students, or anyone needing to provide support and/or performance troubleshooting for systems running Solaris, MacOS X, or FreeBSD.

Here’s the Table of Contents:

1. Introduction
2. The D Language
3. System View
4. Disk I/O
5. File Systems
6. Network Lower Level Protocols
7. Application Level Protocols
8. Languages
9. Applications
10. Databases
11. Security
12. Kernel
13. Tools
14. Tips and Tricks

Appendices:

A. DTrace Tuneables
B. D Language Reference
C. Provider Args Reference
D. FreeBSD Guide
E. USDT Example
F. Error messages
G. DTrace Cheatsheet
Glossary

The picture below was taken in the final throes of writing, when Brendan got down on the floor to plug in his laptop, and didn’t have time to get up again: he was chatting online with Jim, ironing out last-minute details. The manuscript is now with the publisher for final editing and layout – and we can all breathe a sigh of relief.

NB: This is a companion post to How ZFS Really Gets Done, in what might be an ongoing series about “My Life Among the Geeks” (hey, I’m allowed to use the term – I’m a geek, too).