Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Intel's PowerTOP Extends Linux Battery Life

Posted by kdawson on Thu May 17, 2007 12:32 PM
from the using-the-hooks dept.
DuracellFan writes "Intel recently released its PowerTOP utility, which builds on work done by kernel developers to make the Linux kernel power-efficient. PowerTOP gives a snapshot of what apps are consuming the most power. The PowerTOP website also hosts patches for several Linux apps and the kernel. In the Linux.com article, lead PowerTOP developer Arjan van de Ven of Intel says that PowerTOP could soon show which applications keep the disk busy." Linux.com and Slashdot are both part of OSTG.

Related Stories

[+] Intel Releases Several Projects to Help Save Power 83 comments
GeekyBodhi writes "LessWatts.org is Intel's new website that hosts several power saving tools. As Linux.com reports, it also shares tips and tricks to help optimize power consumption on hardware from portable devices running on batteries to large data centers. 'LessWatts.org is not about marketing, trying to sell you something or comparing one vendor to another. LessWatts.org is about how you can save real watts, however you use Linux on your computer or computers.' As reported on Slashdot earlier, this isn't the first time Intel has tried to help Linux users cut their power bills. In May, the company launched the PowerTOP program that monitors individual processes to keep track of power consumption. The project comes at a time when more vendors are pre-installing Linux on handhelds and laptops." Linux.com and Slashdot are both owned by SourceForge.
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.

Intel's PowerTOP Extends Linux Battery Life 25 Comments More | Login /

 Full
 Abbreviated
 Hidden
More | Login
Keybindings Beta
Q W E
A S D
Loading ... Please wait.
  • by anss123 (985305) on Thursday May 17 2007, @12:41PM (#19164085)
    The hardware that runs it does! Typical Intel, trying to shift the blame.

    :)
    • Re: (Score:3, Funny)

      Yes, but if we outlaw the manufacture, possession, or sale of hardware, then Linux won't be able to get any, and the tragedy of wasted power will end! Think of the children!
  • PowerTOP not for casual users (Score:3, Insightful)

    by zborro (591127) on Thursday May 17 2007, @12:45PM (#19164183) Homepage
    Of course this utility is very useful for developers and for Linux distributors.
    For the average user it is a nightmare.
      • Re: (Score:2)

        Despite the humour/sarcasm in your post... i think in some cases the developer/vender should clearly indicate that it will cost additional money in electricity to run. And it should be -clear- not hidden in some EULA.

        Projects like "folding@home" for PS3 wh
      • by DrYak (748999) on Thursday May 17 2007, @01:05PM (#19164549) Homepage
        DEAR User,

        Sorry but you're mistaken.

        You actually discovered our latest feature.
        You haven't read about it yet, because we were developing and testing it until very recently, and we didn't want to speak to early about it.

        We, as developers conscious of their travelling users, that have so much time that they need to work as they are in the train, have though of YOU !

        As such we present you our latest feature :
        WE GIVE YOU THE POSSIBILITY TO COOK YOUR DINNER ON YOUR LAPTOP (so you can do even more important things during the time you're commuting, which will leave you more free time when you reach your destination !)

        Alternatively, you can also use our application on your laptop as AN INCREDIBLE AND COMPACT LAP-WARMER !!! For all those long commute during winter.
        (DISCLAIMER : Warning, do not use with Batteries manufactured by Sony).

        Thank you, wish you enjoy our brand new features.

        - The Dev team.
        [ Parent ]
  • The blurb says that the tool told him to disable beagled which he did and he was duely impressed when the number of wake ups per second dropped. However the actual watts used went up. Thought the point was to save power?
    • Re: (Score:2)

      You're assuming that nothing else at all changed on the system to add to power consumption. Such as activity (both CPU and disk) when he shut down Beagle for example.

  • Laptops??? What about my server farm? (Score:4, Interesting)

    by mpapet (761907) on Thursday May 17 2007, @01:05PM (#19164551) Homepage
    C'mon what are we talking about here, a few minutes? AFAIK, better power savings comes through a good acpi config, which I don't see a whole lot of discussion on.

    My guess is where this kind of thing would make a dollars/cents difference is in the NOC. But this kind of detail isn't very sexy or very high on most NOC operators radar.
    • Re: (Score:3, Insightful)

      C'mon what are we talking about here, a few minutes? AFAIK, better power savings comes through a good acpi config, which I don't see a whole lot of discussion on.


      It could mean as much as an hour or two, depending. The less the CPU sleeps, the more power i
    • How about hours? (Score:5, Informative)

      by eddy (18759) on Thursday May 17 2007, @01:12PM (#19164659) Homepage Journal

      Success Stories [linuxpowertop.org]

      "With PowerTOP, I managed to increase the battery life of my Panasonic R4 laptop from 4 to almost 7 hours" -- Keith Packard, Principal Engineer at Intel

      Guess you could accuse him of bias...

      [ Parent ]
      • Re: (Score:3, Informative)

        Kieth was well-known in the Linux world before he went to work for Intel. He's largely responsible for the composite X extension, and even the Xorg fork. I also believe he had some influence on the technology responsible for making compiz work. I rememb
        • Re: (Score:3, Informative)

          If you just read the site (it's very small) you'll see that there are many no-obvious [mozilla.org] things you can detect with it. I personally do however consider it primarily a developer tool, but that might change. But even non-coding users can find out that the CDRO
    • Re: (Score:3, Interesting)

      That depends. Laptops are saving power because presumably they're idle most of the time and this program can tell you which processes behave badly while "idle" (by, say, polling the HDD for no good reason). On a server presumably your machine spends very
    • Re: (Score:3, Insightful)

      C'mon what are we talking about here, a few minutes? AFAIK, better power savings comes through a good acpi config, which I don't see a whole lot of discussion on.

      Do you even know what ACPI is? Have you read the link? (clearly not)

      No matter how well your "a
    • Re: (Score:3, Interesting)

      My guess is where this kind of thing would make a dollars/cents difference is in the NOC. But this kind of detail isn't very sexy or very high on most NOC operators radar.

      Our FreeBSD servers auto-throttle their CPU speeds down when idle. The average run

    • Re: (Score:3, Informative)

      C'mon what are we talking about here, a few minutes? AFAIK, better power savings comes through a good acpi config, which I don't see a whole lot of discussion on.

      The biggest and easiest power savings come from CPU frequency scaling (if your processor suppo
  • My results (Score:5, Interesting)

    by rg3 (858575) on Thursday May 17 2007, @01:49PM (#19165375) Homepage
    I have just tried the thing. I achieved less than 20 wakeups per second when my KDE desktop is idle, but learned a few things on the way. For example, by using a USB mouse instead of the laptop touchpad I am unable to reach state C3. It's reached when I unplug the mouse. I suppose I'll have to put up with it, because I can't stand the touchpad. On the other hand, I used to have KMail opened in a second virtual desktop to check for mail every 60 seconds, but I discovered that the bastard was waking up twice a second for no apparent reason, so I have started to use Korn (the mail check systray thingy). There are still some applications that wake up for no reason apparently. For example, why does klipper wake up once per second? And the same goes for kwrapper. I don't even know what that is. Can somebody explain in detail? Google isn't very specific about it.

    But yes, the application is very interesting. Sorry, Intel, my laptop has an AMD processor. The next one will be Intel, with an Intel graphics card and an Intel wireless card. I promise. :P
  • arts patch (Score:3, Interesting)

    by IceFox (18179) on Thursday May 17 2007, @02:06PM (#19165709) Homepage
    A KDE developer used it and made a patch for arts on his blog [homelinux.org]. I look forward to what other developers find and fix.
  • by PPH (736903) on Thursday May 17 2007, @04:05PM (#19168247)
    ... its a tie between my USB-powered arc welder and all the kewl blue LEDs.
    • Re: (Score:2, Insightful)

      No wonder people say Linux has bad driver support. This is like running windows98 today and claiming that modern devices have no drivers.
      Even RHEL and Debian stable, which make up a huge chunk of enterprise server linux in the USA use 2.6 kernels.
    • Re:Old Kernels (Score:5, Insightful)

      by VON-MAN (621853) on Thursday May 17 2007, @01:01PM (#19164467)

      Most people i know still run 2.4.x
      On a laptop? Sorry, that's stupid.
      [ Parent ]
    • Re:Old Kernels (Score:5, Funny)

      by diegocgteleline.es (653730) on Thursday May 17 2007, @01:17PM (#19164763)
      Most people i know still run 2.4.x and Slackware still ships with 2.4 as default.

      Slackware users don't know people. Stop lying! It's just yourself who runs 2.4, right?
      [ Parent ]
    • Re: (Score:2, Informative)

      Doesn't really matter. You can make yourself a custom kernel just to check your apps and services with NO_HZ. Then when you've identified the misbehaving processes you can fix them and start using your old kernel again.
    • Re:How stable is CONFIG_NO_HZ? (Score:5, Informative)

      by Ant P. (974313) <anthony.parsons@ m a n x .net> on Thursday May 17 2007, @02:36PM (#19166367)
      I'm using NO_HZ on my P4 desktop. It was horrible in old patches, but the version in the mainline kernel (>= .20) is solid as a rock.

      I gave the powertop thing a try the other day. Seems the worst offender on my machine is MPD, even when it's not doing anything.
      [ Parent ]
    • Re:Useless (Score:5, Insightful)

      by Andy Dodd (701) <atd7@corneERDOSll.edu minus math_god> on Thursday May 17 2007, @01:43PM (#19165287) Homepage
      Wrong.

      Can they fix the application? Yes. See the list of numerous patches to various "notorious" offenders.

      Before you comment about patches being too difficult to apply - in nearly all cases those patches have been sent upstream and are being integrated into the app by the developers of that app. The end result is that while in the short term, PowerTOP benefits only power users who can patch and compile from source, it has enabled identification of offending sections of application code so that the application authors can fix it. (For example, the next release of Pidgin will come with numerous fixes for behavior found with PowerTOP.)

      In short:
      PowerTOP has almost no benefit for the "normal" user in the short term
      PowerTOP has quite a lot of potential benefit for the "power" user
      PowerTOP has the ability to enable application developers to make optimizations that help the "normal" users some time down the line (depending on application/distribution release cycles), thus PowerTOP has great benefit for "normal" users in the long term.

      Can they stop the application? Usually not, but there are some notorious offenders that are "on by default" that most users don't benefit too much from, and would rather temporarily or permanently disable to increase battery life. (See Beagle for example).
      [ Parent ]