Category Archives: what I do

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.

 

illumos in the Cloud: What is Joyent Up to?

For years – decades, even – Sun Microsystems held some of the world’s greatest engineering talent fast in its cozy embrace. Then, as so often happens, acquisition unleashed a storm of change. A year later, a good deal of Sun’s top talent has moved on, including some well-known names from Solaris engineering. I’m sure this tech diaspora will benefit the industry as a whole, as Sun talent spreads far and wide.

For three years at Sun, I worked closely with top Solaris engineers. Many became friends, so I have kept in touch with those who left, and kept an eye on where they went. A number of the best and brightest settled at a cloud computing company out of San Francisco, called Joyent.

Bryan Cantrill, Jerry Jelinek, Brendan Gregg (with whom I worked very closely on the DTrace book), and several other members of Sun’s FISHworks team made the move to Joyent in late 2010. In addition, Joyent had brought on Ryan Dahl (the creator of Node.js, a hot new technology the world was beginning to hear about), Isaac Schlueter and more recently, Tom Hughes-Croucher (author of the upcoming Node.js book for O’Reilly). Putting all these elements together, it was clear that Joyent must be up to something very interesting; I had to become a Joyeur myself to find out exactly what was going on in the company!

We should first spend a few words to answer the question: What exactly is cloud computing? As Steve Gillmor said when asked at the O’Reilly Web 2.0 conference in 2008: to developers, cloud computing means being able to implement ideas at a very early stage, without having to concern themselves about future scaling up. This applies to start-ups and enterprises as well – companies too want a place to implement and deploy their applications or games quickly and flexibly with confidence they can scale rapidly if needed.

A good cloud hosting company provides the just-right amount of computing infrastructure, exactly when you need it. This includes “bursting” CPU capacity, so that your Facebook game doesn’t fall over when it suddenly goes viral, making you a victim of your own success. A good cloud hosting company has monitoring tools that can tell the difference between a short-term surge in traffic and a longer-term need to scale up capacity. Launched in early 2004 as one of the early pioneers of cloud computing, Joyent was the platform of choice for many popular web startups, including Twitter, WordPress and more. Over time, Joyent’s public cloud service became hugely popular with casual/social game studios, retail and ecommerce companies and many social networking applications. While the public face of Joyent has been a cloud computing service much like Amazon’s (but a lot faster), at heart Joyent is a software company.

I was already familiar with Joyent as one of the most innovative users of OpenSolaris: Ben Rockwood was a frequent conference speaker on OpenSolaris and related topics, and was active in the OpenSolaris community. Joyent was also one of the biggest contributors to OpenSolaris patches and is now a supporter of Illumos.

Based on Illumos, Joyent has created its own operating system, SmartOS, optimized for cloud computing. Why make a cloud kernel based on Illumos? From the cloud operator’s perspective, the advantages are obvious:

Maximize resource usage

  • Illumos virtualization (zones and Crossbow network virtualization) lets a cloud hosting provider put more customers on the physical server (each in their own SmartMachine), while still giving all of them phenomenal performance. Joyent’s servers typically run at 70% CPU capacity, against an industry standard of around 30%.
  • Creation and startup of additional zones – in other words, adding new paying customers – is nearly instantaneous.
  • 100% of RAM is allocated to SmartMachines or repurposed for SmartCache as an ARC-cache layer between application and disk.

Maximize performance

  • No hardware emulation means the machine runs much faster; SmartOS is the hypervisor.
  • In cloud computing, latency is everything. ZFS with ARC dramatically improves disk performance, reducing a major source of slowdowns.
  • 3X more transactions per second compared to Amazon EC2 of similar size and cost.

Know what’s going on

  • Users of Solaris, Illumos, Mac OS X and FreeBSD know that DTrace gives you an unprecedented view throughout the software stack. But all that power comes at a price: using DTrace effectively requires expertise. The Joyent team is now harnessing the power of DTrace in a more user-friendly form with cloud analytics, which will be available to Joyent customers via a GUI and an API.

Companies who want to take advantage of the benefits of the cloud – variable costs, flexible resource usage, and affordability – are choosing Joyent for the efficiency it offers compared to legacy cloud systems. Thank you, Illumos, for giving us much better utilization and faster performance, and hence lower costs to customers.

The power of SmartOS is now available to another kind of Joyent customer: the Service Providers (telcos, ISPs, datacenter operators) who are using Joyent’s cloud software to deliver cloud services to their customers. With the cloud market expected to grow from 30-55% in coming years, it’s no wonder that so many existing providers want to get into the cloud business too. And Joyent is making this very, very easy to do.

Led by VP of Engineering Bryan Cantrill, Joyent’s very talented engineering team has rolled up years of cloud computing experience into a powerful yet easy to use software package, SmartDataCenter 6. This is the fruit of a major engineering effort around multi-tenancy operation in the cloud, including enhancements to OS-level virtualization, DTrace and ZFS. These technologies – powerful and revolutionary as they are – are only the foundation of a cloud operating system. Using Node.js – a Joyent framework for high-throughput, evented-oriented systems – Joyent has built orchestration and management software that turns these foundational OS technologies into a revolutionary cloud offering.

I’m excited to be here at Joyent, working with amazing people on wonderful things. If you’re a current Joyent customer, or a prospect interested in learning more, please drop me a line or go to Joyent.com or JoyentCloud.com to learn more. I’mDeirdre@joyent.com.

originally published in Sun System News

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.)

Joyent End User Tutorial Videos

Wondering what I’m up to in my new job? As mentioned, I work for Joyent, which does cloud computing. In addition to and as part of my job as Director of Technical Training, I’m doing a lot of video (well, what did you expect?) including live streaming events like a talk by Bryan Cantrill and Brendan Gregg on Cloud Analytics.

I’m also helping to produce videos to help customers of Joyent’s public cloud, below are a few examples.

For my Solaris buddies, there’s a special offer still in effect: you can try out a 1GB SmartMachine for just $45 per month (that’s $80 off the regular price). This monthly price is good for as long as you keep your SmartMachine.

Introduction to Joyent Virtualmin and Webmin

Setting Up a New Domain on Your Joyent SmartMachine

Recovering a Password for Your SmartMachine

Accessing Your SmartMachine from Windows Using Putty

Backing Up MySQL with Webmin

I only do final edits on these, the scripting and production are by Joyent‘s Jasun Wurster.

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?