The Linux Kernel Is Still On A Power Binge

Written by Michael Larabel in Linux Kernel on 18 May 2011 at 08:32 AM EDT. 14 Comments
LINUX KERNEL
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.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week