Slashdot Mirror


Ubuntu's Power Consumption Tested

RedDragon writes "Ubuntu 7.10 is due out on Thursday, October 18, and in addition to desktop 3D effects, GNOME 2.20, and other features is the use of the Linux 2.6.22 kernel with the tick-less (CONFIG_NO_HZ) kernel feature. But does this mean enhanced power savings when compared to past Ubuntu releases? Phoronix tested Ubuntu power consumption looking back 2-1/2 years at the six Ubuntu releases from Ubuntu 5.04 to the yet-to-be-released Ubuntu 7.10. Testing was done when the system was idling and then under load, and when the Lenovo notebook was powered via the battery and then again with the AC adapter. The Pentium M CPU temperature was also monitored. While Ubuntu 7.10 does include the tick-less kernel feature, more daemons and processes running by default on these modern Ubuntu releases is actually causing an increase in power consumption."

63 of 330 comments (clear)

  1. Is this supposed to be a surprise? by cleatsupkeep · · Score: 5, Interesting

    I'm confused - don't computers now use more power then they used to? Because of new software and being able to do more powerful things?

    I mean - Vista will use more power than Windows XP, OS X will use more power than Mac OS 9.

    Or is there a fundamental flaw in my logic that I'm missing here?

    1. Re:Is this supposed to be a surprise? by imbaczek · · Score: 3, Insightful

      Or is there a fundamental flaw in my logic that I'm missing here? Yes, you are. Some parts are manufactured with power consumption being #1 priority and software is also getting smarter. (As TFA admits, at least theoretically :grin:>)
    2. Re:Is this supposed to be a surprise? by reset_button · · Score: 4, Insightful

      Some parts are manufactured with power consumption being #1 priority
      Since all of the tests were run on the same hardware, power-efficient hardware is taken out of the equation.
    3. Re:Is this supposed to be a surprise? by Cruicky · · Score: 5, Interesting

      It would have been nice if the article confirmed that the HPET timer was active, which I believe is rather important for the tickless kernel to work most efficiently.

    4. Re:Is this supposed to be a surprise? by volsung · · Score: 2, Informative

      By going to smaller transistors, lower voltages, and more clever power management schemes, they have managed to get more work done per watt than before. A new 3 GHz Athlon64 X2 requires 89W of power, whereas the old 1.4 GHz Athlon Thunderbird used 74W.

    5. Re:Is this supposed to be a surprise? by noidentity · · Score: 2, Insightful

      Yeah, it's not the OS that's supposed to be using much of the new power; it's user applications. If anything, operating systems can reduce system usage by improving how they allocate system resources. I wouldn't be surprised if Mac OS X were more efficient than Mac OS 9 in some ways, due to having real multitasking and decent virtual memory (funny I'm typing this on my Mac OS 9 machine).

    6. Re:Is this supposed to be a surprise? by dpilot · · Score: 4, Informative

      The HPET stuff is now scheduled for merge into the 2.6.24 kernel. I've had to patch my earlier kernels to get HPET, which as you say is really necessary for tickless to do its stuff. The article suggests that this is a stock Gutsy installation. But then again, most distros do a bit of custom patching of their kernels. In particular, Gentoo does not include the HPET patch.

      So the question here: Does the Gutsy kernel have the HPET patch applied?

      If not, then these power numbers are definitely pessimistic, presuming that they move to an HPET kernel (2.6.24+) as it's available.

      Someone here with a Gutsy system should run "powertop" on it, and let us know. IIRC, powertop suggested that I use the HPET, and with a little digging I found that a patch was needed, and took care of it.

      --
      The living have better things to do than to continue hating the dead.
    7. Re:Is this supposed to be a surprise? by A+beautiful+mind · · Score: 2, Informative

      HPET is in the vanilla linux kernel since at least 2.6.21, because I had it working after a motherboard flash update. The patches you talk about is actually helping to enable HPET support for some chipsets, but are not mandatory for a working HPET support.

      --
      It takes a man to suffer ignorance and smile
      Be yourself no matter what they say
    8. Re:Is this supposed to be a surprise? by SuperQ · · Score: 5, Informative

      Does this answer your question?

      $ grep HPET /boot/config-2.6.22-14-generic
      CONFIG_HPET=y
      CONFIG_HPET_MMAP=y
      # CONFIG_HPET_RTC_IRQ is not set
      CONFIG_HPET_TIMER=y
      CONFIG_HPET_EMULATE_RTC=y

      $ dmesg | grep hpet
      [ 8.328261] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
      [ 8.328266] hpet0: 3 64-bit timers, 14318180 Hz
      [ 0.744000] Time: hpet clocksource has been installed.

    9. Re:Is this supposed to be a surprise? by rmerry72 · · Score: 2, Insightful

      A new 3 GHz Athlon64 X2 requires 89W of power, whereas the old 1.4 GHz Athlon Thunderbird used 74W.

      So a new CPU is using 20% more power than the old one. Doesn't sound more power efficient to me. Better efficiency would involve the second number being lower than the first.

      Sure but "it does more faster" I hear you say. That needs qualification. With the same battery I'll be able to use my laptop for 20% less time (say 2.5 hours instead of 3). If it does more faster, how come I get 30 minutes less time to use it before my battery craps out?

      What would be better is a CPU that can use up to 89W when it needs it, then falls back to much lower - say 10W - when it idle and waiting for me to type a clever response into Slashdot. You need power consuption is only relevant over a period of time, so figures need to be in Kwh to be of any use. TFA stated tests last 15 min so all figures can be converted to Kwh. Your arguement doesn't.

      --
      We do not inherit the Earth from our parents. We borrow it from our children.
    10. Re:Is this supposed to be a surprise? by gameforge · · Score: 3, Informative

      Better efficiency would involve the second number being lower than the first.
      No. Better efficiency would involve the second number being lower and also having equal clock speeds. The former is multiples faster as it has more than double the clock rate and is a dual core.

      So if you start your number crunching computer program and push "Start" and it takes 15 minutes on the first CPU and over 40 on the second, presuming you were to turn your computer off when the program finished, you'd have used the first one for less than half the time.

      With the same battery I'll be able to use my laptop for 20% less time (say 2.5 hours instead of 3). If it does more faster, how come I get 30 minutes less time to use it before my battery craps out?
      Not really; most laptops and many desktops can scale their speed. If you want to accomplish 15 minutes of work in 40 minutes, you can either throttle the newer CPU's speed (presumably using much less than the full power rating) or replace it with an older processor which is not as efficient (and therefore equally as fast, but likely to use more power).

      If you scaled your new one down to less than the speed of your old one, you'd get more time out of it. So if you're watching a DVD and not really accomplishing a lot of "work", that's what you'd do to get more time than the old laptop but still have more processing power.

      Remember, 3GHz refers to CPU clock cycles per second - an old thunderbird gets less done in a cycle than a new Athlon64 X2. So even a 1.4GHz single core Athlon64 is faster than a 1.4GHz Thunderbird. So you can slow the new one down from 1.4GHz and still get the same work out of it. A DVD might be choppy at 500MHz on a really old machine, but a brand new state of the art processor might be able to deal with it just fine at 500MHz, even if both machines have similar bus and memory speeds and come with the same MPEG decoding video card.

      What would be better is a CPU that can use up to 89W when it needs it, then falls back to much lower - say 10W - when it idle and waiting for me to type a clever response into Slashdot.
      Actually, this is a characteristic of both transistors and vacuum tubes, and therefore literally all CPUs do this. The amount of voltage supplied to the CPU is supposed to be constant - but the more transistors you use, the more amperes are drawn (volts * amps = watts). Relative to peak power usage, the difference between two idle CPUs is likely negligible, even for older models.

      Find a computer with a variable speed CPU fan, and listen for it to shut off when you're idling. Less heat means less power.
    11. Re:Is this supposed to be a surprise? by volsung · · Score: 2, Informative

      You do realize that a dual core Athlon64 is many times faster than an Athlon Thunderbird? You can easily underclock an Athlon 64 until it uses less than 74W, or grab the laptop version with much lower power consumption, and it would still outperform a T-bird. (I grabbed the first power measurements I could find and assumed people could do the scaling in their head.) Modern CPUs also do the power throttling you describe already.

    12. Re:Is this supposed to be a surprise? by iamstretchypanda · · Score: 2, Informative

      What would be better is a CPU that can use up to 89W when it needs it, then falls back to much lower - say 10W - when it idle and waiting for me to type a clever response into Slashdot.

      From http://en.wikipedia.org/wiki/Cool'n'Quiet It works by reducing the processor's clock rate and voltage when the processor is idle.. Before you bash someone else make sure you don't make yourself look like a jackass in the process.

    13. Re:Is this supposed to be a surprise? by aqk · · Score: 2, Interesting

      I'm confused - don't computers now use more power then they used to?

      About 25-plus years ago, I had a computer- it was called an IBM 3090, and it filled the entire basement of a commercial building. I was its system programmer.
      It used a LOT of power- enough to light up a suburban block of houses. And it cost close to a million dollars, and that's without the air-conditioning.

      I am now typing this reply to you on my small desktop-
      It has more than ONE HUNDRED times as much disk capacity as that old computer, about 20 times its RAM (heck just my video card has more RAM than that old computer), and clock speed... well, let's just say my desktop is... umm, somewhat faster.

      But as of yet, I have no thick 440 volt power cables running into my den, and no water-cooled giant air-conditioners humming on my roof.
      Actually, unlike the old mainframe, my PC doesn't need to be water cooled. What a relief!
      (But I understand this relief may be short-lived)

      So do you still think a new Windows (or Linux) system sucks more power than an old IBM deskt..., I mean Factory-top?

      (no jokes about "vista sucks", please)


    14. Re:Is this supposed to be a surprise? by m6ack · · Score: 2, Interesting

      I'm running latest Ubuntu Gutsy on a T43, and "dmesg | grep hpet" yields me nothing.

    15. Re:Is this supposed to be a surprise? by Big+Jojo · · Score: 2, Interesting

      HPET isn't essential for the tickless kernel, not at all. I run tickless on several machines which don't have HPET. I wouldn't swear that their test system was a system with working HPET, for example.

      What HPET is nice for is Higher Precision timer interrupts; what do you think the "HP" stands for?

  2. Snazzy effects by Anonymous Coward · · Score: 4, Insightful

    As cool as these Compiz effects are, they should not be forced upon everyone, just made very easy for people to obtain.

    Plus, this version never actually booted up because it didn't like my Broadcom 4318.

    1. Re:Snazzy effects by F-3582 · · Score: 5, Informative

      Rest assured, it takes you four mouse-clicks to disable them. Every tried that under Vista?

    2. Re:Snazzy effects by DAldredge · · Score: 3, Informative

      Vista takes 5.

      1: Right click on desktop.
      2: Select Personalize
      3: Select Theme
      4: Select Windows Classic
      5: Click OK.

    3. Re:Snazzy effects by DAldredge · · Score: 2, Interesting

      If it took you 5 hours to figure that out then you really do not need to be using a computer...

    4. Re:Snazzy effects by Runefox · · Score: 2, Insightful

      I'd prefer a HW-accelerated interface to one that's more or less driven by the CPU. The flashy effects can be turned off if you don't like that, though some of them (desktop cube, "expose", and so on) actually provide some utility.

      I'm still very disappointed in any OS that can't wobble its windows.

      Boingy boingy. Amusing for idle time.

      --
      Screw the rules, I have green hair!
  3. Other OSes? by p0tat03 · · Score: 5, Interesting

    I'd be more interested in seeing how Ubuntu's power consumption stacks up against Windows and MacOS...

    1. Re:Other OSes? by mpetch · · Score: 4, Funny

      Me too, but I'd need to be able actually read the article with Safari on OS/X first.

    2. Re:Other OSes? by tomee · · Score: 5, Interesting

      I agree. There also seems to be no info on whether they used the 3d-desktop stuff. I would imagine that that would have a much greater impact on the power consumption, and it would be interesting to see some data on that.

    3. Re:Other OSes? by Splab · · Score: 4, Interesting

      In my own experience running Ubuntu 7.04 gives me somewhere between 5,5 hours and 6 hours of battery time. Running windows XP usually gives me around 8 hours of battery time. I use both distributions for development, I code under MS VS (C++) in windows and use VIM under linux for development (also C++).

      Gonna check out the new 7.10 and see if I can get nearer to what windows can give me.

  4. Kind of. by khasim · · Score: 4, Interesting

    Although each newer system does more ... they've also improved the code so that it does so more efficiently. Or in the case of the tick-less kernel, other code has changed.

    So, the question is: Do the improvements offset the additional features.

    The answer is: Yes, to a degree. 7.10beta runs cooler and more efficiently than 7.04 ... but still uses more power than even earlier releases did.

    So the next question is: How many of the new features can you shut off because you do not need them and how much of a power savings will you see then?

    1. Re:Kind of. by ozamosi · · Score: 2, Informative

      Did you use Compiz in Gutsy but not in Feisty, then? A lot of people add Compiz to their Feisty installations, but it is default only from Gutsy, so I'm going to assume that's a "yes" in this post.

      When activating Compiz on my laptop, I start to fear hearing problems, because the fans have to be at maximum speed non-stop (it's a Macbook, and I've been using it in my lap - any reproductive abilities are in other words long gone, so I don't have to fear that), while they are off at all times except when playing games or watching movies when I don't use it. The reason seems to be that the 3d accelerator on the GPU emits huge amounts of heat when being used. This is with intel graphics, which I've heard are relatively cool - I don't even want to think about what it would be like with ati or nvidia.

      The solution? System -> Preferences -> Appearance, the tab Visual Effects, set to None. You may need to log out and back in. This gives you plain, old Metacity, with more and better window management abilities, but fewer bugs.

    2. Re:Kind of. by tepples · · Score: 2, Funny

      I think you mean 3d acceleration. 3d accelerometers measure tilt and motion in three dimensions. I think you mean thrii diimensions. But Wii forgive you.
    3. Re:Kind of. by Big+Jojo · · Score: 2, Insightful

      So the next question is: How many of the new features can you shut off because you do not need them ,,,?

      More like: Why hasn't the Ubuntu team turned off more of that crap by default?

  5. How to test the power comsumption of Linux by Anonymous Coward · · Score: 5, Funny

    1. Run the particular distro.
    2. Make sure the power cord is long and in the open.
    3. Allow a penguin to chew through the cord.
    4. Measure the distance the penguin flies after chewing into the cord. This will give you some idea of the power usage.
    5. Well, don't let that penguin go to waste! BBQ and teriyaki are great ways to make penguin. Personally, I prefer General Tso's Penguin myself.

  6. Sig Fig nitpick by Anonymous Coward · · Score: 5, Insightful

    TFA doesn't specify error bars, which of course makes the results somewhat dubious. They list numbers to two decimal place accuracy (e.g. 48.00), but since all the numbers end in .00, I'm guessing those decimal places are not significant. In other words, the number are only good to within +/- 1 or +/- 2 or something like that. Considering that they are trying to compare numbers that are quite similar (27 to 33), their conclusions may not be reliable.

    When comparing numbers, an estimate of the error is crucial. If the difference between two measurements is smaller than the error, then you cannot meaningfully say they are different.

    1. Re:Sig Fig nitpick by DarkMantle · · Score: 2, Informative

      Sorry to ruin your nit pick but a quick google search tells me that the SeaSonic PowerAngel used in the test has an accurazy of 2%.

      So a 2% variance on 33 watts is between 32.33 and 33.66. The 27 would be between 26.46 and 27.54.
      of course, this is approxamate I just got what 2% of 33 was and added/subtracted. It's the lazy mans math.

      --
      DarkMantle I been bored, so I started a blog.
    2. Re:Sig Fig nitpick by volsung · · Score: 2, Insightful

      So that's one piece of the uncertainty on the measurement. The next piece we need is how much the power reading fluctuates while the computer is in a "steady" state. Using my Kill-A-Watt, I've seen short time variations of a few watts on a computer (though it drew more power than a laptop).

  7. Does Ubuntu benchmark this kind of thing? by maubp · · Score: 2, Interesting

    Does anyone know if Ubuntu actually have machines hooked up to measure this kind of thing in house, looking for regressions in power usage? I gather the OLPC project has thing kind of thing as part of their build system (driven off the code repository), but they are naturally particularly concerned about battery life.

    1. Re:Does Ubuntu benchmark this kind of thing? by LingNoi · · Score: 2, Insightful

      I don't think Canonical does much in-house testing. I thought they got the community to do almost everything to do with Ubuntu, apart from employees who live around the globe and commit their code to the servers.

  8. misleading by wizardforce · · Score: 4, Informative

    very misleading healine. I RTFA and if you look at the nice graph, it actually shows a decrease in power usage since feisty and just about what the prior versions were. AC power consumption idling went from 31 to 29 from feisty to gutsy. while loaded, it went down slightly from 51 [feisty] to 50 [gutsy] the only thing that gutsy was higher in was battery discharge rate idle- it was at 22.26 while feisty was at 21.16. while loaded on battery it went down from 33.51 to 32.21 from feisty to gutsy.

    --
    Sigs are too short to say anything truly profound so read the above post instead.
  9. News: More Processing Requires More Power by reidbold · · Score: 4, Funny

    toast, still not free

    --
    -Reid
  10. Well duh! by pair-a-noyd · · Score: 3, Interesting

    "more daemons and processes running by default on these modern Ubuntu releases is actually causing an increase in power consumption."

    Ya think?

    I just install OpenSuse 10.3 on a tower type and a laptop.
    The first thing I do is go in and disable a whole slew of bullshit that's enabled by default.
    I LOVE Linux but the trend lately has been to BLOAT it up like a new eMachine that's preloaded with 40gigs of bullshit.

    What ever happened to minimal? When I installed Suse 9.3 on my Athlon 64 w/1g ram, it ran like a cat with it's ass on fire.
    SAME hardware with OpenSuse 10.2 was abysmal. It was sooooo bad that I was just about to give up on it then 10.3 came out.
    It's a slight improvement but, damn! They are developing all the new distros with the assumption that everyone is going to run out and buy all new shit. Shades of M$, dare I say??

    For the longest time Linux captured and held my heart because it would run so fast on the oldest, worst case hardware.
    No more. Wanna run the latest distro? Better put some $$$ back for all new hardware...

    Bloat = power drain.

    How about getting back to basics and quit focusing on the bling-bling. Linux is NOT windows and it never should be. Quit trying to make it look and act like windows. Quit trying to make it run windows crap. Be happy that it's not windows. I do not want windows compatibility. At all. Ever.

    Kill the bloat and pork and watch power consumption go down. Not to mention the old PC's being tossed out into the environment.

    1. Re:Well duh! by dvice_null · · Score: 2, Informative

      > What ever happened to minimal?

      You would like to have a light Linux distribution? Something like this perhaps:

      http://www.puppylinux.com/
      http://featherlinux.berlios.de/about.htm
      http://www.damnsmalllinux.org/

    2. Re:Well duh! by Simon+(S2) · · Score: 4, Informative
      There is. http://www.xubuntu.org/

      It is lighter on system requirements and tends to be more efficient than Ubuntu with GNOME or KDE, since it uses the Xfce Desktop environment, which makes it ideal for old or low-end machines, thin-client networks, or for those who would like to get more performance out of their hardware.
      --
      I just don't trust anything that bleeds for five days and doesn't die.
    3. Re:Well duh! by BlueParrot · · Score: 4, Insightful

      How about getting back to basics and quit focusing on the bling-bling. Linux is NOT windows and it never should be. Quit trying to make it look and act like windows. Quit trying to make it run windows crap. Be happy that it's not windows. I do not want windows compatibility. At all. Ever.

      Kill the bloat and pork and watch power consumption go down. Not to mention the old PC's being tossed out into the environment.


      Ubuntu certainly isn't windows. That is why you can open the package manager and purge most of the stuff that you find bloated, or use Xubuntu, which is designed to have lower requirements yet still be easy to use. Or if you REALLY want to streamline your system you could install a distro with that purpose, like DSL or Feather Linux. If that is too limited for your needs you could grab a minimal debian install and only install the packages you want.

      My point? Different users have different needs. Ubuntu is explicitly targeted and those people who WANT an easy to use GUI and those people who WANT painless support for things they expect to just work. Making an operating system which caters to those users is the main purpose of the Ubuntu project. If your main priority is a streamlined system, then quite frankly you should be looking at something targeted at that rather than complaining about Ubuntu. Besides, it is not as if Ubuntu doesn't run just fine on moderate hardware. I'm using the Gutsy beta on a 5+ year old workstation my dad's job threw out because it was "old" as an example.
    4. Re:Well duh! by WK2 · · Score: 2, Informative

      There is. http://www.xubuntu.org/

      Or http://www.fluxbuntu.org/

      pair-a-noyd's rant is seriously misdirected. Linux is whatever you want it to be. That is one of the advantages of having several hundred active distros.

      --
      Write your own Choose Your Own Adventure. http://www.freegameengines.org/gamebook-engine/
    5. Re:Well duh! by corychristison · · Score: 4, Interesting

      I've got an older system here... I built it roughly 5 years ago (I think -- I may be over-estimating). It's an AMD Athlon XP 2500+, 1GB OEM RAM, 120GB SATA Hard drive, and an Nvidia FX 5200 video card (I think)...

      I used to run SuSE 9.1 and was running it fine for 3 years or so... then came time to try and upgrade to a newer version. Of course this is right around the time that Novell bought SUSE and changed it up a bit. So an easy upgrade was indeed not possible. I decided to try out a few distributions but had a lot of problems finding one that would work fast and I ended up on Gentoo. I know, I know, compile time was a pain in the ass... I decided to go down the XFCE route and use all of the lighter-weight GTK programs... I think I only have one QT program that I actually use installed and it only depends on QT, nothing else.

      Xubuntu ran O.K... but not anywhere near as nice as Gentoo is. I think it's not the fact that it was compiled and optimized... I beleive it's because during installation I learned more as I set it up. And I knew what I wanted/needed to run the system. Whereas Ubuntu makes a lot of choices for you, mostly in system services, etc. I have a total of 29 items that start up when I boot. I think only 10-15 of them are actually daemons. Right now I am using 215MB or so of my 1GB of RAM... this is with Firefox (4 tabs), Thunderbird w/Lightning, aMSN, Terminal, Mousepad and a whole slew of items on my panel.

      If you want lightweight, make sure you know exactly what is going on your system. And use something like XFCE or Fluxbox versus KDE or Gnome.

      Just my two cents. :-)

  11. More features - Same power by Cryophallion · · Score: 5, Insightful

    Actually, I think it is rather impressive that 7.10 (which has eye candy on by default) has slightly less power consumption than 7.04 (no eye candy by default).

    In other words, they increased features while decreasing (generally) power consumption. While it seems to be only about 1 or 2 watts lower (excepting battery idle where it is slightly higher), we are only talking 3-5 watts difference over 2.5 years of updates. In fact, it went down 4 watts using ac idle compared to 5.04, which I am sure had far fewer daemons/features.

    Some of this may be better code etc. However, I think we should be giving the people who have been doing the coding here major Kudos for doing getting the most out of our computers (whereas MS wants us to quadruple our ram to use eye candy, they are doing it with the same amount of ram standard 4 years ago on a desktop, and keeping power down). I don't even want to think of what Vista must use in power.

  12. AMD64 by Nimey · · Score: 4, Informative

    Laptop users may want to stick with 32-bit Ubuntu, since the CONFIG_NO_HZ (tickless kernel) option isn't available in 64-bit kernels yet.

    If you're feeling adventurous, patches here: http://www.kernel.org/pub/linux/kernel/people/tglx/hrtimers/

    --
    Hail Eris, full of mischief...

    E pluribus sanguinem
  13. I can believe that by MikeRT · · Score: 3, Interesting

    I was pretty amazed with the beta of Ubuntu 7.10. I even installed it on my system, but after about 30min-1 hour of use, trackerd was consistently keeping my CPU usage up at least 30%. That's not the fault of the Ubuntu team, as they did not write trackerd, but they really do need to be careful about the daemons that they allow to run in the background on a default installation. I don't know what it is there for, but according to this description, it doesn't sound like it is something that a vanilla, desktop installation would want on there. The approach to background processes should be the KISS. On a vanilla desktop installation, only the barest set of such thing should be on there.

    1. Re: I can believe that by Dolda2000 · · Score: 5, Informative

      I don't know what it is there for, but according to this description, it doesn't sound like it is something that a vanilla, desktop installation would want on there. That's not the trackerd you're looking for, though (for future record: You may want to try dpkg -S /usr/bin/trackerd, followed by dpkg -s $PACKAGENAME to find out what it is). Trackerd in the latest Ubuntu is a desktop search thingie, similar to Spotlight or whatever the Vista thing is called. I'd imagine that the load you were seing after about ½-1 hour of use was that it was still busy indexing your preexisting files. Once it gets past that, it gets quite calm in my admittedly limited experience.

      The approach to background processes should be the KISS. On a vanilla desktop installation, only the barest set of such thing should be on there. If that's what you want, maybe you shouldn't be using Ubuntu?
    2. Re: I can believe that by EvilRyry · · Score: 2, Informative

      There is an option to not index while on battery power. I know in earlier alphas that option didn't actually work, hopefully that is fixed by now.

  14. too much crap by m2943 · · Score: 2, Insightful

    There are way too many daemons running on modern Linux systems; it really shouldn't require separate processes for I/O, settings, hardware configuration, every little panel thingy, etc.

    1. Re:too much crap by A+beautiful+mind · · Score: 2, Insightful

      So what are the alternatives?

      Either you bundle them in one horrid complex mess where maintainability gets inverse squared with any new feature, or you simply don't use the feature at all. With lots of separate daemons you have the option to axe those you don't want/need and the rest are benefiting from a modularized way of looking at things.

      --
      It takes a man to suffer ignorance and smile
      Be yourself no matter what they say
  15. Re:No variance with one observation by volsung · · Score: 2, Insightful

    One could roughly estimate the variance by looking at the meter fluctuations while taking the reading, or checking the design accuracy of the meter in the manufacturer's data sheet. You need some kind of estimate if you are going to draw any conclusions (which the authors of TFA were attempting to do).

  16. Good but... by suv4x4 · · Score: 2, Insightful

    I really wish they put Ubuntu next to latest XP, latest Vista and latest OSX (ok I guess they could wait few days for Leopard to get out).

    As an XP user, two Ubuntu tests don't give me a clear picture of how this relates to the OS I use right now. I do suspect Ubuntu will have lower power consumption than XP, and for Vista the margin will be pretty wide.

    But how much exactly..?

    1. Re:Good but... by darthflo · · Score: 2, Informative

      I do suspect Ubuntu will have lower power consumption than XP, and for Vista the margin will be pretty wide.
      In my experience it's the other way round. XP would use the least energy with Vista and Ubuntu eating up quite a bit more (Ubuntu usually being worse than Vista).
  17. 30 Watts? WTF? by zdzichu · · Score: 2, Interesting

    There must be something very wrong with tested system or Ubuntu configuration. 30 watts idle consumption is very, very wrong. My Thinkpad z61t idles at 13-14W with Ubuntu 7.04 Feisty Fawn. I expect lower value after upgrading to 7.10. And maybe even lower when I roll my own latest kernel with patches from lesswatts.org. I would be happy to go to 10W on idle, it would match advertised 6.25 hr worktime with 65Wh battery I have.

    --
    :wq
  18. Problem: Too many useless processes by arw · · Score: 2, Insightful

    The main problem with power consumption is a "We no longer care about CPU cycles" attitude among many programmers, especially among the KDE and Gnome crowd. Why is there a daemon for every little thing programs could formerly handle by themselves or through libraries?

    Like gconfd for parsing configs and watching them for changes. Or dbus, as if there were no othere proven methods for IPC, that don't require another daemon idling around and waking up every other millisecond eating away battery life. Or just log out from a KDE session and watch those 10 or so beauties like dcopserver idling aroud, eating memory. And does anybody even know what something like bonobo-activation-daemon does?

    The laziness of application programmers has gone much to far, instead of using methods that are provided by the operating system and just require finding them there is a load of new, redundant mechanisms mostly implemented by new daemons. Every programmer introducing some new battery-eater should be required to justify this additional power by more than just "its easier this way", "windows also has some registry-parsing daemon" or "but I don't like parsing sysfs myself".

    NO_HZ is nice, but only curing the symptoms of a larger problem: daemon-bloat! Get rid of them and you will see some real improvements.

  19. All of them. by SanityInAnarchy · · Score: 4, Insightful

    So the next question is: How many of the new features can you shut off because you do not need them and how much of a power savings will you see then?

    Given that the stock Ubuntu (if you don't include "restricted drivers") comes with FULL source code, yes, all of them.

    On a more realistic note, most people do need restricted drivers, and most people don't want to mess around with source code. But it's based on Debian, which means, for the most part, you can completely remove services you don't need, point and click, provided you know what they are.

    Then again, I actually do want most of these services -- for example, the parts that make everything plug'n'play, from USB storage to wireless, even the CD "autorun" feature of Windows if you really want it. Most users won't have to think about "mounting" any more than they do on Windows, and somewhat more than they might on OS X, and that's a good thing.

    --
    Don't thank God, thank a doctor!
    1. Re:All of them. by Daengbo · · Score: 3, Funny

      Scary for me -- CDs auto unmount when you press the eject button. When did that happen? Worried I'll start getting BSODs next ...

  20. Re:DRM effects. Re:Snazzy effects by sgtrock · · Score: 2, Informative

    In order to prevent active attacks, device drivers are required to poll the underlying hardware every 30ms for digital outputs and every 150 ms for analog ones to ensure that everything appears kosher. This means that even with nothing else happening in the system, a mass of assorted drivers has to wake up thirty times a second just to ensure that... nothing continues to happen


    From Peter Gutmann's excellent "A Cost Analysis of Windows Vista Content Protection". This paper should be required reading for anyone considering purchasing a Vista PC for ANY use.
  21. Re:DRM effects. Re:Snazzy effects by DAldredge · · Score: 3, Interesting

    From Wikipedia Criticism of Peter Gutmann's analysis of Vista DRM Peter Gutmann's Vista criticism has come under fire after his speech at the USENIX Security Symposium in August 2007.[3] from George Ou (ZDNet) who challenged Peter Gutmann's claims that Vista Content Protection causes so much additional CPU utilization that it increases power consumption and causes global warming.[4] Gutmann made many of the basic assertions in his paper on Vista content protection but made the more extreme statements at Usenix Boston 2007 as reported by PCWorld.[3] Ou cited data that showed no measurable power differences between 5% and 15% CPU utilization on an Intel E6600 dual-core processor and then cited HD playback performance data from AnandTech which indicated less than 7% total CPU consumption during 1080p VC-1 encoded video playback.[5] Ed Bott challenged some of Peter Gutmann's other claims.[6] Ken Fisher challenged Gutmann's claim that Vista content protection extended beyond commercial content in to user generated content.[7] Gutmann admittedly doesn't run Windows Vista and stated in his paper: "Can others confirm this? I don't run Vista yet, but if this is true then it would seem to disconfirm Microsoft's claims that the content protection doesn't interfere with playback and is only active when premium content is present". This statement has recently been removed from Gutmann's website but an older PDF version the paper with that statement can be found here. George Ou later reported that Gutmann relied on web forum postings for several of his key assertions such as excessive CPU and memory consumption in Vista's Media Foundation Protected Pipeline (mfpmp.exe) and AudioDG (Windows Audio Device Graph Isolation) process. Ou's tests showed that the web forum data Gutmann relied on were not repeatable. Furthermore, CPU utilization was wrongly attributed to mfpmp.exe when in fact it was actually accounting for all the CPU consumption in mfpmp.exe and Windows Media Player 11 combined.

  22. Powertop Numbers by sciurus0 · · Score: 2, Informative

    On my Dell 1420N (2GHz Core 2 Duo on the Santa Rosa chipset) with an up-to-date Gutsy, a few minutes after logging in to GNOME powertop reports 190 wakeups from idle per second and a power usage of 12.6W. After following all of powertop's recommendations (including disabling bluetooth and reducing wifi power), wakeups and power usage went down to 58 and 11.4W respectively.

  23. Please read Gutmann's work yourself by sgtrock · · Score: 2, Informative

    First, I'll let Gutmann comment on his use of various OSes:

    This is just Microsoft-bashing.

    It's bad-technology bashing. If this had been done by Linus Torvalds, Steve Jobs, Alan Cox, or Theo de Raadt, I'd have said the same thing about it. As far as I'm concerned computers are tools to get a job done and not a platform for religious wars, and if something's bad I'll say so regardless of who's doing it. In fact Vista overall has some really nice new technology and features built into it, it's just this one aspect of Vista that's troublesome. And just for the record I run various versions of Windows on ... [counting] ... seven of my machines (the rest are a mixture of Linux, FreeBSD, and occasionally Solaris and QNX), so I'd be a rather unlikely Microsoft detractor if I have their software all over my machines.

    As far as George Ou and Ed Bott are concerned, again I'll let Gutmann himself address this. Key quotes below:

    It all started with an email from George Ou, who decided, without ever hearing my talk on content-protection issues or seeing the slides for the talk, that what I'd said in the slides was wrong. I offered to send them to him, but by then he'd gone ahead and posted his conclusions anyway, still without ever actually having seen the slides that he's commenting on. Later he changed his story to claim quite emphatically that he wasn't attacking the slides at all, which seems a bit contradictory since the material wasn't present anywhere but the slides.

    ...

    He even went so far as to lodge a formal complaint about me with the University, although since I'd been trying quite hard to ignore him (both he and Ed even mentioned this in their blogs), I'm not really sure what he complained about (details of complaints are treated as confidential). Maybe it was the fact that I wasn't paying any attention to him.

    ...

    Ed's tactics were slightly different. He posted his initial comments on a blog whose existence I wasn't even aware of (and therefore had no way of responding to) and then summarily declared victory in a later blog posting based on the fact that I didn't reply.

    ...

    In this entire time, neither George nor Ed ever tried to obtain the slides from me ("I never asked for his slides" - George Ou), the actual material that started this whole thing. I've sent out copies of the slides to *every single person who asked for them*, but neither Ed nor George ever bothered contacting me to get my side of the story, or to get the slides that they were attacking. Indeed, all I got from Ed was a long sermon on professionalism.

    ...

    Avoiding asking me for the current slides so that he can attack a ~9-month- old copy of the writeup

    ...

    In all this mass of trivia there's one major thing missing that would justify the title that he's chosen to use: Any attempt at all to address the central thesis of the content protection analysis, that trying to seal shut (portions of) the historically open PC architecture in the name of DRM is technically a really bad idea, and one that's bound to fail. As Bruce Schneier put it, "Trying to make bits uncopyable is like trying to make water not wet".

    ...

    Appendix: Short response to Ed's article

    "Because Gutmann has no hands-on experience with this technology"

    Actually I do have direct, hands-on implementation experience, which I could have told you if you'd ever contacted me about any of this.

    ...

    "Here's the information on this exact monitor"

    So this is where his strategy of going for a nine-month-old writ

    1. Re:Please read Gutmann's work yourself by Macthorpe · · Score: 2, Interesting

      I have been through all Gutmanns material. At the time of writing the paper he had zero experience of Vista use, instead relying on comments made on websites and in forums to base his entire paper. The fact that he modified his paper 9 months later seems a little like bolting the stable door after the horse has bolted, don't you?

      As for the list of 'key quotes', Gutmann fails to address any of the points that Ou actually raised, instead claiming he was working from an outdated edition of his presentation. This is irrelevant as he well knows - he needs to address why he's uses blog postings from Karel Donk and others, as a basis to make horrendously inaccurate claims about the DRM technology. A large proportion of the claims he's made have been proven false by Ou and others, but Gutmann is more prepared to attack Ou's method of arguing his points than the actual points themselves.

      I have no qualms about Gutmann arguing against DRM from a moral/ethical standpoint, if he so wishes. However, from a technical standpoint his points are almost totally baseless.

      --
      "It does not do to leave a live dragon out of your calculations, if you live near him." - Tolkien
  24. Re:DRM effects. Re:Snazzy effects by PitaBred · · Score: 2, Insightful

    So... in [3], what Ou is saying is that even if Vista doesn't use more "power", it's still using 3x the CPU resources to do something that actively detracts from a consumer's options in using media? And this is somehow... good for the consumer, wasting resources without giving the owner of the machine a choice in the matter? Just because it doesn't use more power from 5-15% doesn't mean that the difference between 50% and 60% utilization won't change the wattage draw. I think y'all got something a little backwards, especially when you cherry-pick your tests.