Slashdot Mirror


Linux Kernel Suffering Power Management Regression?

An anonymous reader writes "It appears that there's a big power management regression in the Linux kernel for the 2.6.38 and 2.6.39 development releases, including the kernel to ship with Ubuntu 11.04 next week. It's reportedly causing a 10~30% increase in power consumption on many laptop computers."

27 of 186 comments (clear)

  1. Only Power Users will notice by Anonymous Coward · · Score: 5, Funny

    I think this is something that only Power Users will notice. It's not something important for the common user.

    1. Re:Only Power Users will notice by drb226 · · Score: 5, Insightful

      I think this is something that only Power Users will notice. It's not something important for the common user.

      I think a lot of people would notice if their laptop suddenly got a third less battery life.

      Excuse me sir, I believe your pun detector is broken.

    2. Re:Only Power Users will notice by asdf7890 · · Score: 3, Informative

      And I've just noticed the pun. Somebody mod me "too slow on the uptake".

    3. Re:Only Power Users will notice by Anonymous Coward · · Score: 5, Funny

      He might not have the capacity to appreciate such humor.

    4. Re:Only Power Users will notice by Anonymous Coward · · Score: 3, Funny

      your continued resistance to puns is growing alarming

    5. Re:Only Power Users will notice by proverbialcow · · Score: 2

      Must be running the 2.6.38 or 2.6.39 kernel.

      --
      The only surefire protection against Microsoft infections is abstinence. - The Onion
    6. Re:Only Power Users will notice by Anthony+Mouse · · Score: 3, Informative

      vista came on this laptop. there are NO xp drivers.

      There are actually entire lines of computers that came with Vista but were too slow to actually run either it or Windows 7 properly, and at the same time are too new for anyone to have made XP drivers. Like half the computers sold with Vista before 2009 or so.

      Never had any problems running Ubuntu on them though.

  2. Re:Linus Torvalds and regression? by DirePickle · · Score: 2

    I don't know--this seems really common with the last dozen kernel releases or so. Power regressions, file system regressions, graphics speed regressions, blah blah blah. With every new kernel release Phoronix reports some serious regressions in various subsystems.

  3. Re:Linus Torvalds and regression? by asdf7890 · · Score: 4, Interesting

    This is presumably not an intentional regression though, more likely just some new/updated code that is causing the CPU to be more busy when the machine is effectively idle than it was previously. It isn't like someone said "hey, Linus, do you mind if I make the kernel eat more power?"!

  4. Re:Linus Torvalds and regression? by h4rr4r · · Score: 4, Interesting

    Ever notice it is only Phoronix reporting that?
    When did steam come to linux again?

    Sorry, but I want to see this backed up another source before I just go believing it.

  5. Re:Linus Torvalds and regression? by Kjella · · Score: 4, Informative

    Well, what Linus is focused on is breaking user code - if it worked in a released kernel, you will not break it in any future kernel. I don't think there's any strict rule that performance must always be better or power consumption lower. Particularly if you're not doing something "right" and have to add additional checks/locks/synchronization for corner cases that can slow you down, they generally value correctness over performance. That's the case in many of Phoronix' sensationalist news, a development release is very fast but when you make it work 'right' the performance is no longer that impressive. That stuff will happen as close to the bleeding edge as most of the things they report on are. Of course, they do find real regressions too but it's easy to get the wrong impression...

    --
    Live today, because you never know what tomorrow brings
  6. Moronix test suite by Sene · · Score: 3, Interesting

    Would be handy if the suite (or the user) would actually produce graphs with different enough colors to make sense which line is which...

  7. Re:Linus Torvalds and regression? by Anonymous Coward · · Score: 2, Interesting

    I'm on .38 on multiple computers and I'm not seeing these issues, perhaps it's a configuration error on their end (assuming they compile the kernel themsleves for testing) or a configuration error on whatever distribution they test with?

  8. Re:Linus Torvalds and regression? by Jah-Wren+Ryel · · Score: 5, Interesting

    Ever notice it is only Phoronix reporting that?

    Do you know of any other organization with a large automated regression testing system for linux kernels? That's not just me being snarky, its a serious question - who else beside phoronix is doing this sort of wide-scale testing on a constant basis?

    --
    When information is power, privacy is freedom.
  9. Re:Linus Torvalds and regression? by Anonymous Coward · · Score: 2

    Ever notice it is only Phoronix reporting that?
    When did steam come to linux again?

    Wine 0.9.6x, as I recall...

  10. Overheating probs by blockhouse · · Score: 2

    Well, that would explain a great deal why my Dell laptop has been overheating and shutting off without warning since that last kernel build. It's shut off three times today and I haven't even done any intensive computing.

    Methinks I need a new box.

    1. Re:Overheating probs by bmo · · Score: 4, Insightful

      >you think you need a new machine

      Either that or open it up and blow out the dust.

      Works wonders for overheating, dontchaknow.

      Cheap/easy fixes first. Always.

      --
      BMO

    2. Re:Overheating probs by CynicTheHedgehog · · Score: 2

      Exactly. I had a Latitude D830 whose CPU was running at a more or less constant 212-218F and was virtually unresponsive. After blasting some canned air into the vent on the sides and back it started working like new.

      I talked to the help desk guys about it and it's a pretty common occurrence with Dell laptops. Seems like a major design flaw to me.

  11. Re:Linus Torvalds and regression? by shutdown+-p+now · · Score: 2

    One would expect that there is some sort of automated performance regression suite that is run regularly (say, daily) to catch offending commits.

  12. Well... here's a confirmed recent bug. by masterwit · · Score: 2

    Power consumption raised significantly in natty
    this is the actual confirmed (4-13) bug report on the Launchpad at least a particular instance.

    Personally I do not run the extra baggage of Ubuntu on my mobile linux device. (netbook)

    When did they start putting unconfirmed or untested bug reports on Slashdot? Sure TFA says much to warrant further investigation... but not to have people like me get curious. (Just my opinion)

    --
    We should start a new Slashdot and return control to the geeks. It actually wouldn't be that hard to get some users to
  13. Linux on laptop by fnj · · Score: 2, Informative

    Why would anyone want to run linux on a laptop? Well, I run linux on my laptop. At first I had it set up to dual boot, but after months of not using the Windows partition I canned it and have never missed it. During the period I had both operating systems set up, I could compare them. Windows (Vista as installed at the factory) was dog slow and buggy (and before you poke fun at Vista, XP was just as bad on other laptops as received). Linux was snappy, remarkably stable, and supported the hardware very well with the exception of the oddball fingerprint reader which was a crappy idea anyway. It is a Lenovo X301 with SSD. If you stay away from Dell crap, 95% of laptops are pretty routine for linux. Even a lot of Dells are fine, but too many of them have oddball crap that is problematic.

    I have successfully installed and run various linux distros on a Compaq/HP X1000, an HP2133 mini, a Samsung X460, and the Lenovo, as well as maybe a couple of dozen desktops, including pretty-much-black-box Shuttles and Aopen minis, as well as oddball home-builts, over the last 10 years or so. Things have gotten a lot better over the last several years in terms of video and wireless support. Hardware support is so good currently that it is far better than Windows, where you have to track down drivers for every piece of hardware on your own.

    Having said that, my nephew has no trouble at all wiping the OEM Windows off of his laptops, one after the other, and installing his own fresh retail copies of Windows. He claims it performs much better without the bundled crap. I don't have the patience for that myself, and can't divine why anyone would WANT to run Windows, anyway.

    I do think you miss the point when you claim that it is a waste of "resources" for linux to go to a lot of work to support a myriad of hardware. The resources you speak of are open source software engineers who are basically in it for the love of the challenge. Most of them are not interested in working on boring apps, anyway, and the non-hardware-related kernel proper has plenty of manpower working on it. The part of the kernel that is not hardware related doesn't even need a lot of manpower. Those are guys with vary special knowledge. The development resources available to linux are basically unlimited. Yes, the software engineers paid by corporations to work on linux make important contributions, including hardware support, but a lot of guys, particularly in hardware support, are independent geniuses on their own time. A lot of pieces of hardware owe their linux support to these individuals donating their time as a sideline because they relish the work, and individually are interested enough in some particular piece of hardware for their own use to figure it out.

    1. Re:Linux on laptop by fnj · · Score: 2

      That is a most interesting link. I pretty much agree with Linus on everything. You want formal design, you get hurd. Or rather you DON'T get hurd. Not in our lifetime (mine anyways). You follow Linus' evolving ideas and methodology and you get an excellent working product which evolves better and better.

      All I can say about the guy in the basement is, yeah, there are lots of them, and yes, they keep up fine with Linus' ways and the difficulties you mention. I can't explain to you how this all works, because I'm not completely up to understanding it, let alone doing it, but it clearly does work, and I don't see any push whatsoever to fork linux for the purpose of freezing interfaces that do not have to be frozen. I mean, hey, the proof is in the pudding. There aren't many people who would argue Windows on the technical merits is better for servers than linux.

      I believe the time is not long when the same will hold true on the desktop and the laptop.

      It's not clear to me what fundamental difference APUs will mean, if by APU you mean the integration of the CPU and GPU on the same package or even same die. It's still a CPU and a GPU. OK, the interconnect is different, but there's nothing that says it automatically means the two pieces will be radically different than they are now.

      "Your mileage" will always vary. All I can say is that I have to wrestle with linux less than I had to wrestle with Windows back when I actually cared about it and had to use it.

      Linux doesn't need the "Find Driver" button (which NEVER ONCE worked for me in XP or Vista), because it already has an unimaginably rich set of drivers included right in the distro. I will readily admit I make my hardware purchase decisions based on what is likely or certain to be supported, in the sense that I always shy away from crappy off-brand network and wireless adapters. If you stick with Intel in those particular areas, you're in good shape. Having said that, I've been forced to violate that rule at times, and results in those cases have been getting steadily better in recent years, not worse.

    2. Re:Linux on laptop by amn108 · · Score: 2

      After installing Ubuntu every half-a-year for the fourth time, I was getting tired of "bridging" the gap between an out-of-the-box Ubuntu state to the one I prefer, so I simply wrote a bash script that does everything :) I mean it sets all my GNOME settings (through gconf- command line tools), sets up launchers and mime type preferences, icons, installs applications, even downloads and compiles stuff that cannot be found in repositories or in case I prefer a compiled version. Basically, when the script is run and done, I don't need to do much at all - the system is as it was before reinstall, except I am running a brand new distribution. Of course, one can argue why upgrade at all, but I do notice that the devs do get a lot of things fixed for major releases, usually.

  14. Re:Magic "200 line" scheduling fix? by 19thNervousBreakdown · · Score: 2

    Yes, it's probably due to that one thing you heard about.

    --
    <xml><I><am><so><damn>Web 2.0</damn></so></am></I></xml>
  15. CAN WE STOP POSTING THIS VILE PHORONIX CRAP!? by RichiH · · Score: 3, Interesting

    Phoronix is shit. Pure, grade-A shit. Worthless.

    They have _nothing_ of value to add to anything. Sensationalist crap which is not reported elsewhere, _because it it not an issue_.

    Regressions in the development kernels are part of the process. Even actively trying to avoid Phoronix, I have seen tons of those non-news about some random regression and the breathless follow-up that, lo surprise, they didn't just release but fix the issue. Woooooo!

    Phoronix is shit and it should be blacklisted globally on Slashdot and anywhere else. Stop linking to them, stop commenting on them (other than making others aware of this).

    Rant over.

  16. Re:Linus Torvalds and regression? by amn108 · · Score: 2

    run lm-profiler (part of laptop mode tools if I recall correctly) and see what demands that your hard drive be awoken from sleep :)

  17. how about basic features by perotbot · · Score: 4, Insightful

    I lost the ability to hibernate my machines in the last few kernels, how about fixing that?

    --
    ~corporate tool, but employed~