RSS FeedOperating Systems

Linux kernel patch slashes power usage

Linux kernel patch slashes power usage

Energy consumption taken down with software tweak

Linux users working on laptops and other portable devices may soon have cause to rejoice thanks to a new kernel patch that finally promises to fix power regression problems associated with recent versions of the software.

Affecting Linux systems using version 2.6.38 or later of the Linux kernel, the problems have dramatically increased the amount of power consumed by Linux, resulting in far fewer hours of use per each battery charge.


Related Articles

 

Virtualisation, Big Data and BYOD

Check out our Business IT Hub for opinions and briefings. Read more


Power consumption on an Intel Sandy Bridge notebook running Ubuntu Linux with kernel 3.1, for example, has increased by 76 percent since earlier this year due to Linux kernel regressions, according to a report this summer on Phoronix.

Earlier this month, however, a new patch was proposed that appears to be a fix, once and for all. The patch reportedly isn't likely to appear in the mainline Linux kernel until version 3.3, but it could still make it into the Linux 3.2 kernel package for use in Ubuntu 12.04 LTS and other distributions.

The switch from Linux 2.6.37 to version 2.6.38 caused a jump of 9 watts in average power consumption, representing an increase of 36 percent, Phoronix notes, and subsequent versions have increased their demands from there.

At the heart of the problems is the disabling in many systems of PCI Express Active State Power Management, a feature that was designed to save system power. Starting with Linux 2.6.38, ASPM frequently gets disabled when it shouldn't be, resulting in the power usage jumps that have been observed on both mobile and desktop systems.

With the new, roughly 60 line patch created by Red Hat engineer Matthew Garrett, however, power use reverts to what it was in versions of the kernel before Linux 2.6.38, Phoronix reported last week.

Applying the patch on a Core i7 notebook that had been using 14 percent more power because of the problem, for instance, "the power is back to the levels experienced on Linux 2.6.37," Phoronix's Michael Larabel wrote. "Hell yes!"

So, if you've been using a recent version of Linux, chances are your hardware has been hogging more power than it used to, whether you realised it or not. Now, at last, relief is in sight.

Send to a friend

Email this article to a friend or colleague:


PLEASE NOTE: Your name is used only to let the recipient know who sent the story, and in case of transmission error. Both your name and the recipient's name and address will not be used for any other purpose.

HP Business Answers

Join the discussion today

The HP Business Answers group is a vibrant community of small and medium sized business owners and employees. HP provides independent and expert advice in fields such as design, branding, taxation, technology, marketing or manufacturing so join today to network with over 6500 like-minded professionals.

Join the HP Business Answers Linkedin Community

Read the most recent discussions

Read more at the HP Business Answers Linkedin Community


ComputerWorldUK Resources

ComputerworldUK
Share
x
Open
* *