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. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Phoronix Test Suite 4.6.0 "Utsira" Released
  2. New Intel X.Org Driver Supports All Of Haswell
  3. SQLite Now Faster With Memory Mapped I/O
  4. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  5. Qt For Tizen Launches, Based On Qt 5.1
  6. KTAP Released For Linux Kernel Dynamic Tracing
  7. Linux 3.10-rc2 Kernel Takes In A Few Extra Pulls
  8. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  9. Handbrake 0.9.9 Supports OpenCL Offloading
  10. Freedreno Gallium3D Now Banging The Adreno A3XX
  11. Jolla Announces Their First Phone
Latest Forum Talk
  1. The Cost Of Ubuntu Disk Encryption
  2. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  3. Will Unreal Engine 4 Games Come To Linux?
  4. New Intel X.Org Driver Supports All Of Haswell
  5. Handbrake 0.9.9 Supports OpenCL Offloading
  6. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  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