Ubuntu's Power Consumption Tested 330
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."
Is this supposed to be a surprise? (Score:5, Interesting)
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?
Re:Is this supposed to be a surprise? (Score:4, Insightful)
Re:Is this supposed to be a surprise? (Score:5, Insightful)
Re:Is this supposed to be a surprise? (Score:5, Interesting)
Re:Is this supposed to be a surprise? (Score:5, Informative)
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.
Re: (Score:2)
Powertop asks me to install the patch, or set it up in my Bios, so I can only assume it is not setup on my clean install of tribe 5.
Re: (Score:3, Informative)
Re: (Score:2)
The other day on the powertop mailing list the HPET guy said that it was getting merged in 2.6.24. But come to think of it, my SMP deskside at work has run HPET with no patches.
Re:Is this supposed to be a surprise? (Score:5, Informative)
$ grep HPET
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.
Re: (Score:2)
Re: (Score:3, 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?
Kind of. (Score:5, Interesting)
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
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?
Re: (Score:2)
Re: (Score:2)
I ke
Re: (Score:3, Informative)
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 playin
Re: (Score:2)
Re: (Score:2)
The reason seems to be that the 3d accelerator on the GPU emits huge amounts of heat when being used.
I think you mean 3d acceleration. 3d accelerometers measure tilt and motion in three dimensions. To address the heat problem you attempted to convey: nvidia is very cool for me -- the chips are designed to be efficient, whereas Intel offloads a great majority of work to the CPU. Admittedly, nvidia isn't the most power friendly driver around; powertop reports it as one of the bigger offenders, but nothing to where I can't watch a movie with the fans getting loud.
All of them. (Score:5, Insightful)
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.
Re: (Score:3, Funny)
Re: (Score:3, Insightful)
More like: Why hasn't the Ubuntu team turned off more of that crap by default?
Re: (Score:3, Informative)
Re: (Score:2, Insightful)
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
Re:Is this supposed to be a surprise? (Score:4, Informative)
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. 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. 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.
Re: (Score:3, Informative)
Re: (Score:2, Insightful)
Re: (Score:2)
I'm confused as to how this might matter at all.
I mean an OS like Ubuntu has so many options that while yes you can test to the standard install does that test mean anything? Who goes with all-standard settings for their machine if they use that machine often? And if it is a machine that you are going to leave on and never change the settings, such as a lab computer, and you are worried about power consumption per machine (which for a large institution or a large lab savings might be cons
Snazzy effects (Score:4, Insightful)
Plus, this version never actually booted up because it didn't like my Broadcom 4318.
Re:Snazzy effects (Score:5, Informative)
Re:Snazzy effects (Score:4, Informative)
1: Right click on desktop.
2: Select Personalize
3: Select Theme
4: Select Windows Classic
5: Click OK.
Re: (Score:3, Interesting)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Cite?
It's Windows. And it empowers me just fine. I mean, I get stuff done just fine. Like hundreds of millions of other people. You know?
Re: (Score:3, Informative)
From Peter Gutmann's excellent "A Cost Analysis of Windows Vista Content Protection" [auckland.ac.nz]. This paper should be required reading for any
Re:DRM effects. Re:Snazzy effects (Score:4, Interesting)
Re: (Score:3, Insightful)
Re: (Score:2)
Sorry for the formating on the above post.
Peter Gutmann's Vista criticism has come under fire after his speech at the USENIX [slashdot.org] Security Symposium in August 2007.[3] [slashdot.org] 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] [slashdot.org] Gutmann made many of t
Please read Gutmann's work yourself (Score:3, Informative)
First, I'll let Gutmann comment on his use of various OSes [auckland.ac.nz]:
Re: (Score:3, Interesting)
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. Th
Re: (Score:2)
Try again [zdnet.com].
Re: (Score:2)
Re: (Score:2)
Re: (Score:2, Redundant)
Five clicks to change to Windows Classic or Aero Basic. This includes the click to "Apply" the new settings.
Re: (Score:3, Insightful)
I'm still very disappointed in any OS that can't wobble its windows.
Boingy boingy. Amusing for idle time.
Re: (Score:2)
Other OSes? (Score:5, Interesting)
Re:Other OSes? (Score:4, Funny)
Re: (Score:2)
Yes, that would be interesting! Can you make one and post it here?
Re:Other OSes? (Score:5, Interesting)
Re:Other OSes? (Score:5, Interesting)
Gonna check out the new 7.10 and see if I can get nearer to what windows can give me.
Re: (Score:2)
As a Lenovo T60p laptop user (running Vista Enterprise), I too would be more interested in a head to head comparison between the ability of Ubuntu to put the Lenovo into various sleep modes such as S3 (Hybrid Sleep), S4 (Hibernate) as well as take advantage of a CPU's adaptive/variable speed capability. In Vista there is a Lenovo software add-on (Thinkvantage) that allows the user to program the power saving mode of the laptop. Using this software (works hand in hand with Vista's Power Options from the Cont
Re: (Score:2)
As a fellow T60p user... (Score:2)
The other frustration is that I'm pretty much stuck using ndiswrapper, the madwifi driver is way too flaky on this laptop.
If I had a choice of equipment, would've gone with an nVidia graphics and Intel wireless, but oh well.
How to test the power comsumption of Linux (Score:5, Funny)
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.
Re: (Score:2)
A penguin is bound to taste terrible - like BBQ seagull - not something I would like to try except in a dire case of starvation. Penguins are actually horrid creatures - noisy carnivorous sea birds. I have been bitten by a little one - not much fun at all.
Sig Fig nitpick (Score:5, Insightful)
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.
Re: (Score:3, Informative)
Sorry to ruin your nit pick but a quick google search tells me that the SeaSonic PowerAngel [seasonic.com] 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.
Re: (Score:3, Insightful)
Re: (Score:3, Insightful)
Re: (Score:2)
So as you say, at best its a "pilot study" which seems to show that there have been no major changes in power usage by the different Ubuntu releases (on this hardware).
Does Ubuntu benchmark this kind of thing? (Score:3, Interesting)
Re: (Score:2)
Me: "I'm having this problem when I try and boot the Compaq"
IBM: "Urm...well, actually, we've never tried installing it on a non-IBM PC..."
Subsequent lack of success for OS/2 not surprising, (my experience was by no means unique).
Guess testing for pow
Re: (Score:3, Insightful)
misleading (Score:5, Informative)
News: More Processing Requires More Power (Score:5, Funny)
Well duh! (Score:3, Interesting)
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.
Re: (Score:3, Informative)
You would like to have a light Linux distribution? Something like this perhaps:
http://www.puppylinux.com/ [puppylinux.com]
http://featherlinux.berlios.de/about.htm [berlios.de]
http://www.damnsmalllinux.org/ [damnsmalllinux.org]
Re: (Score:2)
I also have to wonder if it would catch on like Ubuntu did since Ubuntu's great advantage is 'ease of use' and not 'one fits all' like some seem to think it should be. Still, I'd like the option to have a fairly familiar environment but will run well on my ancient laptop.
Re:Well duh! (Score:5, Informative)
Re: (Score:2, Informative)
Or http://www.fluxbuntu.org/ [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.
Re: (Score:2)
Re:Well duh! (Score:5, Insightful)
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.
Re:Well duh! (Score:5, Interesting)
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.
Re: (Score:2)
Gentoo's case for optimizations and the like is massively overstated. If you dig into debian packaging, you'll see that debug packages have optimization off, and debhelper packages build with -O2 by default, and the gains to be had from
Screw that, that's not old (Score:2)
That's not even close to the very machine whose browser I'm using right now, and that I use every single day when I come back home. I'm running every kubuntu version since edgy on this machine, each one making it faster and smoother to use, I'm currently on Feisty because the Gutsy driver for my wireless card is acting a little funky, but I tested it and it runs even better and faster. (Summary of
Re: (Score:2)
I have a fully bloated Ubuntu 7.04 install with extra stuff running (hellanzb, amorakk, 2 firefox windows with 6+ tabs each, flash plugin, open office and more). I am using 550MB of memory. Still a ton of breathing room on your (or my) 1GB.
In fact looking at mem usage I have:
soffice 78MB
Firefox 75MB
Compiz.real 30MB (first so called bloat) (let's not forget that whatever XFCE uses has some memory footprint too)
Deskbar-applet 29MB (I am guessing most of that is the search fea
Re: (Score:2)
I only compiled it because for one reason or another, to install the -bin alternative required more dependencies. *shrugs*
I've been sitting idle now for a while. Only my XFCE Panel, Firefox, Thunderbird and aMSN running... sitting at 169MB
Re: (Score:2)
1) Do a minimal command line install
2) Install fluxbox/lightweight manager of your choice + some basic GTK libraries/or whatever you want
3) Download some of your favorite programs
There, minimal install with no extraneous daemons whatsoever. At first there will be a lot of downloading because it has very little on it, but in the end you will be left with a clean system tha
Re: (Score:2)
It still exists [slackware.com], you might want to give it a try...
More features - Same power (Score:5, Insightful)
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.
Re: (Score:2)
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).
Eye candy has nothing to do with it. When the computer is idle there is no eye candy and all processes should be sleeping. But some processes like daemons needs to wake up intermittently to check for various conditions. For example, the battery monitor needs to regularly update its display of how much battery power is left. It is these wake ups that consume power when idling (except for the ambient power draining from the hardware).
So if the idle power consumption increases it means that the wake ups ha
AMD64 (Score:5, Informative)
If you're feeling adventurous, patches here: http://www.kernel.org/pub/linux/kernel/people/tglx/hrtimers/ [kernel.org]
Comment removed (Score:4, Interesting)
Re: I can believe that (Score:5, Informative)
Re: (Score:2)
Re: (Score:3, Informative)
too much crap (Score:3, Insightful)
Re: (Score:3, Insightful)
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.
yawn (Score:2)
Thank you slashdot (Score:2)
Good but... (Score:3, Insightful)
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..?
Re: (Score:2, Informative)
The Progression of Linux's applications (Score:2)
That being said, there is something to be said about using better discipline in writing Linux applications. Tha
30 Watts? WTF? (Score:3, Interesting)
Problem: Too many useless processes (Score:2, Insightful)
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 l
Re: (Score:2)
Powertop Numbers (Score:2, Informative)
Re: (Score:2)
Really? I'm not aware of this.
I can see a danger that Ubuntu is training a generation of Linux users who neither know nor care what root is, and just type their password into whatever dialog box asks for it - that's setting us up for a Windows-style explosion of malware - but bugs inherent to sudo? Please explain, because that's a major issue if so.
Re: (Score:2)