Re: [Bug 760131] Re: Power consumption raised significantly in natty
On Mon, Oct 17, 2011 at 02:40:09PM -, Kevin wrote: Based on the several comments above, this issue seems to be hardware- specific. For now, I've given up using Ubuntu but want to use it again as soon as possible so I'd like to create a bug ticket for my laptop. Could anyone please tell me what information I should include (preferably how I could as well)? Thank you. Kevin: The best way to create your bug is to open a terminal and run 'ubuntu-bug linux'. This will automatically attach the relevant information form your machine to the bug when it is created. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 760131] Re: Power consumption raised significantly in natty
On Mon, 10 Oct 2011 10:29:21 -, Pako 760...@bugs.launchpad.net wrote: @ Erwin Junge How you get your result? ~6 hours in Ubuntu, ~10 in Lubuntu? or ~6 to ~10 in Lubuntu with a different kernel? However, Erwins test shows that there are huge difference in battery time from different desktop environments, thus, you can't get results based on kernel test only, because it's just a fraction from hundrets of other consumers, including: cairo, compiz, metacity, pixbuf, xorg, mesa, wifi, open-closed video drivers, Mutter, Unity, indicator applets... etc. Can someone test the latest kernel on Ubuntu 8.10? ~6 hours in Ubuntu 11.04, ~10 hours in Lubuntu 11.10. I agree that the cause can't be known from this, since too many things changed all at once going from Ubuntu 11.04 to Lubuntu 11.10. I don't have time to do more tests right now, otherwise I would have. I'm still planning to do an exhaustive set of tests of different Ubuntu/Kubuntu/Lubuntu/etc releases in the future, but that's no something I have time for now or in the near future. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 760131] Re: Power consumption raised significantly in natty
Whooo! With the latest package-upgrade (i.e. linux-image 2.6.38-11) for Natty, the Idle Power consumption reported by powertop on my TP T410 went down *more than 50%*: From around 25W to below 12W. It is also much cool and quiet again. Just awesome, thank you all so much for the great work on this issue :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 760131] Re: Power consumption raised significantly in natty
i am running 3.0.3 compiled from source in natty , and not experiencing any battery or heat issues... i get 11 -14 w max consumption in ... and upto 19-20 W on AC,i have kept cpu freq to 'ondemand' and also i have turned on pcie.aspm=force, I guess the issue is fixed in 3.0 kernel series i dint apply any patches, or tweaks, just did a simple menuconfig. the most important thing is laptop doesnt heat now (60 degrees in 2.6.37 v/s 55 in 3.0.3) mine is a HP g42, Core i3-370M, 3GB DDR3, hopefully i dint troll On 9/2/11, fejes 760...@bugs.launchpad.net wrote: Even if that were so, when my laptop goes into battery mode, with all of the aggressive power saving modes throttling the CPU, etc, it's unacceptable for it to be running so hot. I wouldn't normally care if it's plugged in and sucking up power, but when the power is supposed to be scaled back, it shouldn't be taking up more power ( even at the cost of decreased responsiveness.) In any case, as of yesterday, after a kernel update, my laptop is now consuming 14-17W of power when on battery, as opposed to the 19-25W it was taking last week. While not as good as the 11-14W range I had going with Maverick, it's an improvement. I don't recall seeing anything in the kernel changelog that would indicate a change to the power consumption, but I'm not a kernel expert. In any case, I have not altered any of my power saving optimizations between the two tests, and I had used the force acpi trick much earlier on. If it stays this way for now, that's not a bad sign. -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty Status in Release Notes for Ubuntu: Fix Released Status in “linux” package in Ubuntu: Triaged Status in “linux” source package in Natty: Incomplete Status in “linux” source package in Oneiric: Triaged Bug description: This is a regression moving from maverick-natty. With the same sort of light interactive usage, Battery life has gone from ~4 hours to 2:45 or so. Running powertop shows the system in P-state Turbo mode 10-15% of the time. Typically this was almost zero in maverick, 98+% of the time maverick was in the lowest state. wakeups reported in the 5-600/s range where previously (from memory) it was 200 ish. i915 driver is high on the list. This is irrespective of whether running unity or classic desktop. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: linux-image-2.6.38-8-generic 2.6.38-8.42 Regression: Yes Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: amd64 ArecordDevices: List of CAPTURE Hardware Devices card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: james 2068 F pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf262 irq 47' Mixer name : 'Conexant CX20561 (Hermosa)' Components : 'HDA:14f15051,17aa20ff,0010' Controls : 16 Simple ctrls : 8 Card29.Amixer.info: Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7XHT24WW-1.06' Mixer name : 'ThinkPad EC 7XHT24WW-1.06' Components : '' Controls : 1 Simple ctrls : 1 Card29.Amixer.values: Simple mixer control 'Console',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Date: Wed Apr 13 15:03:35 2011 EcryptfsInUse: Yes HibernationDevice: RESUME=UUID=bb479652-f524-4abe-b1b0-27646d6deebc InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release Candidate amd64 (20100928) MachineType: LENOVO 7465CTO ProcEnviron: LANGUAGE=en_US:en_GB:en PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=266abe9a-19c2-4cc3-9ef7-238b729b6044 ro quiet splash libata.force=noncq vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-2.6.38-8-generic N/A linux-backports-modules-2.6.38-8-generic N/A linux-firmware1.50 RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no SourcePackage: linux UpgradeStatus: Upgraded to natty on 2011-04-06 (7 days ago) dmi.bios.date: 11/10/2009 dmi.bios.vendor: LENOVO dmi.bios.version: 6DET61WW (3.11 ) dmi.board.name: 7465CTO dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10
Re: [Bug 760131] Re: Power consumption raised significantly in natty
Yes, I have the 5100 On 8/12/11, Tamran 760...@bugs.launchpad.net wrote: @Matthew: Are you by any chance using the following intel wireless card? Intel Corporation PRO/Wireless 5100 AGN [Shiloh] One thing I have not seen mention until now, but have noticed is that my laptop is REALLY hot near my wireless card. Even with the 2.6.34 kernel (which I've been using for a few weeks). Tamran -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty Status in Release Notes for Ubuntu: Fix Released Status in “linux” package in Ubuntu: Triaged Status in “linux” source package in Natty: Incomplete Status in “linux” source package in Oneiric: Triaged Bug description: This is a regression moving from maverick-natty. With the same sort of light interactive usage, Battery life has gone from ~4 hours to 2:45 or so. Running powertop shows the system in P-state Turbo mode 10-15% of the time. Typically this was almost zero in maverick, 98+% of the time maverick was in the lowest state. wakeups reported in the 5-600/s range where previously (from memory) it was 200 ish. i915 driver is high on the list. This is irrespective of whether running unity or classic desktop. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: linux-image-2.6.38-8-generic 2.6.38-8.42 Regression: Yes Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: amd64 ArecordDevices: List of CAPTURE Hardware Devices card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: james 2068 F pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf262 irq 47' Mixer name : 'Conexant CX20561 (Hermosa)' Components : 'HDA:14f15051,17aa20ff,0010' Controls : 16 Simple ctrls : 8 Card29.Amixer.info: Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7XHT24WW-1.06' Mixer name : 'ThinkPad EC 7XHT24WW-1.06' Components : '' Controls : 1 Simple ctrls : 1 Card29.Amixer.values: Simple mixer control 'Console',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Date: Wed Apr 13 15:03:35 2011 EcryptfsInUse: Yes HibernationDevice: RESUME=UUID=bb479652-f524-4abe-b1b0-27646d6deebc InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release Candidate amd64 (20100928) MachineType: LENOVO 7465CTO ProcEnviron: LANGUAGE=en_US:en_GB:en PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=266abe9a-19c2-4cc3-9ef7-238b729b6044 ro quiet splash libata.force=noncq vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-2.6.38-8-generic N/A linux-backports-modules-2.6.38-8-generic N/A linux-firmware1.50 RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no SourcePackage: linux UpgradeStatus: Upgraded to natty on 2011-04-06 (7 days ago) dmi.bios.date: 11/10/2009 dmi.bios.vendor: LENOVO dmi.bios.version: 6DET61WW (3.11 ) dmi.board.name: 7465CTO dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvr6DET61WW(3.11):bd11/10/2009:svnLENOVO:pn7465CTO:pvrThinkPadX200s:rvnLENOVO:rn7465CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 7465CTO dmi.product.version: ThinkPad X200s dmi.sys.vendor: LENOVO === Release Notes === Due to a regression inherited from the upstream linux kernel, Natty 11.04 can exhibit a 10-30% increase in power consumption. This is a known issue which is actively being investigated. A SRU will be released onced a viable solution is found. For more information, please see http://www.phoronix.com/scan.php?page=articleitem=linux_mobile_uffdanum=1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscriptions -- Sent from my mobile device -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty To manage notifications about this bug go to:
Re: [Bug 760131] Re: Power consumption raised significantly in natty
Yes, you got the right idea. I don't know that it is really dangerous - worst case would be your driver wouldn't load or lock up, a reboot would fix it. My scenario works for the iwlagn driver, I don't know if you have the same hardware. It does make a 2 - 3 watt difference in power usage for me. I don't know why this changed as it worked automatically in the 2.6.35 tree, but not now. I have a script manually perform the setpci mods before the kernel loads the iwlagn driver which takes care of it for now. On a different note, there have been a few posts for eepc's in the thread, the natty kernel didn't have the WMI modules enabled for them. Maverick did, there was a commit in the oneiric tree that put them back in - that should correct that issue. If you run one of those, try the current kernel, I think it is 3.0.0-8 right now. On 8/11/11, Erwin Junge er...@junge.nl wrote: @Matthew What I understood from your post is that there was a bug in your wireless driver and you manually set the aspm bit which resulted in a significant power reduction? Sounds very dangerous to me (at least the stuff I read in that wiki sounds way too prone to user error), but thanks for posting the info. Maybe this could be used by someone more skilled in this than me as the start of a workaround? -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty Status in Release Notes for Ubuntu: Fix Released Status in “linux” package in Ubuntu: Triaged Status in “linux” source package in Natty: Incomplete Status in “linux” source package in Oneiric: Triaged Bug description: This is a regression moving from maverick-natty. With the same sort of light interactive usage, Battery life has gone from ~4 hours to 2:45 or so. Running powertop shows the system in P-state Turbo mode 10-15% of the time. Typically this was almost zero in maverick, 98+% of the time maverick was in the lowest state. wakeups reported in the 5-600/s range where previously (from memory) it was 200 ish. i915 driver is high on the list. This is irrespective of whether running unity or classic desktop. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: linux-image-2.6.38-8-generic 2.6.38-8.42 Regression: Yes Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: amd64 ArecordDevices: List of CAPTURE Hardware Devices card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: james 2068 F pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf262 irq 47' Mixer name : 'Conexant CX20561 (Hermosa)' Components : 'HDA:14f15051,17aa20ff,0010' Controls : 16 Simple ctrls : 8 Card29.Amixer.info: Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7XHT24WW-1.06' Mixer name : 'ThinkPad EC 7XHT24WW-1.06' Components : '' Controls : 1 Simple ctrls : 1 Card29.Amixer.values: Simple mixer control 'Console',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Date: Wed Apr 13 15:03:35 2011 EcryptfsInUse: Yes HibernationDevice: RESUME=UUID=bb479652-f524-4abe-b1b0-27646d6deebc InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release Candidate amd64 (20100928) MachineType: LENOVO 7465CTO ProcEnviron: LANGUAGE=en_US:en_GB:en PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=266abe9a-19c2-4cc3-9ef7-238b729b6044 ro quiet splash libata.force=noncq vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-2.6.38-8-generic N/A linux-backports-modules-2.6.38-8-generic N/A linux-firmware1.50 RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no SourcePackage: linux UpgradeStatus: Upgraded to natty on 2011-04-06 (7 days ago) dmi.bios.date: 11/10/2009 dmi.bios.vendor: LENOVO dmi.bios.version: 6DET61WW (3.11 ) dmi.board.name: 7465CTO dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvr6DET61WW(3.11):bd11/10/2009:svnLENOVO:pn7465CTO:pvrThinkPadX200s:rvnLENOVO:rn7465CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
Re: [Bug 760131] Re: Power consumption raised significantly in natty
The problem is that we don't know if someone is working on it since both articles I read on that topic (phoronix, lwn) says that nobody seems to take care of it. On 07/19/2011 08:44 PM, bigbrovar wrote: Seriously guys the more me too comments you add to this post, the more distracted the developers are, please this bug is being worked on both upstream and downstream. Coming here to express you pain would not help solve this any further just add more distraction and frustrate the people working on this. If you have any new information that might help in fixing this by all means add. If all you have is make sentimental statements please use the forums. If this bug affects you. Indicate using the appropriate tool. On Jul 18, 2011 6:06 PM, Derek P760...@bugs.launchpad.net wrote: Novice user adding input here. If this cannot be fixed so that I can have similar battery life as when running Windows I will have to stop using Ubuntu. I prefer this OS over Windows 7 but I can't work with barely 2 hours of battery life. This is with - GRUB_CMDLINE_LINUX_DEFAULT=quiet splash pcie_aspm=force I am crossing my fingers they figure something out. Thanks for listening. -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 760131] Re: Power consumption raised significantly in natty
if you page to the end of the posts on the bug you reference, you will find: -- quote On 07/20/2011 03:24 AM, Colin King wrote:Chris Van Hoof (vanhoof) wrote on 2011-07-13: #34 Marking as fix released as 2.6.38-10 was released today Changed in linux (Ubuntu Natty): status: Fix Committed → Fix Released -end quote --- Another post in that discussion says the fix was already pushed out to Oneric. alizard@terrarium:~$ uname -a Linux terrarium 2.6.38-10-generic-pae #46-Ubuntu SMP Tue Jun 28 16:54:49 UTC 2011 i686 athlon i386 GNU/Linux alizard@terrarium:~$ My desktop runs Natty, got the regular update upgrading the kernel to 38-10 and appears to be running several degrees cooler. Did not observe this in detail, as I was far more concerned about my netbook which is running 5 C hotter than usual. My netbook will be upgraded ASAP, the rest of you might want to try upgrading to a current kernel version and see if you still have the problem. YMMV and good luck. A.Lizard I suggest testing out the latest natty -proposed kernel, it contains commit 9ee653dce0efc6bad29f0d68b4ac74dbed093131 commit 9ee653dce0efc6bad29f0d68b4ac74dbed093131 Author: Tero Kristo tero.kri...@nokia.com Date: Thu Feb 24 17:19:23 2011 +0200 cpuidle: menu: fixed wrapping timers at 4.294 seconds BugLink: http://bugs.launchpad.net/bugs/774947 Cpuidle menu governor is using u32 as a temporary datatype for storing nanosecond values which wrap around at 4.294 seconds. This causes errors in predicted sleep times resulting in higher than should be C state selection and increased power consumption. This also breaks cpuidle state residency statistics. cc: sta...@kernel.org # .32.x through .39.x Signed-off-by: Tero Kristo tero.kri...@nokia.com Signed-off-by: Len Brown len.br...@intel.com (cherry picked from commit 7467571f4480b273007517b26297c07154c73924) Acked-by: Stefan Bader stefan.ba...@canonical.com Signed-off-by: Tim Gardner tim.gard...@canonical.com This should fix a bug with incorrect C state selection which lead to increased power consumption. -- member The Internet Society (ISOC), The HTML Writers Guild. All that is, is information Personal Website http://www.ecis.com/~alizard business Website http://www.reptilelabs.com backup address (if ALL else fails) aliz...@gmail.com PGP 8.0 key available by request or keyserver. Download PGP from: http://www.pgpi.org for e-mail privacy. Disaster prep info: http://www.ecis.com/~alizard/y2k.html ***Looking for INTELLIGENT new technology public policy alternatives?*** http://www.ecis.com/~alizard/technology.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 760131] Re: Power consumption raised significantly in natty
Seriously guys the more me too comments you add to this post, the more distracted the developers are, please this bug is being worked on both upstream and downstream. Coming here to express you pain would not help solve this any further just add more distraction and frustrate the people working on this. If you have any new information that might help in fixing this by all means add. If all you have is make sentimental statements please use the forums. If this bug affects you. Indicate using the appropriate tool. On Jul 18, 2011 6:06 PM, Derek P 760...@bugs.launchpad.net wrote: Novice user adding input here. If this cannot be fixed so that I can have similar battery life as when running Windows I will have to stop using Ubuntu. I prefer this OS over Windows 7 but I can't work with barely 2 hours of battery life. This is with - GRUB_CMDLINE_LINUX_DEFAULT=quiet splash pcie_aspm=force I am crossing my fingers they figure something out. Thanks for listening. -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 760131] Re: Power consumption raised significantly in natty
Out of curiosity: Why Linux have this problem and Windows don't? This is not a troll. I don't understand technically : if hardware devices don't propertly support the ASPM power-saving modes, why Windows is not concerned? On 07/18/2011 02:24 AM, cjcolella wrote: There won't be a fix per se for Oneiric. This is a permanent condition because it is a new setting of the Linux kernel, and nobody in power considers it a bug, nor a very important issue. Sorry. There isn't any easy 'solution' to improve this situation beyond affected users forcing the PCI-E Active-State Power Management using the pcie_aspm=force kernel command line option. Jesse thinks that more Linux drivers will end up needing to set the ASPM bits directly as a long-term solution. There's just too many hardware devices that don't properly support the ASPM power-saving modes. The only alternative would be to create a big white-list of supported devices, but that comes down to being effectively the same large task as just having the driver set the appropriate bit. So there won't be any magic fix in the Linux 3.0 kernel nor will there likely be any major change in the Linux 3.1 kernel without suddenly a bunch of drivers handling the Active-State Power Management bit. For now, mobile users just need to know to force the PCI-E ASPM support if needed to maximize the Linux battery life. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 760131] Re: Power consumption raised significantly in natty
that is the interesting question. There isn't really a large discrepancy for the most part. Phoronix did a piece comparing ubuntu to windows 7, and they actually were rather close. http://www.phoronix.com/scan.php?page=articleitem=windows_ubuntu_pownum=1 that said, there are a few reasons why Natty ends up using more power than previous versions.. the biggest is the ASPI changes to the kernel. Basically, there are some devices that could lock up the boot process as earlier versions would boot up. The kernel devs changed the behavior of the linux kernel, now it does not assume it can implement ASPM, it will query the ACPI bits in the BIOS on your computer if it can. Before this, it didn't check, it would turn it on regardless. Unfortunately, as these things go, many BIOS out there SUCK. Most manufacturers do little testing (as in none) to make sure their bios works according to established standards, and usually if it works with Windows, they ship it, and don't really care afterwards. Now that the Linux kernel is being polite, (and following actual ACPI standards) many devices will not report proper information to hand off to the Kernel. So Linux will now assume it can't touch it, and ASPM is disabled on the devices. for the most part, you can override this with the pcie_aspm=force command during boot. There does seem to be some devices I have that don't enable ASPM even with that for me, mostly some usb stuff on my laptop and the Intel wireless 5100 adapter. I don't know that it makes a huge difference, with the Maverick kernel, I can see idle power usage down to 18 watts, but that is all PM options enabled, and nothing running but Unity (by the way, unity is much more power efficient than the older Gnome 2.x - Who would have thought..) with the latest upstream sources from git.kernel.org or the Oneiric sources I can see it idle at about 19-20 watts. Not a lot lost. the other thing to realize is there were many scheduler changes that have been made since 2.6.38 in Natty. Many of them improve things for power utilization. One developer found that there was a problem with counters rolling over that would cause timing issues with load balancing between multiple cores, and it would wake the CPUs early, preventing them from idling in low power states. This is fixed in the upstream sources, and helps a bit with the overall performance. Maybe it is just me, but when I am actually doing something on the laptop, it doesn't seem to run the battery down as bad with the patch in, so maybe that is something. Your experience may vary, some didn't report any issues in this thread at all with natty, some even said they got BETTER life out of the battery on Natty vs others. I think it depends more on how seriously your laptop manufacturer takes BIOS debugging, as many don't try very hard. If you happen to be a lucky person with a good BIOS, like maybe a decent lenovo or something, then you might not see any issues at all. Matthew Garrett was the subject of a recent article on LWN.net that gives a good history on this. Maybe it will help more than my rambling. http://lwn.net/Articles/449448/ Most of the stuff I have read from the Devs make it look like the long term fix is going to be changes in the drivers to override the broken crap even if the BIOS is stupid. But that will take updates to the affected drivers by those who know how, and when it is appropriate to force the override on all users' hardware. Matthew Garett actually mentions this, that perhaps some things work in windows as some drivers already force the handoff of ASPM functions when windows initializes. On Mon, Jul 18, 2011 at 4:19 AM, Nicolas Michel nicolas.mic...@lemail.bewrote: Out of curiosity: Why Linux have this problem and Windows don't? This is not a troll. I don't understand technically : if hardware devices don't propertly support the ASPM power-saving modes, why Windows is not concerned? On 07/18/2011 02:24 AM, cjcolella wrote: There won't be a fix per se for Oneiric. This is a permanent condition because it is a new setting of the Linux kernel, and nobody in power considers it a bug, nor a very important issue. Sorry. There isn't any easy 'solution' to improve this situation beyond affected users forcing the PCI-E Active-State Power Management using the pcie_aspm=force kernel command line option. Jesse thinks that more Linux drivers will end up needing to set the ASPM bits directly as a long-term solution. There's just too many hardware devices that don't properly support the ASPM power-saving modes. The only alternative would be to create a big white-list of supported devices, but that comes down to being effectively the same large task as just having the driver set the appropriate bit. So there won't be any magic fix in the Linux 3.0 kernel nor will there likely be any major change in the Linux 3.1 kernel without suddenly a bunch of drivers handling the Active-State
Re: [Bug 760131] Re: Power consumption raised significantly in natty
well, I woudn't say negativist, but.. I think the power issue is a bit overblown. even in the inital bug report for this, Natty was like 15 percent more power hungry than the older versions. And - this is not unique to Natty, or Ubuntu.. if you look around there are bug reports for this exact bug on Fedora, Debian, I think I even saw this in Gentoo and Arch as well. Most of the effort I see Ubuntu developers working on are usability and GUI improvements, and don't discount the work they do to enhance the stock debian packages to make Ubuntu as stable as possible. the Power utilization is higher, true, newer kernels do not have as much of a problem, and there is the option to force the pcie_aspm to work like it used to, so there is no functionality lost. It is a bit of a cludge, but you should expect that when running the latest and more bleeding edge stuff. Before you start assuming that there is a major disconnect with the guys at ubuntu though, try out the latest Fedora.. notice anything? Power issues are the same, and they have this fancy new GUI also, only it is Gnome 3.0 - I'm not saying either one is better, but there are more similarities than differences that I have found. But lately Gnome has ticked me off too much - you have LESS options to customize and tune than Unity or others. I used fedora for maybe a week, reinstalled Natty and have been happy since. If you don't like either one, and want something more flexible or whatever, try the alternatives. KDE is looking really good these days, might be the prettiest GUI I have ever seen, and now it really seems usable, how funny that a year ago, everyone was preaching doom and gloom on the changes from KDE old to KDE new. I will also say that Ubuntu is one of the more stable and easy to use distros out there, they don't take away my insatiable desire to tinker with the guts of it. And I don't see any other OS that is as easy to add other devices to now. Windows is a pain in the @#$@ to get some new device on there, what with the installers that HP wants you to use so you can't just install the damn thing, - I have to also add your bloated replacement for stuff that windows can already do, and other issues.. Macs might just work, but only if you use their stuff.. A PC would just work too if I only had maybe 20 or so things I could plug into it.. anyway I have veered way off the subject.. hope I don't sound too trollish.. On Mon, Jul 18, 2011 at 7:01 PM, florin 760...@bugs.launchpad.net wrote: I base my opinion on +cjcolella's note: I do think that not considering battery life as a priority will make Linux unusable in the near future. Why? Just have a look at Ubuntu's interface and one of Ubuntu's major decisions: it dropped Gnome and made a whole new interface, Unity, that has one of the main objectives to make it EASY TO USE on touchscreens. But most touch screens are on phones, tablets, notebooks, netbooks, and other mobile devices. I think nowadays, mobile devices are the most succesful on any markets and I think Ubuntu had a good idea to address the mobile users; but it's important to make the OS work at least as well as other OS's. Why would I use Ubuntu/any other Linux (as it is a kernel feature aka bug) if my cool device can't be used with it? Call me negativist, but this is a any-linux-distro-killer issue and should be shared with other distributions and insist at kernel developers. This needs a solution ASAP, before users start looking elsewhere. -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty Status in Release Notes for Ubuntu: Fix Released Status in “linux” package in Ubuntu: Triaged Status in “linux” source package in Natty: Incomplete Status in “linux” source package in Oneiric: Triaged Bug description: This is a regression moving from maverick-natty. With the same sort of light interactive usage, Battery life has gone from ~4 hours to 2:45 or so. Running powertop shows the system in P-state Turbo mode 10-15% of the time. Typically this was almost zero in maverick, 98+% of the time maverick was in the lowest state. wakeups reported in the 5-600/s range where previously (from memory) it was 200 ish. i915 driver is high on the list. This is irrespective of whether running unity or classic desktop. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: linux-image-2.6.38-8-generic 2.6.38-8.42 Regression: Yes Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: amd64 ArecordDevices: List of CAPTURE Hardware Devices card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0
Re: [Bug 760131] Re: Power consumption raised significantly in natty
I would offer the opinion that this is more like a regression as this exposed a kernel regression as proper aspm handling requires changes to the drivers in the kernel. In the article, it mentions that the windows drivers may have additional bits for aspm functionality, thus overriding BIOS handover. This is not unlike previous issues seen with linux where many BIOS implementations are usually just good enough to get windows working, specific functions they are supposed to do are not done according to standards. Before this issue there were numerous issues with suspend/resume, DPMI, intel graphics bios missing resolution info, and more. Each issue resulted in hacks to work around until drivers or the kernel got a more permanent fix. On 6/30/11, Jon Grossart 760...@bugs.launchpad.net wrote: While, I agree that this a huge problem overall, I'm think I have to agree with the idea that it's not a regression. If you read the comments on Phoronix from the actual path author (which was only linked on the little side bar of the page, not the main column), he makes the statement a little more clear. http://www.phoronix.com/scan.php?page=news_itempx=OTYwNA The patch enables correct handling of the ASPM to the BIOS if it can handle it, otherwise it lets the kernel do it. However, it then depends on the hardware drivers to setup the correct values. That is the problem that is happening with this bug according to the author. The kernel is now handling the situation correctly, and it is revealing a lot of long standing bugs in a lot/most of the drivers and BIOSes in that they don't handle ASPM correctly, or coded to the fact that the kernel was incorrectly managing it before. Quite frankly, it sounds a lot like the whole IE6 problem plaguing web browsers. Maybe this has something to do with the overall higher power consumption in Ubuntu often seen. On netbook in WinXP I can it down to 5W idling. In Ubuntu with same config, it won't go below 7-8W. The only thing I can think that would make the different is the driver settings/abilities. So what is the correct fix? That, I don't know. BIOS and hardware drivers are real culprits it seems. Chances of BIOS fixes are probably slim for the vast majority of systems. And the drivers changes would probably be numerous and slow going. -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty Status in Release Notes for Ubuntu: Fix Released Status in “linux” package in Ubuntu: Triaged Status in “linux” source package in Natty: Incomplete Status in “linux” source package in Oneiric: Triaged Bug description: This is a regression moving from maverick-natty. With the same sort of light interactive usage, Battery life has gone from ~4 hours to 2:45 or so. Running powertop shows the system in P-state Turbo mode 10-15% of the time. Typically this was almost zero in maverick, 98+% of the time maverick was in the lowest state. wakeups reported in the 5-600/s range where previously (from memory) it was 200 ish. i915 driver is high on the list. This is irrespective of whether running unity or classic desktop. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: linux-image-2.6.38-8-generic 2.6.38-8.42 Regression: Yes Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: amd64 ArecordDevices: List of CAPTURE Hardware Devices card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: james 2068 F pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf262 irq 47' Mixer name : 'Conexant CX20561 (Hermosa)' Components : 'HDA:14f15051,17aa20ff,0010' Controls : 16 Simple ctrls : 8 Card29.Amixer.info: Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7XHT24WW-1.06' Mixer name : 'ThinkPad EC 7XHT24WW-1.06' Components : '' Controls : 1 Simple ctrls : 1 Card29.Amixer.values: Simple mixer control 'Console',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Date: Wed Apr 13 15:03:35 2011 EcryptfsInUse: Yes HibernationDevice: RESUME=UUID=bb479652-f524-4abe-b1b0-27646d6deebc InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release Candidate amd64 (20100928) MachineType: LENOVO 7465CTO ProcEnviron: LANGUAGE=en_US:en_GB:en PATH=(custom, user)
Re: [Bug 760131] Re: Power consumption raised significantly in natty
Jon- absolutely agree. Only way I can figure this isn't getting more attention is that the majority of datacenters are using enterprise versions of the kernel, which are several versions back and aren't affected yet. Once RHEL version 7 or 8 comes out with 2.6.38 or later, everyone would get a bit concerned when the power utilization goes up. FWIW it probably wouldn't affect really busy servers as much, this seems to really affect power usage when the cpu is lightly loaded or idle. On 6/30/11, Jon Grossart 760...@bugs.launchpad.net wrote: Regression/proper behavior or whatever it ends up being called, there is a lot more fixing that needs to be done. What has surprised me about the whole Linux community is that no one seems to be really all that upset or even tracking the problem as a whole except Phoronix and the users. It would seem with the prevalence of laptops that power consumption would be a huge priority. Although, there are tons more servers than laptop running Linux, so maybe that is the issue here as well. Although, I would think power consumption is an even bigger issue for them (cost wise, not running down the battery/burn your lap wise). -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty Status in Release Notes for Ubuntu: Fix Released Status in “linux” package in Ubuntu: Triaged Status in “linux” source package in Natty: Incomplete Status in “linux” source package in Oneiric: Triaged Bug description: This is a regression moving from maverick-natty. With the same sort of light interactive usage, Battery life has gone from ~4 hours to 2:45 or so. Running powertop shows the system in P-state Turbo mode 10-15% of the time. Typically this was almost zero in maverick, 98+% of the time maverick was in the lowest state. wakeups reported in the 5-600/s range where previously (from memory) it was 200 ish. i915 driver is high on the list. This is irrespective of whether running unity or classic desktop. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: linux-image-2.6.38-8-generic 2.6.38-8.42 Regression: Yes Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: amd64 ArecordDevices: List of CAPTURE Hardware Devices card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: james 2068 F pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf262 irq 47' Mixer name : 'Conexant CX20561 (Hermosa)' Components : 'HDA:14f15051,17aa20ff,0010' Controls : 16 Simple ctrls : 8 Card29.Amixer.info: Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7XHT24WW-1.06' Mixer name : 'ThinkPad EC 7XHT24WW-1.06' Components : '' Controls : 1 Simple ctrls : 1 Card29.Amixer.values: Simple mixer control 'Console',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Date: Wed Apr 13 15:03:35 2011 EcryptfsInUse: Yes HibernationDevice: RESUME=UUID=bb479652-f524-4abe-b1b0-27646d6deebc InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release Candidate amd64 (20100928) MachineType: LENOVO 7465CTO ProcEnviron: LANGUAGE=en_US:en_GB:en PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=266abe9a-19c2-4cc3-9ef7-238b729b6044 ro quiet splash libata.force=noncq vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-2.6.38-8-generic N/A linux-backports-modules-2.6.38-8-generic N/A linux-firmware1.50 RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no SourcePackage: linux UpgradeStatus: Upgraded to natty on 2011-04-06 (7 days ago) dmi.bios.date: 11/10/2009 dmi.bios.vendor: LENOVO dmi.bios.version: 6DET61WW (3.11 ) dmi.board.name: 7465CTO dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvr6DET61WW(3.11):bd11/10/2009:svnLENOVO:pn7465CTO:pvrThinkPadX200s:rvnLENOVO:rn7465CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 7465CTO dmi.product.version: ThinkPad X200s dmi.sys.vendor: LENOVO === Release Notes === Due to a
Re: [Bug 760131] Re: Power consumption raised significantly in natty
I'm on a Lenovo X301. dmesg says this system does not support ASPM but battery life is still poor. -- 083 7797 094 | http://warwickchapman.com -Original Message- From: RussianNeuroMancer 760...@bugs.launchpad.net Sender: boun...@canonical.com Date: Fri, 01 Jul 2011 02:33:56 To: warw...@thusa.net Reply-To: Bug 760131 760...@bugs.launchpad.net Subject: [Bug 760131] Re: Power consumption raised significantly in natty http://lwn.net/Articles/449648/ -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty Status in Release Notes for Ubuntu: Fix Released Status in “linux” package in Ubuntu: Triaged Status in “linux” source package in Natty: Incomplete Status in “linux” source package in Oneiric: Triaged Bug description: This is a regression moving from maverick-natty. With the same sort of light interactive usage, Battery life has gone from ~4 hours to 2:45 or so. Running powertop shows the system in P-state Turbo mode 10-15% of the time. Typically this was almost zero in maverick, 98+% of the time maverick was in the lowest state. wakeups reported in the 5-600/s range where previously (from memory) it was 200 ish. i915 driver is high on the list. This is irrespective of whether running unity or classic desktop. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: linux-image-2.6.38-8-generic 2.6.38-8.42 Regression: Yes Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: amd64 ArecordDevices: List of CAPTURE Hardware Devices card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: james 2068 F pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf262 irq 47' Mixer name : 'Conexant CX20561 (Hermosa)' Components : 'HDA:14f15051,17aa20ff,0010' Controls : 16 Simple ctrls : 8 Card29.Amixer.info: Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7XHT24WW-1.06' Mixer name : 'ThinkPad EC 7XHT24WW-1.06' Components : '' Controls : 1 Simple ctrls : 1 Card29.Amixer.values: Simple mixer control 'Console',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Date: Wed Apr 13 15:03:35 2011 EcryptfsInUse: Yes HibernationDevice: RESUME=UUID=bb479652-f524-4abe-b1b0-27646d6deebc InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release Candidate amd64 (20100928) MachineType: LENOVO 7465CTO ProcEnviron: LANGUAGE=en_US:en_GB:en PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=266abe9a-19c2-4cc3-9ef7-238b729b6044 ro quiet splash libata.force=noncq vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-2.6.38-8-generic N/A linux-backports-modules-2.6.38-8-generic N/A linux-firmware1.50 RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no SourcePackage: linux UpgradeStatus: Upgraded to natty on 2011-04-06 (7 days ago) dmi.bios.date: 11/10/2009 dmi.bios.vendor: LENOVO dmi.bios.version: 6DET61WW (3.11 ) dmi.board.name: 7465CTO dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvr6DET61WW(3.11):bd11/10/2009:svnLENOVO:pn7465CTO:pvrThinkPadX200s:rvnLENOVO:rn7465CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 7465CTO dmi.product.version: ThinkPad X200s dmi.sys.vendor: LENOVO === Release Notes === Due to a regression inherited from the upstream linux kernel, Natty 11.04 can exhibit a 10-30% increase in power consumption. This is a known issue which is actively being investigated. A SRU will be released onced a viable solution is found. For more information, please see http://www.phoronix.com/scan.php?page=articleitem=linux_mobile_uffdanum=1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs
Re: [Bug 760131] Re: Power consumption raised significantly in natty
Are you using the stock kernel? Or the patched version further up the thread? On 6/29/11, srd 760...@bugs.launchpad.net wrote: A slight decrease in power usage, dropping from 33 to 30.5 Watts according to powertop on a Thinkpad R500. Better than nothing, but still a long way from the sub 20 Watts I used to be able to get with ubuntu 10.04 and before. -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty Status in Release Notes for Ubuntu: Fix Released Status in “linux” package in Ubuntu: Triaged Status in “linux” source package in Natty: Incomplete Status in “linux” source package in Oneiric: Triaged Bug description: This is a regression moving from maverick-natty. With the same sort of light interactive usage, Battery life has gone from ~4 hours to 2:45 or so. Running powertop shows the system in P-state Turbo mode 10-15% of the time. Typically this was almost zero in maverick, 98+% of the time maverick was in the lowest state. wakeups reported in the 5-600/s range where previously (from memory) it was 200 ish. i915 driver is high on the list. This is irrespective of whether running unity or classic desktop. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: linux-image-2.6.38-8-generic 2.6.38-8.42 Regression: Yes Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: amd64 ArecordDevices: List of CAPTURE Hardware Devices card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: james 2068 F pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf262 irq 47' Mixer name : 'Conexant CX20561 (Hermosa)' Components : 'HDA:14f15051,17aa20ff,0010' Controls : 16 Simple ctrls : 8 Card29.Amixer.info: Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7XHT24WW-1.06' Mixer name : 'ThinkPad EC 7XHT24WW-1.06' Components : '' Controls : 1 Simple ctrls : 1 Card29.Amixer.values: Simple mixer control 'Console',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Date: Wed Apr 13 15:03:35 2011 EcryptfsInUse: Yes HibernationDevice: RESUME=UUID=bb479652-f524-4abe-b1b0-27646d6deebc InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release Candidate amd64 (20100928) MachineType: LENOVO 7465CTO ProcEnviron: LANGUAGE=en_US:en_GB:en PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=266abe9a-19c2-4cc3-9ef7-238b729b6044 ro quiet splash libata.force=noncq vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-2.6.38-8-generic N/A linux-backports-modules-2.6.38-8-generic N/A linux-firmware1.50 RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no SourcePackage: linux UpgradeStatus: Upgraded to natty on 2011-04-06 (7 days ago) dmi.bios.date: 11/10/2009 dmi.bios.vendor: LENOVO dmi.bios.version: 6DET61WW (3.11 ) dmi.board.name: 7465CTO dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvr6DET61WW(3.11):bd11/10/2009:svnLENOVO:pn7465CTO:pvrThinkPadX200s:rvnLENOVO:rn7465CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 7465CTO dmi.product.version: ThinkPad X200s dmi.sys.vendor: LENOVO === Release Notes === Due to a regression inherited from the upstream linux kernel, Natty 11.04 can exhibit a 10-30% increase in power consumption. This is a known issue which is actively being investigated. A SRU will be released onced a viable solution is found. For more information, please see http://www.phoronix.com/scan.php?page=articleitem=linux_mobile_uffdanum=1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscriptions -- Sent from my mobile device -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty To manage notifications about this bug go to:
Re: [Bug 760131] Re: Power consumption raised significantly in natty
On 06/28/2011 09:49 AM, Newfie wrote: I should chime in here to mention that battery life for me on Natty was very negatively impacted. The most I was able to get out of my laptop when dimming screen, disabling effects, etc, was 50 minutes. The same laptop can get a max of 2.5 hours on Ubuntu 10.10 and lower. Have you tried the fix proposed by Michael? - add to your kernel option (into grub) pcie_aspm=force If you don't know how to do it, you'll find instructions into previous comments of this bug report. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 760131] Re: Power consumption raised significantly in natty
@felix, add it after the word splash, like this: GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash pcie_aspm=force” On 2011-06-27 09:59, felixcorrales wrote: The /etc/default/grub file have the following lines: GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” GRUB_CMDLINE_LINUX=” Where should I add pcie_aspm=force? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 760131] Re: Power consumption raised significantly in natty
To default like this: GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash pcie_aspm=force” 2011/6/27 felixcorrales 760...@bugs.launchpad.net The /etc/default/grub file have the following lines: GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” GRUB_CMDLINE_LINUX=” Where should I add pcie_aspm=force? -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty Status in Release Notes for Ubuntu: Fix Released Status in “linux” package in Ubuntu: Triaged Status in “linux” source package in Natty: Incomplete Status in “linux” source package in Oneiric: Triaged Bug description: This is a regression moving from maverick-natty. With the same sort of light interactive usage, Battery life has gone from ~4 hours to 2:45 or so. Running powertop shows the system in P-state Turbo mode 10-15% of the time. Typically this was almost zero in maverick, 98+% of the time maverick was in the lowest state. wakeups reported in the 5-600/s range where previously (from memory) it was 200 ish. i915 driver is high on the list. This is irrespective of whether running unity or classic desktop. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: linux-image-2.6.38-8-generic 2.6.38-8.42 Regression: Yes Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: amd64 ArecordDevices: List of CAPTURE Hardware Devices card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: james 2068 F pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf262 irq 47' Mixer name : 'Conexant CX20561 (Hermosa)' Components : 'HDA:14f15051,17aa20ff,0010' Controls : 16 Simple ctrls : 8 Card29.Amixer.info: Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7XHT24WW-1.06' Mixer name : 'ThinkPad EC 7XHT24WW-1.06' Components : '' Controls : 1 Simple ctrls : 1 Card29.Amixer.values: Simple mixer control 'Console',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Date: Wed Apr 13 15:03:35 2011 EcryptfsInUse: Yes HibernationDevice: RESUME=UUID=bb479652-f524-4abe-b1b0-27646d6deebc InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release Candidate amd64 (20100928) MachineType: LENOVO 7465CTO ProcEnviron: LANGUAGE=en_US:en_GB:en PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=266abe9a-19c2-4cc3-9ef7-238b729b6044 ro quiet splash libata.force=noncq vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-2.6.38-8-generic N/A linux-backports-modules-2.6.38-8-generic N/A linux-firmware1.50 RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no SourcePackage: linux UpgradeStatus: Upgraded to natty on 2011-04-06 (7 days ago) dmi.bios.date: 11/10/2009 dmi.bios.vendor: LENOVO dmi.bios.version: 6DET61WW (3.11 ) dmi.board.name: 7465CTO dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvr6DET61WW(3.11):bd11/10/2009:svnLENOVO:pn7465CTO:pvrThinkPadX200s:rvnLENOVO:rn7465CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 7465CTO dmi.product.version: ThinkPad X200s dmi.sys.vendor: LENOVO === Release Notes === Due to a regression inherited from the upstream linux kernel, Natty 11.04 can exhibit a 10-30% increase in power consumption. This is a known issue which is actively being investigated. A SRU will be released onced a viable solution is found. For more information, please see http://www.phoronix.com/scan.php?page=articleitem=linux_mobile_uffdanum=1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscriptions -- Cumprimentos, Sérgio Faria -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 760131] Re: Power consumption raised significantly in natty
I did some digging on the lkml forums (hard to add links from the bby) It looks like all of them relate to a series of commits for the kernel IPI process. It looks to be added as a way to load balance processes accross multiple cores in the fair scheduler (CFS) when the kernel is running tickless (config_no_hz). IPI is supposed to evaluate what core should handle the load balancing process across all cores at any given time, based on which ones are busy and idle. It looks to me to prefer keeping the load balance process on a lightly loaded core so that the heavier processes don't get impacted by the additional work of managing the other cores' processes. It sounds to me that it is a good way to keep high performance in a server (especially as you increase the number of cores in the system,) but I wonder if that may be the wong approach for a smaller system looking to maximize power efficiency instead of raw performance. On a single socket dual core system like atom, brazos, core2duo etc, it doesn't seem to be necessary as the cores on a single socket share cache and other resources. I wonder if it would make more sense in the smaller systems (single socket) to assign the load balancing process on one core, skip the IPI altogether and only wake the other cores when there is work to do. Perhaps even prefer to run new processes itself until it needs to wake another core. (Unfortunately, I am not a kernel hacker - If I am misunderstanding any of this, I would welcome someone to correct me :) On 6/10/11, Julian Kalinowski 760...@bugs.launchpad.net wrote: This is getting OT, but how can you get 1141 wakups/sec when your top wakeup cause has only 33.7 wakeup/s ? I recently booted windows xp, which only consumes 8.5W compared to 12W in idle on ubuntu :( I'd really like the powersaving issue to be adressed.. -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty Status in Release Notes for Ubuntu: Fix Released Status in “linux” package in Ubuntu: Triaged Status in “linux” source package in Natty: Incomplete Status in “linux” source package in Oneiric: Triaged Bug description: This is a regression moving from maverick-natty. With the same sort of light interactive usage, Battery life has gone from ~4 hours to 2:45 or so. Running powertop shows the system in P-state Turbo mode 10-15% of the time. Typically this was almost zero in maverick, 98+% of the time maverick was in the lowest state. wakeups reported in the 5-600/s range where previously (from memory) it was 200 ish. i915 driver is high on the list. This is irrespective of whether running unity or classic desktop. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: linux-image-2.6.38-8-generic 2.6.38-8.42 Regression: Yes Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: amd64 ArecordDevices: List of CAPTURE Hardware Devices card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: james 2068 F pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf262 irq 47' Mixer name : 'Conexant CX20561 (Hermosa)' Components : 'HDA:14f15051,17aa20ff,0010' Controls : 16 Simple ctrls : 8 Card29.Amixer.info: Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7XHT24WW-1.06' Mixer name : 'ThinkPad EC 7XHT24WW-1.06' Components : '' Controls : 1 Simple ctrls : 1 Card29.Amixer.values: Simple mixer control 'Console',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Date: Wed Apr 13 15:03:35 2011 EcryptfsInUse: Yes HibernationDevice: RESUME=UUID=bb479652-f524-4abe-b1b0-27646d6deebc InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release Candidate amd64 (20100928) MachineType: LENOVO 7465CTO ProcEnviron: LANGUAGE=en_US:en_GB:en PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=266abe9a-19c2-4cc3-9ef7-238b729b6044 ro quiet splash libata.force=noncq vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-2.6.38-8-generic N/A linux-backports-modules-2.6.38-8-generic N/A linux-firmware1.50 RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no SourcePackage: linux UpgradeStatus: Upgraded to natty
Re: [Bug 760131] Re: Power consumption raised significantly in natty
@Alex - is the radeon driver the Xorg driver? Using the proprietary fglrx one will probably improve things quite a bit. Power consumption on the open source stack for both amd and nvidia is still quite high. My friend's eepc 1015T dropped about 4-5 watts when I installed the proprietary driver. On 6/9/11, Alessandro Lazzari 760...@bugs.launchpad.net wrote: Some details about what posted above. 30,1% ( 68,2) [radeon] interrupt 29,9% ( 67,6) [extra timer interrupt] 8,7% ( 19,6) desktopcouch-se 8,0% ( 18,0) compiz -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty Status in Release Notes for Ubuntu: Fix Released Status in “linux” package in Ubuntu: Triaged Status in “linux” source package in Natty: Incomplete Status in “linux” source package in Oneiric: Triaged Bug description: This is a regression moving from maverick-natty. With the same sort of light interactive usage, Battery life has gone from ~4 hours to 2:45 or so. Running powertop shows the system in P-state Turbo mode 10-15% of the time. Typically this was almost zero in maverick, 98+% of the time maverick was in the lowest state. wakeups reported in the 5-600/s range where previously (from memory) it was 200 ish. i915 driver is high on the list. This is irrespective of whether running unity or classic desktop. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: linux-image-2.6.38-8-generic 2.6.38-8.42 Regression: Yes Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: amd64 ArecordDevices: List of CAPTURE Hardware Devices card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: james 2068 F pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf262 irq 47' Mixer name : 'Conexant CX20561 (Hermosa)' Components : 'HDA:14f15051,17aa20ff,0010' Controls : 16 Simple ctrls : 8 Card29.Amixer.info: Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7XHT24WW-1.06' Mixer name : 'ThinkPad EC 7XHT24WW-1.06' Components : '' Controls : 1 Simple ctrls : 1 Card29.Amixer.values: Simple mixer control 'Console',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Date: Wed Apr 13 15:03:35 2011 EcryptfsInUse: Yes HibernationDevice: RESUME=UUID=bb479652-f524-4abe-b1b0-27646d6deebc InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release Candidate amd64 (20100928) MachineType: LENOVO 7465CTO ProcEnviron: LANGUAGE=en_US:en_GB:en PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=266abe9a-19c2-4cc3-9ef7-238b729b6044 ro quiet splash libata.force=noncq vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-2.6.38-8-generic N/A linux-backports-modules-2.6.38-8-generic N/A linux-firmware1.50 RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no SourcePackage: linux UpgradeStatus: Upgraded to natty on 2011-04-06 (7 days ago) dmi.bios.date: 11/10/2009 dmi.bios.vendor: LENOVO dmi.bios.version: 6DET61WW (3.11 ) dmi.board.name: 7465CTO dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvr6DET61WW(3.11):bd11/10/2009:svnLENOVO:pn7465CTO:pvrThinkPadX200s:rvnLENOVO:rn7465CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 7465CTO dmi.product.version: ThinkPad X200s dmi.sys.vendor: LENOVO === Release Notes === Due to a regression inherited from the upstream linux kernel, Natty 11.04 can exhibit a 10-30% increase in power consumption. This is a known issue which is actively being investigated. A SRU will be released onced a viable solution is found. For more information, please see http://www.phoronix.com/scan.php?page=articleitem=linux_mobile_uffdanum=1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscriptions -- Sent from my mobile device -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.
Re: [Bug 760131] Re: Power consumption raised significantly in natty
Cjcolla - with over 1000 wakeups per second, I would not think there is much chance of the processor entering a sleep state at all. It looks to me like all of the wakeups are from your usb devices, were you doing much with the mouse or anything like that while taking the snapshot? Earlier in the thread is a link for 2.6.38.9 kernel patched to fix the kernel wakeup timer wrapping issue, on my laptop it doesn't seem to change the maximum power draw in powertop, but when wakeup events are triggered, the power draw doesn't seem to spike as bad. With desktop effects on and I am running unity with the proprietary nvidia driver, I idle at about 21-22 watts and about 100 wakeups per second. With gnome (no effects). That drops to around 20 watts. Nouveau will kick it up to 26 watts at idle. With the lucid kernel running on natty, I get idle down to about 18 - 19 watts and the nvidia driver. 24 watts with nouveau. You might want to check into installing laptop-mode-tools and verifying you have cpufrequtils installed. My friend's eepc 1015 was upgraded to natty, and did not get those installed by default, I added and enabled those and installed the proprietary fglrx driver to drop him down from 16 watts to about 9 at idle with unity running full effects. I was running conky configured with conky-colors (mentioned at webupd8) and found that the 1 second polling was eating up a lot of power. Top wakeups were from the window manager and the kernel load balancing process. Killing conky dropped both of those down again. I changed conky to only poll every 5 seconds, now the draw isn't too bad, maybe 1-2 watts additional. On 6/9/11, cjcolella 760...@bugs.launchpad.net wrote: @z06gal: Thank you for the suggestion, but unfortunately, 2.6.39.1 shows little improvement on this hardware (Toshiba laptop L305-S5937, Core 2 Duo Intel processors, integrated Intel GM45, etc.). I would add, however, that I am using Kubuntu now, and have the same issue in Ubuntu. Even without compositing in each, the problem is still manifest. Here is a summary of Powertop using kernel 2.6.37 and Kwin effects: Wakeups-from-idle per second : 1122.8 interval: 15.0s no ACPI power usage estimate available Top causes for wakeups: 22.6% ( 77.1) [i915] interrupt 19.8% ( 67.5) USB device 5-1 : USB OPTICAL MOUSE (PIXART) 15.0% ( 51.0) [ehci_hcd:usb2, uhci_hcd:usb5] interrupt 5.9% ( 20.0) knotify4 5.0% ( 17.0) kworker/0:0 4.4% ( 15.0) USB device 1-4 : USB2.0-CRW (Generic) 4.2% ( 14.4) [ehci_hcd:usb1, uhci_hcd:usb6] interrupt 3.4% ( 11.7) [ath9k] interrupt 0.1% ( 0.4)D plasma-desktop 2.8% ( 9.5) kworker/u:0 2.8% ( 9.4) [kernel scheduler] Load balancing tick Now, i915 is the top cause here, though the Load balancing tick often tops at different intervals. Disabling desktop effects doesn't change the results much. So, disabling desktop effects and reverting to the 2.6.34 kernel results in the following: Wakeups-from-idle per second : 1182.8 interval: 3.0s no ACPI power usage estimate available Top causes for wakeups: 21.1% ( 44.3) [kernel scheduler] Load balancing tick 10.5% ( 22.0) [ehci_hcd:usb2, uhci_hcd:usb5] interrupt 9.5% ( 20.0) knotify4 8.7% ( 18.3) USB device 5-1 : USB OPTICAL MOUSE (PIXART) 8.6% ( 18.0) [ehci_hcd:usb1, uhci_hcd:usb6] interrupt 7.9% ( 16.7) USB device 1-4 : USB2.0-CRW (Generic) 4.8% ( 10.0) [kernel core] ath_ani_calibrate (ath_ani_calibrate) 4.6% ( 9.7) [ath9k] interrupt 4.3% ( 9.0) [kernel core] hrtimer_start (tick_sched_timer) 2.9% ( 6.0) [ahci] interrupt 2.1% ( 4.3) phy0 1.9% ( 4.0) [kernel core] usb_hcd_poll_rh_status (rh_timer_func) 1.9% ( 4.0) kwin 1.3% ( 2.7) [hda_intel] interrupt 1.3% ( 2.7) alsa-sink 1.3% ( 2.7) threaded-ml 1.3% ( 2.7) USB device 2-3 : My Passport 070A (Western Digital) So I found this other bug report about [kernel scheduler] Load balancing tick on Core 2 Duo. I wonder, as Mr. Hessel mentioned back in May, could this be a contributing factor? https://bugs.launchpad.net/debian/+source/linux-2.6/+bug/524281 -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty Status in Release Notes for Ubuntu: Fix Released Status in “linux” package in Ubuntu: Triaged Status in “linux” source package in Natty: Incomplete Status in “linux” source package in Oneiric: Triaged Bug description: This is a regression moving from maverick-natty. With the same sort of light interactive usage, Battery life has gone from ~4 hours to 2:45 or so. Running powertop shows the system in P-state Turbo mode 10-15% of the time. Typically this was almost zero in maverick, 98+% of the time maverick was in the lowest state. wakeups reported in
Re: [Bug 760131] Re: Power consumption raised significantly in natty
On Mon, May 30, 2011 at 01:19:02AM -, Salih EMIN wrote: -- Conservative Governance (default is performance that drains my battery and produces unnecessary heat ) The default is performance for boot speed, this gets switched to Conservative after login and remains that way we do not leave you in Performance mode unless there is another bug. -- 1000hz cycle (if I recall correctly default is 250Hz, which creates more wakeups for CPU) This is likely to increase not decrease your wakeups, as you have made timers more granular and scheduling ticks more common. It is not clear how this improves anything, in our testing it cost you 10% of additional CPU to perform tasks which should equate to more heat. -- Core2 Family (optimized for my i7core CPU, to remove any unnecessary generic code from kernel ) Fair enough. -apw -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 760131] Re: Power consumption raised significantly in natty
On Sunday, May 29, 2011 09:19:02 PM you wrote: This is the reason why there should not be a Generic kernel. ... No. It's completely unrelated. It's a bug, but we don't have a fix yet. Please rant elsewhere. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 760131] Re: Power consumption raised significantly in natty
Yes, I noticed. I compiled up a lucid kernel - 2.6.34, runs fine on natty. Strange thing I see is that the ACPI reported power usage is the same on my laptop, about 19 - 21 watts, yet I get 3.5 hours on that kernel instead of the 2.1 hours on the natty kernel or the 2.6.39 source from the linus tree. I'm using the same nvidia blob on both. If I switch to nouveau it increases the power usage noticeably, adds about 4 watts in both cases while running gnome or unity and the xorg edger's mesa and xorg binaries. I don't understand how the ACPI power usage can be the same and still have such a large variance for run time on the battery... On 5/20/11, Miroslav 760...@bugs.launchpad.net wrote: @nanog It seems to be not the cause... See: http://www.phoronix.com/scan.php?page=news_itempx=OTQ1Ng -- You received this bug notification because you are a direct subscriber of the bug. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty Status in Release Notes for Ubuntu: Fix Released Status in “linux” package in Ubuntu: Confirmed Status in “linux” source package in Natty: Confirmed Status in “linux” source package in Oneiric: Confirmed Bug description: This is a regression moving from maverick-natty. With the same sort of light interactive usage, Battery life has gone from ~4 hours to 2:45 or so. Running powertop shows the system in P-state Turbo mode 10-15% of the time. Typically this was almost zero in maverick, 98+% of the time maverick was in the lowest state. wakeups reported in the 5-600/s range where previously (from memory) it was 200 ish. i915 driver is high on the list. This is irrespective of whether running unity or classic desktop. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: linux-image-2.6.38-8-generic 2.6.38-8.42 Regression: Yes Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: amd64 ArecordDevices: List of CAPTURE Hardware Devices card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: james 2068 F pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf262 irq 47' Mixer name : 'Conexant CX20561 (Hermosa)' Components : 'HDA:14f15051,17aa20ff,0010' Controls : 16 Simple ctrls : 8 Card29.Amixer.info: Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7XHT24WW-1.06' Mixer name : 'ThinkPad EC 7XHT24WW-1.06' Components : '' Controls : 1 Simple ctrls : 1 Card29.Amixer.values: Simple mixer control 'Console',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Date: Wed Apr 13 15:03:35 2011 EcryptfsInUse: Yes HibernationDevice: RESUME=UUID=bb479652-f524-4abe-b1b0-27646d6deebc InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release Candidate amd64 (20100928) MachineType: LENOVO 7465CTO ProcEnviron: LANGUAGE=en_US:en_GB:en PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=266abe9a-19c2-4cc3-9ef7-238b729b6044 ro quiet splash libata.force=noncq vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-2.6.38-8-generic N/A linux-backports-modules-2.6.38-8-generic N/A linux-firmware1.50 RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no SourcePackage: linux UpgradeStatus: Upgraded to natty on 2011-04-06 (7 days ago) dmi.bios.date: 11/10/2009 dmi.bios.vendor: LENOVO dmi.bios.version: 6DET61WW (3.11 ) dmi.board.name: 7465CTO dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvr6DET61WW(3.11):bd11/10/2009:svnLENOVO:pn7465CTO:pvrThinkPadX200s:rvnLENOVO:rn7465CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 7465CTO dmi.product.version: ThinkPad X200s dmi.sys.vendor: LENOVO === Release Notes === Due to a regression inherited from the upstream linux kernel, Natty 11.04 can exhibit a 10-30% increase in power consumption. This is a known issue which is actively being investigated. A SRU will be released onced a viable solution is found. For more information, please see http://www.phoronix.com/scan.php?page=articleitem=linux_mobile_uffdanum=1 To unsubscribe from this
Re: [Bug 760131] Re: Power consumption raised significantly in natty
It might be a cludge, but a workaround might be to disable the tickless kernel option, multiple core systems and hyperthreading would still work with a slight increase in overhead- at least until this has an accepted patch from the kernel folks. On 5/12/11, nanog 760...@bugs.launchpad.net wrote: Looks like the discussion at lkml has been going on for a long time. http://lkml.org/lkml/2010/4/26/249 This history of this set of patches correlates well with the timeline of increased power consumption from phoronix testing. IMO, the loss of power consumption does not equal the benefit of increased kernel responsiveness especially for laptops. I haven't tested this, but single CPU/single core machines might not be affected by this, As one would expect this bug is present on hyperthreaded single core atom chips. For those who want increased battery life on their atom chips...2.6.34 is running terrifically in natty. -- You received this bug notification because you are a direct subscriber of the bug. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty Status in Release Notes for Ubuntu: Fix Released Status in “linux” package in Ubuntu: Confirmed Status in “linux” source package in Natty: Confirmed Status in “linux” source package in Oneiric: Confirmed Bug description: This is a regression moving from maverick-natty. With the same sort of light interactive usage, Battery life has gone from ~4 hours to 2:45 or so. Running powertop shows the system in P-state Turbo mode 10-15% of the time. Typically this was almost zero in maverick, 98+% of the time maverick was in the lowest state. wakeups reported in the 5-600/s range where previously (from memory) it was 200 ish. i915 driver is high on the list. This is irrespective of whether running unity or classic desktop. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: linux-image-2.6.38-8-generic 2.6.38-8.42 Regression: Yes Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: amd64 ArecordDevices: List of CAPTURE Hardware Devices card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: james 2068 F pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf262 irq 47' Mixer name : 'Conexant CX20561 (Hermosa)' Components : 'HDA:14f15051,17aa20ff,0010' Controls : 16 Simple ctrls : 8 Card29.Amixer.info: Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7XHT24WW-1.06' Mixer name : 'ThinkPad EC 7XHT24WW-1.06' Components : '' Controls : 1 Simple ctrls : 1 Card29.Amixer.values: Simple mixer control 'Console',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Date: Wed Apr 13 15:03:35 2011 EcryptfsInUse: Yes HibernationDevice: RESUME=UUID=bb479652-f524-4abe-b1b0-27646d6deebc InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release Candidate amd64 (20100928) MachineType: LENOVO 7465CTO ProcEnviron: LANGUAGE=en_US:en_GB:en PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=266abe9a-19c2-4cc3-9ef7-238b729b6044 ro quiet splash libata.force=noncq vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-2.6.38-8-generic N/A linux-backports-modules-2.6.38-8-generic N/A linux-firmware1.50 RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no SourcePackage: linux UpgradeStatus: Upgraded to natty on 2011-04-06 (7 days ago) dmi.bios.date: 11/10/2009 dmi.bios.vendor: LENOVO dmi.bios.version: 6DET61WW (3.11 ) dmi.board.name: 7465CTO dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvr6DET61WW(3.11):bd11/10/2009:svnLENOVO:pn7465CTO:pvrThinkPadX200s:rvnLENOVO:rn7465CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 7465CTO dmi.product.version: ThinkPad X200s dmi.sys.vendor: LENOVO === Release Notes === Due to a regression inherited from the upstream linux kernel, Natty 11.04 can exhibit a 10-30% increase in power consumption. This is a known issue which is actively being investigated. A SRU will be released onced a viable solution is found. For more
Re: [Bug 760131] Re: Power consumption raised significantly in natty
@MountainX It means that an entry was made in the release notes for Natty about this regression. On 28 April 2011 22:17, MountainX 760...@bugs.launchpad.net wrote: I hope this is an appropriate question here: Can someone explain this comment? Leann Ogasawara on 2011-04-25 Changed in ubuntu-release-notes: status:In Progress → Fix Released The status says fix released, yet it doesn't appear to be fixed. Does that mean the fix is coming or does it mean the fix didn't really fix it? Thanks for any reply. -- You received this bug notification because you are a direct subscriber of the bug. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty Status in Release Notes for Ubuntu: Fix Released Status in “linux” package in Ubuntu: Confirmed Status in “linux” source package in Natty: Confirmed Status in “linux” source package in Oneiric: Confirmed Bug description: This is a regression moving from maverick-natty. With the same sort of light interactive usage, Battery life has gone from ~4 hours to 2:45 or so. Running powertop shows the system in P-state Turbo mode 10-15% of the time. Typically this was almost zero in maverick, 98+% of the time maverick was in the lowest state. wakeups reported in the 5-600/s range where previously (from memory) it was 200 ish. i915 driver is high on the list. This is irrespective of whether running unity or classic desktop. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: linux-image-2.6.38-8-generic 2.6.38-8.42 Regression: Yes Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: amd64 ArecordDevices: List of CAPTURE Hardware Devices card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: james 2068 F pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf262 irq 47' Mixer name : 'Conexant CX20561 (Hermosa)' Components : 'HDA:14f15051,17aa20ff,0010' Controls : 16 Simple ctrls : 8 Card29.Amixer.info: Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7XHT24WW-1.06' Mixer name : 'ThinkPad EC 7XHT24WW-1.06' Components : '' Controls : 1 Simple ctrls : 1 Card29.Amixer.values: Simple mixer control 'Console',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Date: Wed Apr 13 15:03:35 2011 EcryptfsInUse: Yes HibernationDevice: RESUME=UUID=bb479652-f524-4abe-b1b0-27646d6deebc InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release Candidate amd64 (20100928) MachineType: LENOVO 7465CTO ProcEnviron: LANGUAGE=en_US:en_GB:en PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=266abe9a-19c2-4cc3-9ef7-238b729b6044 ro quiet splash libata.force=noncq vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-2.6.38-8-generic N/A linux-backports-modules-2.6.38-8-generic N/A linux-firmware1.50 RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no SourcePackage: linux UpgradeStatus: Upgraded to natty on 2011-04-06 (7 days ago) dmi.bios.date: 11/10/2009 dmi.bios.vendor: LENOVO dmi.bios.version: 6DET61WW (3.11 ) dmi.board.name: 7465CTO dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvr6DET61WW(3.11):bd11/10/2009:svnLENOVO:pn7465CTO:pvrThinkPadX200s:rvnLENOVO:rn7465CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 7465CTO dmi.product.version: ThinkPad X200s dmi.sys.vendor: LENOVO === Release Notes === Due to a regression inherited from the upstream linux kernel, Natty 11.04 can exhibit a 10-30% increase in power consumption. This is a known issue which is actively being investigated. A SRU will be released onced a viable solution is found. For more information, please see http://www.phoronix.com/scan.php?page=articleitem=linux_mobile_uffdanum=1 To unsubscribe from this bug, go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/760131/+subscribe -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760131 Title: Power consumption raised significantly in natty -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com