The Linux Kernel Is Still On A Power Binge

Posted by Michael Larabel on May 18, 2011

It's been about three weeks since last mentioning the major power consumption problem in the Linux kernel (actually, there's more than one power regression) and it's affecting distributions like Ubuntu 11.04. The lack of mentioning the power regression in recent weeks isn't though because the regressions are addressed, they are still outstanding with the about to be released Linux 2.6.39 kernel.

The power regressions just haven't been mentioned recently since I've been out of the office since late last month due to UDS Budapest, LinuxTag 2011, and beer drinking with Phoronix readers in Bavaria and around Germany. Now that I'm back to the usual workload, I've run some more kernel tests to verify the increased power consumption is still there with the latest upstream kernel. Sadly, the issue is still there.

There's many more realizing as well that they are affected by this bug based upon the Ubuntu bug report and user experiences within the Phoronix Forums, Ubuntu Forums, etc.

With the Linux 2.6.39 kernel using the Linus Torvalds tree as of last night (17 May), the issue is still very much present when tested on one of the Lenovo ThinkPad notebooks with an Intel Core 2 Duo CPU.

Earlier this month while I was away there was some speculation that the cause of at least one of these power regressions was due to some SMP / tick-less changes in the recent kernels. In particular, this LKML thread from last September was referenced by a user commenting on the Ubuntu bug report. The thought was for SMP (multi-core) systems the load balancing tick was keeping the system up excessively.

Beyond testing the very latest kernel Git to verify its existence, I also ran a test this morning of the kernel in its default SMP kernel configuration and then again when it was booted with the nosmp flag at boot-time (and separately, with maxcpus=1 as well just to ensure no differences) so that the dual-core Intel CPU was only being treated as single-threaded.


This didn't help things and the kernel is still on a power binge. Testing continues.

Additionally, if anyone has any recommendations about UPS power systems that have a USB interface and support monitoring the power consumption under Linux via a sysfs node or similar, knowing that would be much appreciated. (Or any UPS vendors willing to send one out to Phoronix would be really great!) This would greatly expedite the testing process due to much faster desktop/server/workstation hardware around here and would allow to see the full scope of hardware affected by this major Linux power problem rather than relying upon notebook battery consumption monitoring.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. NVIDIA Driver Soon Likely To Support EGL, Mir
  2. OpenMandriva Goes Into Alpha Form, Russian-Based
  3. NVIDIA Brings Their Linux Driver To ARM
  4. D Language Still Showing Promise, Advancements
  5. Planetary Annihilation Released For Linux Gamers
  6. Gentoo Starts Work On KDE-Wayland Support
  7. NVIDIA To License Its Kepler GPU Technology
  8. KDE's KWin Made Lots Of Progress In 4.11
  9. Ubuntu Announces Carrier Advisory Group
  10. Qt 5.1 Release Candidate 1 Has Arrived
  11. In-Fighting Continues Over Mir On Non-Unity Ubuntu
Latest Forum Talk
  1. D Language Still Showing Promise, Advancements
  2. NVIDIA Brings Their Linux Driver To ARM
  3. NVIDIA Driver Soon Likely To Support EGL, Mir
  4. Gentoo Starts Work On KDE-Wayland Support
  5. OpenMandriva Goes Into Alpha Form, Russian-Based
  6. Planetary Annihilation Released For Linux Gamers
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite