Mobile Users Beware: Linux Has Major Power Regression

If you want to talk about your personal paperweight, you've found the right place!

Moderator: Moderators

Mobile Users Beware: Linux Has Major Power Regression

Postby sabayonino » Tue Apr 26, 2011 13:04

Kernel-2.6.38 is buggy...


Phoronix.com

For those that follow my personal Twitter feed will know that for the past week I've been closely testing Ubuntu 11.04 and all Ubuntu releases going back to Ubuntu 8.04 on many mobile devices in the office. The overall system performance, power consumption, and boot performance have been the principal targets. However, late this week I discovered a glaring regression: Ubuntu 11.04 is viciously going through power. Compared to Ubuntu 10.10, the power consumption on Ubuntu 11.04 for mobile devices is up about 10% on average but under some workloads, I am seeing the power consumption up by nearly 30%. This is happening on many mobile systems spanning multiple generations of Intel CPUs and with Intel / ATI / NVIDIA graphics. This issue has been tracked down to a frightening kernel regression in the mainline tree that is still not addressed.

Image

In the publishing queue for Monday morning is the main article for the full power consumption results with all of the tested mobile devices, more details, and of the Ubuntu releases going back to 8.04 Hardy. However, due to the severity of the regression, this afternoon I am putting out the key bits of information that illustrate the regression. During the Linux 2.6.38 kernel development, a regression was introduced causing systems to burn through significantly more power. The below graph shows the battery power consumption of one of the Lenovo ThinkPad notebooks under the Linux 2.6.35, 2.6.36, 2.6.37, 2.6.38, and 2.6.39 (Git code as of 19 April 2011) kernels. Unlike some of the other regressions to have been highlighted on Phoronix, this regression is still unfixed in Linux 2.6.39. On the particular system being talked about in the article today is the power consumption going up by 14%, which would lead to a noticeably shorter battery life.

Image

This particular result is for the ThinkPad T60 with an Intel Core Duo and ATI Mobility Radeon graphics, but the power regression as spotted by the original Ubuntu 11.04 tests has been found on hardware going back to a vintage Pentium M notebook and also under Atom netbooks to a lesser extent. As far as what the above graph illustrates, it is a composite overview showing the battery power consumption when the Ubuntu Linux system was idling followed by running the OpenArena game, and then running the OpenSSL benchmark to show a variety of workloads. The Linux 2.6.35/2.6.36/2.6.37 results are virtually identical, but with 2.6.38 is where the regression strikes. As far as the Linux 2.6.39 results, it shows the regression still present. The Linux 2.6.39 results are slightly different from the 2.6.38 results likely because the Intel 3945ABG WiFi adapter separately regressed and is currently borked/non-functional in this kernel on the ThinkPad T60. Below are the results broken down by test profile.

This particular result is for the ThinkPad T60 with an Intel Core Duo and ATI Mobility Radeon graphics, but the power regression as spotted by the original Ubuntu 11.04 tests has been found on hardware going back to a vintage Pentium M notebook and also under Atom netbooks to a lesser extent. As far as what the above graph illustrates, it is a composite overview showing the battery power consumption when the Ubuntu Linux system was idling followed by running the OpenArena game, and then running the OpenSSL benchmark to show a variety of workloads. The Linux 2.6.35/2.6.36/2.6.37 results are virtually identical, but with 2.6.38 is where the regression strikes. As far as the Linux 2.6.39 results, it shows the regression still present. The Linux 2.6.39 results are slightly different from the 2.6.38 results likely because the Intel 3945ABG WiFi adapter separately regressed and is currently borked/non-functional in this kernel on the ThinkPad T60. Below are the results broken down by test profile.



:evil:
Last edited by sabayonino on Tue Apr 26, 2011 19:03, edited 1 time in total.
User avatar
sabayonino
Sagely Hen
 
Posts: 1601
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Mobile Users Beware: Linux Has Major Power Regression

Postby joost » Tue Apr 26, 2011 13:30

That is ALMOST spamming.
:D
User avatar
joost
Sagely Hen
 
Posts: 2327
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Mobile Users Beware: Linux Has Major Power Regression

Postby sabayonino » Tue Apr 26, 2011 14:09

joost wrote:That is ALMOST spamming.
:D

?? why ?
User avatar
sabayonino
Sagely Hen
 
Posts: 1601
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Mobile Users Beware: Linux Has Major Power Regression

Postby joost » Tue Apr 26, 2011 14:27

Instead of posting a link to a commercial website, that loves you linking them anyway, perhaps it would be nice to write a small resume and how it affects our community and why.

It might me just me, but I'm highly doubtfull about that phoronix Test Suite thing. :|
But indeed if this would affect OUR Kernel aswell it would be nice to know.
User avatar
joost
Sagely Hen
 
Posts: 2327
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Mobile Users Beware: Linux Has Major Power Regression

Postby joost » Tue Apr 26, 2011 14:54

https://bugs.launchpad.net/ubuntu/+sour ... bug/760131
Ubuntu bug is here.
Now we need to find a way to compare results.
User avatar
joost
Sagely Hen
 
Posts: 2327
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Mobile Users Beware: Linux Has Major Power Regression

Postby dunsurfin » Tue Apr 26, 2011 15:26

joost wrote:Now we need to find a way to compare results.


On my laptop (that I use very rarely) I have SL 5 with both 2.6.35 and 2.6.38 kernels (there is a problem with the display on 2.6.38 but I can run it) I also have Ubuntu 11.04 on the machine. Is there anything I can run that will give me a comparative result?
Self-righteousness is a loud din raised to drown
the voice of guilt within us - Eric Hoffer
User avatar
dunsurfin
Sagely Hen
 
Posts: 1269
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK


Return to Off Topic

Who is online

Users browsing this forum: No registered users and 0 guests