PowerTOP 1.1 for OpenSolaris was released earlier this week, featuring some cool enhancements to the tool and a lot of improvements to the code. Brian Leonard at the Observatory posted a cool review of the new version and Dave Stewart from Intel also posted some nice things about it.
I'd just like to point out a few other cool things about the new version:
- The code has improved a lot since the last version, we picked up a series of bugs along the way and crossed them. So PowerTOP runs much smoother now.
- PowerTOP 1.1 has extended the -d option (which dumps the analysis to the stdout) so that it does a specified number of analysis and dumps. This is very useful when you want to automate the tool. For instance,
$ powertop -t 3 -d 10
will run PowerTOP with a 3 second interval period for ten iterations and dump each of them to the stdout. - PowerTOP will run on xVM domains (including dom0) as of snv94.
- The event report now takes cross calls into account. Cross calls (or xcalls) and Interprocessor Interrupts are basically a processor poking another processor. Those pokes can wake CPUs up and lead to higher power consumption. Both xcalls and IPIs are listed under the xcalls column in mpstat(1M). PowerTOP reports them as cross calls.
A cool thing to do when running PowerTOP is to increase the height of the terminal window so that the event report is able to list more events. This is most evident in cases where the system has a high number of P-states, as the tool resizes its subwindows automatically to show all of them.
If you're interested in PowerTOP, just join tesla-dev@opensolaris.org and drop us a line. We also have a category for our bugs/RFEs under defect.opensolaris.org, feel free to file one if you have it :)
