Elena Elisseeva, 123RF.com

Elena Elisseeva, 123RF.com

Identify troublesome energy consumers with PowerTOP

Energy Saver

Article from ADMIN 03/2011
By
Many applications interrupt the CPU when it tries to sleep. PowerTOP not only identifies these evildoers but also provides tips on how to get rid of them.

When the CPU runs out of things to do, it automatically switches to one of several sleep states. Modern processes do this multiple times per second. The deeper the CPU sleeps, the less power it needs. For this reason, you should not wake it up until you really need to do so. Unfortunately, some arrogant processes and device drivers keep waking up the processor, thus adding to your electricity bill.

Detective Work

The PowerTOP tool identifies just these types of processes on Linux systems. It monitors all the active processes and device drivers, calculates their power consumption, and then shows you which ones are likely the biggest power wasters. Additionally, the internal database provides power-saving tips that PowerTOP will apply at the press of a button.

This feature gives laptop users in particular the ability to extend battery life, and it lets server operators reduce their energy costs, which is an important consideration if you happen to run a server farm. The tool also lets software developers test at an early stage to see whether or not their software interferes with the processor too often.

PowerTOP was created in 2007 by Intel and will run on AMD, ARM, and UltraSPARC processors with some restrictions. The tool is available under the free GPL v2 license and is now included by most major Linux distributions. However, older versions are typically in the repositories. More recent versions offer more power-saving tips, so you might want to download the current source code archive from the PowerTOP website [1] and build the tool yourself.

To do so, you'll need the C compiler, make, gettext, and the developer packages for libncursesw. Note that the w here is not a typo; it refers to the wide-character version of the popular ncurses

...
Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy ADMIN Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • PowerTOP

    Many applications interrupt the CPU when it tries to sleep. PowerTOP not only identifies these evildoers but also provides tips on how to get rid of them.

comments powered by Disqus
Subscribe to our ADMIN Newsletters
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs



Support Our Work

ADMIN content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.

Learn More”>
	</a>

<hr>		    
			</div>
		    		</div>

		<div class=