Constant Thinking

Posts tagged "analysis"

2 posts
4 commands that help you find bottlenecks

My Favorite Oracle Solaris Performance Analysis Commands

Obsolete | In Solaris
| 16 minute read

A while ago, we discussed some performance analysis basics:

  • Define what your problem is.

  • Figure out your goal: What metric needs to be in what ballpark for you to declare victory?

  • Analyze your system from the inside out: CPU, RAM, Disk, Network. Your Bottleneck is always in one of these 4 regions.

So what are the best commands for finding bottlenecks in each of the four categories above? Here’s part two of my Oracle Solaris Performance cheat sheet with some favorite tricks.

bottleneck.jpg

My Personal Oracle Solaris Performance Analysis Cheat Sheet

Obsolete | In Solaris
| 6 minute read

Over time, you tend to learn a Solaris performance trick or two. Or three. Or more. That’s cool, it’s how stuff works: You learn, you do, you remember.

Performance analysis and tuning is just like that: You learn a trick from a person that is more senior than you are, you apply it, you feel like a hero, you learn the next trick.

But having a bag of tricks is not enough. Because then you start trying out stuff without a system, and spend useless time hunting that problem with a hit-and-miss approach, gut-based only.

Therefore, I’m always glad to listen to Ulrich Gräf when he does one of his famous performance tuning workshops (if you’re lucky, you can catch Uli blogging in German here (no link, sun.com no longer exists)), because he’ll give you the full view, the context and the system too, when it comes to performance analysis.

So here’s my personal cheat sheet for Oracle Solaris Performance Analysis, including some guideance on how to systematically catch that elusive bottleneck.