[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
** Changed in: linux-2.6 (Debian) Status: Incomplete => Fix Released -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/524281/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
** Changed in: linux (Ubuntu) Assignee: Matúš Behun (matus-behun) => (unassigned) -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/524281/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
** Changed in: linux (Ubuntu) Assignee: (unassigned) => Matúš Behun (matus-behun) -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/524281/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
The desired commit has been applied an released in Lucid (and all other stable kernels). Please update with the latest SRU kernel. ** Changed in: linux (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/524281/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
Yuppie, now it "seems" again that I have found the good combination: - Nothing fixes the cpu frequency flickering. The laptop just shits on the cpufreq settings and decides on its own, what is the best frequency for me. Come on... Sucks. - This "Load balancing tick" bullshit stopped when I downgraded my bios back to the original version what the laptop had when it was shipped. I upgraded recently to the newest version and it was my last idea like the root cause of these problems. Laptop: Dell Latitude E4300, the BIOS version A06 again. - But I got back an old bug with v2.6.39-rc4-natty kernel. Namely the backlit of the LCD did not come back after resume. Nice. I switched back to the original natty kernel and this problem seems to be solved also. So the "workaround recipe" for Dell Latitude E4300 owners with this bug: 1. Downgrade the BIOS to an earlier version. A06 or A07 is a good candidate. (I googled a manual to make a pendrive with bootable DOS and I downloaded the A06 BIOS "upgrade" file from the Dell site to the pendrive.) 2. If this bug still happens -> upgrade to Natty. Other notes: (3a. In any way, disable the bluetooth in the BIOS. It just makes problems with suspend/resume and for me, an attempt to send file via bluetooth from my phone made the laptop frozen with a kernel oops.) (3b. I do not think so that it makes anything better, but I have installed the latest Intel graphics drivers from the mentioned PPA in my previous comments.) Uff. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
A bit off-topic to my previous comment: The PPA version of the intel driver did not make any difference, however, the bluetooth causes the system hang before or after suspend if it is enabled. I did not mind too much just disabled the bluetooth in the Bios. Now, the system seems to be stable. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
I think I had the same problem on a Dell Latitude E4300 (Core 2/P9300) and the interesting thing was that the overload happened mostly when the laptop was being charged and when I removed the AC adapter to run on battery, after some minutes, the laptop was responsible again. In my case, when this bug happened, the whole laptop was not flawless any more, very slow and high CPU load. There is an other problem that the laptop shits on the cpu scaling policy and decides about the current speed without any sane reasons. If this bug happened and the cpu scaling dropped the frequency to 800 Mhz, the laptop was quite useless when it was being charged. I think I experienced the bug under Maverick first and the upgrade to Natty did not help. Now I upgraded to the latest unofficial natty kernel: http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.39-rc4-natty/ and the intel graphics driver from this PPA: https://launchpad.net/~glasen/+archive/intel-driver and after one day of use, the problems seem to be solved expect the cpu scaling crazyness, but I do not have too much hope that a linux will ever work on this laptop without problems. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
Yes I have also seen a similar degradation between the two kernels. What is notable in your case and mine is that the kernel interrupts are labelled differently between the two cases. There are actually fewer load balancing ticks in the later kernel but other categories eg [extra timer interrupt] are chewing up power. So something appears to have changed but not in a good way and focussing solely on [kernel scheduler] Load balancing tick is not appropriate. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
I have updated my tests for both the latest 2.6.38 kernel of natty and the latest 2.6.34 kernel from mainline as suggested, on my Thinkpad T61 laptop. After login I have sudoed previously, then run: sudo powertop -d -t 60 > ~/Desktop/powertop_dump-`uname -r`.log Running on battery, not having started anything but one terminal window after logon. Both kernels, results attached: there is a visible difference still! 15,5W versus 17,9W meaning 3,4 hours versus 2,9 hours = a half an hour of time on battery! I think both power regressions found by Phoronix at 2.6.35 and 2.6.38 are there. See http://www.phoronix.com/scan.php?page=article&item=linux_kernel_regress2 2.6.34: PowerTOP 1.13 (C) 2007 - 2010 Intel Corporation Collecting data for 60 seconds CnAvg residency C0 (cpu running)( 1,9%) C00,0ms ( 0,0%) C1 mwait 0,0ms ( 0,0%) C2 mwait 0,5ms ( 0,4%) C6 mwait 6,2ms (97,7%) P-states (frequencies) Turbo Mode 0,9% 2,50 Ghz 0,0% 1,60 Ghz 0,0% 1200 Mhz 0,0% 800 Mhz99,1% Wakeups-from-idle per second : 164,1interval: 60,0s Power usage (ACPI estimate): 15,5W (3,4 hours) Top causes for wakeups: 29,5% ( 61,0) [uhci_hcd:usb5, yenta, nvidia] 24,2% ( 50,0) [kernel core] hdaps_mousedev_poll (hdaps_mousedev_poll) 19,3% ( 39,9) [kernel core] hrtimer_start (tick_sched_timer) 13,4% ( 27,8) [kernel scheduler] Load balancing tick 4,8% ( 9,9) gwibber-service 2,4% ( 5,0) [ata_piix] 1,7% ( 3,6) compiz 1,1% ( 2,2) nautilus 0,8% ( 1,7) gnome-terminal 2.6.38: PowerTOP 1.13 (C) 2007 - 2010 Intel Corporation Collecting data for 60 seconds CnAvg residency C0 (cpu running)( 2,2%) polling 0,1ms ( 0,0%) C1 mwait 0,0ms ( 0,0%) C2 mwait 0,6ms ( 0,7%) C6 mwait 4,5ms (97,1%) P-states (frequencies) Turbo Mode 0,9% 2,50 Ghz 0,0% 2,00 Ghz 0,0% 1,60 Ghz 0,1% 800 Mhz99,0% Disk accesses: The application 'gvfsd-metadata' is writing to file 'home-3c698ca6.log' on /dev/sda5 The application 'gvfsd-metadata' is writing to file 'home-3c698ca6.log' on /dev/sda5 The application 'rs:main Q:Reg' is writing to file 'auth.log' on /dev/sda5 The application 'rs:main Q:Reg' is writing to file 'auth.log' on /dev/sda5 The application 'rs:main Q:Reg' is writing to file 'auth.log' on /dev/sda5 The application 'gvfsd-metadata' is writing to file 'home.SF5MWV' on /dev/sda5 The application 'gvfsd-metadata' is writing to file 'home.SF5MWV' on /dev/sda5 Wakeups-from-idle per second : 227,9interval: 60,0s Power usage (ACPI estimate): 17,9W (2,9 hours) Top causes for wakeups: 24,9% ( 61,0) [uhci_hcd:usb5, yenta, nvidia] 20,4% ( 50,0) [kernel core] hdaps_mousedev_poll (hdaps_mousedev_poll) 15,1% ( 36,9) [extra timer interrupt] 14,8% ( 36,4) [kernel core] hrtimer_start (tick_sched_timer) 7,4% ( 18,2) compiz 6,2% ( 15,2) [kernel scheduler] Load balancing tick 4,1% ( 10,0) gwibber-service 2,2% ( 5,5) kworker/0:0 1,6% ( 4,0) [ata_piix] 0,0% ( 0,0)D gvfsd-metadata 0,0% ( 0,0)D rs:main Q:Reg 0,9% ( 2,3) nautilus 0,7% ( 1,7) gnome-terminal ** Attachment added: "powertop dumps 34 and 38 kernels.zip" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/524281/+attachment/2149024/+files/powertop%20dumps%2034%20and%2038%20kernels.zip -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
On 5/17/2011 10:59 PM, skhawam wrote: > -Compiz generates a lot of wakeups on the GPU, so I removed all the features > that I dont use and kept only the ones I use I once found a DRI configuration utility that could disable vsync and found that got rid of a lot of wakeups from the GPU. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
I have a Dell Mini 10v and managed to get good results with Natty (11.04) after some fiddling around. It's better than any other version I had till now (I have been following this bug since its beginning!). Without wireless I get 20ms C3 state, and with wireless one around 3ms C3 state (with no applications running, and not touching the keyboard or touchpad). The machine doesn't get hot (the mini 10v is fanless, high temperature is easy to detect). -I have disabled Unity, although I dont think Unity itself is the cause of wakeups -Compiz generates a lot of wakeups on the GPU, so I removed all the features that I dont use and kept only the ones I use -Installed the latest intel GPU driver from ppa (the Mini 10v has the i915) -Disabled the SD-Card reader (using 'rmmod usb_storage') which was generating extra wakeups (I re-enable it when I want to insert a card). Even though the situation is better now, I'm sure there is many other things that can be improved in the kernel to reduce the wakeup further, say to get 30ms C3 when the wireless is on, or to reduce the wakeups when the touchpad is used. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
That script looks useful, thanks for posting it. I've all turned round on the subject. I ran Ubuntu Classic (no effects) and ran powertop with no apps running. It was significantly better than in Ubuntu 10.10. It was actually really good. The red bar in powertop that shows wakeups-from-idle per second, well I found out it is not always red! It was orange for the first time. I'll just avoid using Unity, which givers my processor a hard time anyway. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
I'm with oldmankit on this - the situation is getting worse rather than better. I wrote a script mostly based on lesswatts.org suggestions which, for my HP Probook 4720s halves wakeups (still at 50/sec) and reduces fan usage. Use at your own discretion :-) ** Attachment added: "implements known powersaving settings" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/524281/+attachment/2125236/+files/powersave -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
My two cents is that I was waiting for Ubuntu Natty for a newer kernel and therefore better performance, but I appear to have more wakeups and less battery life than before. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
Only a few weeks ago I started looking for the root cause of my laptop's noise and heat. I used Ubuntu Lucid 10.04 on a dual core laptop and eventually found this bug. I tried newer kernels from https://launchpad.net/~kernel-ppa/+archive/ppa?field.series_filter=lucid Unfortunately, experience and reports (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/760131) show that 2.6.38 kernels introduce new problems. I now switched to the latest 2.6.37 from that PPA: This configuration appears to be the most silent in terms of powertop and fan noise in my experience. I'm really disappointed that the orginal issue has not yet been solved for LTS release users, more than one year after reporting. Doesn't it affect commercial clients (http://www.h-online.com/open/news/item/LVM- insurance-company-switches-10-000-systems-to- Ubuntu-10-04-LTS-1233194.html), too? -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
The last two comments on this bug are contradictory. Checking powertop with the 2.6.38 kernel for natty versus earlier kernels shows for me that the *type* of kernel interrupt has changed but the number of them has not and has increased if anything. I think this bug is serious and getting worse and requires the attention of a kernel developer. It reflects badly on linux in general if power consumption is increasing markedly while performance is not markedly increasing at the same time (which appears the case on the phoronix benchmarks). To solve this requires someone familiar with the kernel to report it on the kernel bugzilla. There has been some discussion of the issue on lmkl but it looks very inconclusive and low priority to me. I don't know why exactly. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
This bug I suppose is the root cause of the second power consumption regression found here: http://www.phoronix.com/scan.php?page=article&item=linux_kernel_regress2 Basically power usage looks like: - 2.6.24-2.6.34: average of all tests ~21-22W - 2.6.35-2.6.37: average of all tests ~25W - 2.6.38-2.6.39: average of all tests ~26W This translates into laptop operation times under test workload: mAh V W mA h 660010,821 1944,44 3,39 660010,822 2037,04 3,24 660010,825 2314,81 2,85 660010,826 2407,41 2,74 -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
I tried Natty, this bug is finally solved with the 2.6.38 kernel -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
@Jeremy Foshee, this seems to be a regression between Lucid alpha 2 and alpha 3, and it's affecting LTS users with MUCH lower battery life than expected, hence it's a hardware problem. Please could you reconsider your rejection for Lucid? -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
Sorry, not yet - thanks for the hint though. I'm on an HP laptop and new kernels mean for me every time an odyssey as graphics and wifi will take a good day's work to get running :-( On 03/08/2011 10:43 PM, Peter Sasi wrote: > ggonlp: it might be the case, that 2.6.36 fixes balancing wakeups, but > introduces worker wakeups. 2.6.37 and 2.6.38 should be okay on the other > hand. Have you tried those? > -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
ggonlp: it might be the case, that 2.6.36 fixes balancing wakeups, but introduces worker wakeups. 2.6.37 and 2.6.38 should be okay on the other hand. Have you tried those? -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
I remember trying that out a few weeks ago (think it was a 2.6.36 kernel). While the load balancer wakeups were gone, I got just as many from a kworker process, so no real improvement... -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
This is fixed in the current Natty (beta) with kernel 2.6.38-5-generic (the stock kernel). On Maverick I was getting several hundred wakeups per second on the stock kernel (2.6.35-something), almost all from the load balancing tick. Now the load balancing tick is rarely listed in the 'top causes for wakeups' from powertop. This will improve your battery life, but depending on your system, you may have other things to watch out for (e.g. disable Flash). -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
This problem appeared in 2.6.32 Kernel. Beginning with 2.6.37 Kernel this is solved. I observe increased battery life (+15-20%) in my old laptop. sudo powertop, agrees with this impression Ubuntu users can use this kernel http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=M;O=D but they are going to loose some ubuntu specific customizations (ureadahead mainly) For Lucid there is a much better solution that i currently use. No side effects so far... https://launchpad.net/~kernel-ppa/+archive/ppa?field.series_filter=lucid -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
@Benjamin Schmid: I think the fix is done in the Linux tree (practically all versions later than 2.6.35 behave a lot better), it just has not been ported back to the ubuntu 2.6.35 tree... And it is much annoying... -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
@Captain Chaos: To keep it short: These ticks are imposed by the Linux Kernel while trying to shift & balance the workload over the available CPU cores. The problem here is, that these "ticks" occur during idling phases and therefore inhibit the CPUs to fall into their power-saving states. A little annoying for mobile users as this reduced battery life and increases heat & fan activity. That's all. This is a Linux kernel (not an Ubuntu) issue, so we just have to wait until Linus integrates the fixes into the mainline kernel to get rid of this annoyance. The Ubuntu & Kernel guys already took great actions to trigger a solution. Many thanks for that! -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
I'm seeing this too on Ubuntu Maverick 32-bit (kernel 2.6.35-27-generic- pae) on an Intel Core Duo quad core 3 GHz processor. Around 50% "[kernel scheduler] Load balancing tick" pretty much continously. My apologies if this has already been explained somewhere, but exactly what is a "load balancing tick", and is it actually a problem to have a lot of them? -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
florinn: that's my experience too, 2.6.37 makes my laptop silent again, and the load balancing ticks are much, much fewer. I see that you run the RC2 version of 2.6.37, just thought I'd mention that the final version of 2.6.37 is out on http://kernel.ubuntu.com /~kernel-ppa/mainline/. The name says "Natty", but it runs fine on Maverick as well :) You may want to try the 2.6.38RC2 Natty kernel as well - It seems very fast, but in my experience this kernel made my laptop run hotter and the fans run all the time - but I guess that's a separate issue ;) -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
@florinn: Please close all applications (especially firefox and thunderbird) before posting such measurements. In your case, firefox is probably running some heavy animations or executing some scripts with many timeouts. It is not the kernel's fault that the user-space is generating useless wakeups. On my laptop, with kernel 2.6.37, I easily get under 20 wakeups/second. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
powertop on Asus U35JC with Intel Core i3 Top causes for wakeups: 47.5% (228.6) [kernel scheduler] Load balancing tick 26.9% (129.6) firefox-bin 3.5% ( 16.9) thunderbird-bin 2.7% ( 13.0) USB device 2-1.3 : USB Receiver (Logitech) Tried linux-image-2.6.37-020637rc2-generic kernel and Load balancing tick droppped to 2-3% -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
Really an annoying bug. Why will it not be fixed in LTS? Really a showstopper on mobile systems. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
Benjamin Schmid: As long as Natty uses the 2.6.36 or later, this should not be a problem - it is a kernel issue, not an issue related to Ubuntu alone. WebNull: It will most definitely extend your battery life! Using the mainline kernel has helped a lot :) -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
Same problem here on a Thinkpad Edge 11" AMD Neo II K325: Wakeups-from-idle per second : 355.6 interval: 15.0s 49.5% (313.0) [Rescheduling interrupts] 19.7% (124.3) [kernel scheduler] Load balancing tick Would be great if this problem can be solved with Natty. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
On Intel Celeron 900 mhz i have same problem, powertop reports me "[kernel scheduler] Load balancing tick" at the top (15-30%). Fixing this bug my Tablet PC's battery life will extend i think. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
That would be awesome Alex. I'm really looking forward to resolving this long standing issue with the LTS version of Ubuntu. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
The commit to backport would be 83cd4fe, which has many more changes than just to kernel/time/tick-sched.c You can look at the complete diff at https://github.com/mirrors/linux-2.6/commit/83cd4fe af5ab27 might also help somewhat, but I believe the other one is the major culprit. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
@Gurmeet It all sounds very positive. For those of us that don't want to get their fingers dirty playing around with different kernel versions, there will be a lot of satisfaction when this fix finds itself into the official repos! -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
Just installed the 2.6.36 mainline kernel from http://kernel.ubuntu.com /~kernel-ppa/mainline/v2.6.36-maverick/. VMWare Player is not working, but that's another story. [kernel scheduler] Load balancing tick = 2.3 [extra timer interrupt] = 11.7 Total interrupts under idle conditions = 66.7 (earlier it was ~180). Ok, now we know the story, or at-least a part of it. We will all be a happy breed of people if the fixes are back ported to the latest stable release of Maverick from the Ubuntu repository. So if we do a 'sudo apt-get update && upgrade" we should get the patches applied and don't have to fiddle with unsupported releases of the core of the OS. I am keeping my fingers crossed. VMWare is not working as of now, PS/2 interrupts are still very high and might discover a thing or 2 later, but as of now, with the 2.6.36, the issue seems to be resolved. Will feel a lot more satisfied after the fixed version lands up through the official repo on a officially supported release (2.6.35 at the moment). -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
Exploring the latest code on github. Comparing the two. Again, no guarantees. This is just a lead, for the brave at heart --- tick-sched-2.6.35-23.c 2010-12-06 22:44:02.821102001 +0530 +++ tick-sched-2.6.37-github.c 2010-12-06 22:42:40.451102001 +0530 @@ -405,13 +405,7 @@ void tick_nohz_stop_sched_tick(int inidl * the scheduler tick in nohz_restart_sched_tick. */ if (!ts->tick_stopped) { - if (select_nohz_load_balancer(1)) { - /* -* sched tick not stopped! -*/ - cpumask_clear_cpu(cpu, nohz_cpu_mask); - goto out; - } + select_nohz_load_balancer(1); ts->idle_tick = hrtimer_get_expires(&ts->sched_timer); ts->tick_stopped = 1; @@ -780,7 +774,6 @@ void tick_setup_sched_timer(void) { struct tick_sched *ts = &__get_cpu_var(tick_cpu_sched); ktime_t now = ktime_get(); - u64 offset; /* * Emulate tick processing via per-CPU hrtimers: @@ -790,10 +783,6 @@ void tick_setup_sched_timer(void) /* Get the next period (per cpu) */ hrtimer_set_expires(&ts->sched_timer, tick_init_jiffy_update()); - offset = ktime_to_ns(tick_period) >> 1; - do_div(offset, num_possible_cpus()); - offset *= smp_processor_id(); - hrtimer_add_expires_ns(&ts->sched_timer, offset); for (;;) { hrtimer_forward(&ts->sched_timer, now, tick_period); -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
For the learned . Adding as a point to start with .. no guarantees that this is the Saviour just a lead to who can get the heads and tails out of it # diff -cp tick-sched.c(2.6.37-rc4) tick-sched.c(2.6.25-23) ... *** tick.sched-2.6.37-rc4.c 2010-12-06 17:50:03.960025002 +0530 --- tick-sched-2.6.35-23.c 2010-11-18 03:45:19.0 +0530 *** void tick_nohz_stop_sched_tick(int inidl *** 405,411 * the scheduler tick in nohz_restart_sched_tick. */ if (!ts->tick_stopped) { ! select_nohz_load_balancer(1); ts->idle_tick = hrtimer_get_expires(&ts->sched_timer); ts->tick_stopped = 1; --- 405,417 * the scheduler tick in nohz_restart_sched_tick. */ if (!ts->tick_stopped) { ! if (select_nohz_load_balancer(1)) { ! /* !* sched tick not stopped! !*/ ! cpumask_clear_cpu(cpu, nohz_cpu_mask); ! goto out; ! } ts->idle_tick = hrtimer_get_expires(&ts->sched_timer); ts->tick_stopped = 1; *** void tick_setup_sched_timer(void) *** 774,779 --- 780,786 { struct tick_sched *ts = &__get_cpu_var(tick_cpu_sched); ktime_t now = ktime_get(); + u64 offset; /* * Emulate tick processing via per-CPU hrtimers: *** void tick_setup_sched_timer(void) *** 783,788 --- 790,799 /* Get the next period (per cpu) */ hrtimer_set_expires(&ts->sched_timer, tick_init_jiffy_update()); + offset = ktime_to_ns(tick_period) >> 1; + do_div(offset, num_possible_cpus()); + offset *= smp_processor_id(); + hrtimer_add_expires_ns(&ts->sched_timer, offset); for (;;) { hrtimer_forward(&ts->sched_timer, now, tick_period); -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
Just tried the v2.6.37-rc2-maverick from Ubuntu Mainline. The load balancing ticks are down to 2 (in words, two) from 60 or so per second. Ran it for a few minutes. M/c is less noisy and temperatures are down by a bit (1-2 deg), but that can be very well be within a margin of error. I run VMWare player extensively and I could not find a kernel patch for VMWare player for this version of the kernel and hence switched back to the official 2.6.35-23. Once VMWare releases (officially or otherwise) a patch for this version and 2.37 enters a stable state officially from Ubuntu, I am going to upgrade to 2.37, but am holding off till it is officially supported. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
Finally got the 2.6.36 mainline kernel to work with both ATI and Nvidia drivers! Wrote a little howto here: http://www.bjortvedtdata.net/?p=199 -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/524281 Title: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
I tried the mainline 2.6.36 kernel and it seems to work better, but I do get a lot of kworker wakeups. I also cannot get the ATI driver to work (downloaded from ati.amd.com) when running this kernel, so it's pretty useless. -- Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled https://bugs.launchpad.net/bugs/524281 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
Gurmeet, please try kernel 2.6.36. -- Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled https://bugs.launchpad.net/bugs/524281 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
Following up on one of the earlier mails containing a patch from Brian Rogers Patch Details: http://launchpadlibrarian.net/52089149/0001-Apply-patch-from-http-lkml.org-lkml-2010-7-8-122.patch OK, in 2.6.35, linux-source, on line 328 in /kernel/time/tick-sched.c, this is what I see: if (rcu_needs_cpu(cpu) || printk_needs_cpu(cpu) || <328> arch_needs_cpu(cpu)) { next_jiffies = last_jiffies + 1; delta_jiffies = 1; whereas in 2.6.36 linux-source, I see this: if (rcu_needs_cpu(cpu) || printk_needs_cpu(cpu) || <328> arch_needs_cpu(cpu)) { next_jiffies = last_jiffies + 1; delta_jiffies = 1; OK. so this does not help. -:( Still sharing the results of my findings. -- Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled https://bugs.launchpad.net/bugs/524281 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
Just a me-too report. i am also getting this as the top of the list when seen with powertop. Average around 43 is the number of wakeups/sec from [Kernel Scheduler] Load Balancing Tick. I don't want to disable compiz, so haven't yet tried out the workaround as at-least for me, that's not a solution. Pls. let me know if anything more is needed in terms of details about the system and I will gladly provided. # uname -a Linux 2.6.35-23-server #40-Ubuntu SMP x86_64 GNU/Linux # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz stepping: 11 cpu MHz : 800.000 cache size : 4096 KB physical id : 0 siblings: 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm ida dts tpr_shadow vnmi flexpriority bogomips: 4788.90 clflush size: 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz stepping: 11 cpu MHz : 800.000 cache size : 4096 KB physical id : 0 siblings: 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm ida dts tpr_shadow vnmi flexpriority bogomips: 4791.02 clflush size: 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: # cat /proc/interrupts CPU0 CPU1 0:2278570 1 IO-APIC-edge timer 1: 7805186 IO-APIC-edge i8042 8: 1 0 IO-APIC-edge rtc0 9: 34270 0 IO-APIC-fasteoi acpi 12:2759224 38989 IO-APIC-edge i8042 14: 65199 0 IO-APIC-edge ata_piix 15: 0 0 IO-APIC-edge ata_piix 16: 13302 0 IO-APIC-fasteoi uhci_hcd:usb3, nvidia 18:283 0 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb7 19: 0 0 IO-APIC-fasteoi uhci_hcd:usb6 20: 2 1 IO-APIC-fasteoi firewire_ohci 21: 0 0 IO-APIC-fasteoi uhci_hcd:usb4, r852, mmc0 23: 23 4 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb5 44: 52133 PCI-MSI-edge eth0 45: 127186 0 PCI-MSI-edge ahci 46: 273211 0 PCI-MSI-edge iwlagn 47:514 0 PCI-MSI-edge hda_intel NMI: 0 0 Non-maskable interrupts LOC: 1849381121100 Local timer interrupts SPU: 0 0 Spurious interrupts PMI: 0 0 Performance monitoring interrupts PND: 8 0 Performance pending work RES: 92722 140705 Rescheduling interrupts CAL: 5587 4758 Function call interrupts TLB: 13868 15727 TLB shootdowns TRM: 0 0 Thermal event interrupts THR: 0 0 Threshold APIC interrupts MCE: 0 0 Machine check exceptions MCP: 45 44 Machine check polls ERR: 3 MIS: 0 -- Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled https://bugs.launchpad.net/bugs/524281 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
[Looks to be a kernel bug rather than xorg. If there is actual work to be done on xorg in relation to this issue, please file a new bug report about it, since this one has gotten too long to grok.] ** Changed in: xorg (Ubuntu) Status: New => Invalid -- Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled https://bugs.launchpad.net/bugs/524281 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
** Changed in: linux (Ubuntu) Status: Triaged => Confirmed -- Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled https://bugs.launchpad.net/bugs/524281 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
** Attachment added: "powertopLenovoR61Core2DuoT7100.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/524281/+attachment/1731649/+files/powertopLenovoR61Core2DuoT7100.txt -- Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled https://bugs.launchpad.net/bugs/524281 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
Linux shadow 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:45:36 UTC 2010 x86_64 GNU/Linux ** Attachment added: "powerTopAcer5520g.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/524281/+attachment/1722961/+files/powerTopAcer5520g.txt -- Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled https://bugs.launchpad.net/bugs/524281 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
Please note, that X is not causing wakeups itself, but it induces "[kernel scheduler] Load balancing tick"s to occour, in my tests. I have compiz disabled. -- Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled https://bugs.launchpad.net/bugs/524281 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
** Attachment added: "PowerTop Unity" https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/524281/+attachment/1722742/+files/PowerTop%20Unity -- Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled https://bugs.launchpad.net/bugs/524281 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
Here is the output from "sudo powertop -t60 -d" on Lenovo 3000 n200 with intel centrino 550 @ 2.00 GHz with nVidia Geforce Go 7300 and nVidia Proprietary driver enabled on Maverick UNE Unity fully updated. No application was running in background! -- Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled https://bugs.launchpad.net/bugs/524281 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
On my Intel 945GM with no compiz or effects tried to explicitly disable composite in xorg.conf as per previous comment makes NO difference to me. hundreds of wakeups, and my netbook is now at 55 minutes uptime by battery. It feels like having an... umbilical cable. Ubuntu 10.10 with latest updates, 2.6.35-22-generic -- Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled https://bugs.launchpad.net/bugs/524281 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
Xcausing wakeups may coincide with enabled composing. On my Intel chipset graphics, this causes approx. an additional 50 wakeups per second. If composing is disabled, everything is back to normal. On another notebook with a Radeon 5470 (using fglrx), there was no such difference. In addition, it also seems that X increases the load to rather large levels, despite being idle. With Ubuntu 10.10 (and kernel newer than 2.6.31) I have observed loads around 0.7, without anything showing up in top. 2010/11/4 Peter Sasi <524...@bugs.launchpad.net>: > > ** Attachment added: "powertop-dump-5min-2.6.36-020636-generic.txt" > > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/524281/+attachment/1722665/+files/powertop-dump-5min-2.6.36-020636-generic.txt > > ** Also affects: xorg (Ubuntu) > Importance: Undecided > Status: New > > -- > Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core > 2 Duo even with only 1 core enabled > https://bugs.launchpad.net/bugs/524281 > You received this bug notification because you are a direct subscriber > of the bug. > > Status in “linux” package in Ubuntu: Triaged > Status in “xorg” package in Ubuntu: New > Status in Arch Linux: New > Status in “linux-2.6” package in Debian: Incomplete > > Bug description: > powertop reports many wakes per second (quantity depending on system) in > "[kernel scheduler] Load balancing tick" task, rising with little load, on > many kinds of multi-core (?) systems (original report was on a Core 2 Duo > processor (T6500) with a single core enabled (multicore disabled in BIOS)). > > Cause of the problem: > With kernel 2.6.32, there came a patch to the scheduler that introduced this > problem (that was backported to some other versions as well). Even though > this problem occurred first in Lucid, it is NOT specific to Lucid or Ubuntu > at all (Debian bug report at > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521944, reproducable in Arch > Linux as well). Work is ongoing to get things straight in kernel, but it will > take a long time until this reaches Ubuntu (see > http://lkml.org/lkml/2010/7/6/172). > > Workarounds that DO NOT work (may improve situation but not solve it): > - maxcpus=1 > - noapic > - nosmp > - nolapic > - use mainline kernel > > Workarounds that DO (probably) work: > - tip version of kernel > (git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git, from > http://lkml.org/lkml/2010/7/8/75) > - use maverick's kernel with applied patches > (https://launchpad.net/~brian-rogers/+archive/power, from comment #80) > > ProblemType: Bug > AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21. > Architecture: i386 > ArecordDevices: > List of CAPTURE Hardware Devices > card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > AudioDevicesInUse: > USER PID ACCESS COMMAND > /dev/snd/controlC0: etrusco 1606 F pulseaudio > etrusco 15151 F foobar2000.exe > CRDA: Error: [Errno 2] No such file or directory > Card0.Amixer.info: > Card hw:0 'Intel'/'HDA Intel at 0xfddf8000 irq 22' > Mixer name : 'Realtek ALC269' > Components : 'HDA:10ec0269,1b0a4009,0014 > HDA:11c11040,1b0a4007,00100200' > Controls : 19 > Simple ctrls : 11 > Card1.Amixer.info: > Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfebec000 irq 17' > Mixer name : 'ATI R6xx HDMI' > Components : 'HDA:1002aa01,00aa0100,00100100' > Controls : 4 > Simple ctrls : 1 > Card1.Amixer.values: > Simple mixer control 'IEC958',0 > Capabilities: pswitch pswitch-joined penum > Playback channels: Mono > Mono: Playback [on] > Date: Fri Feb 19 05:25:42 2010 > DistroRelease: Ubuntu 10.04 > EcryptfsInUse: Yes > MachineType: Philco PHN10XXX. > Package: linux-image-2.6.32-13-generic 2.6.32-13.18 > ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-13-generic > root=UUID=d482e94f-9370-4ad2-9536-986541003db5 ro acpi.power_nocheck=1 > acpi_osi=linux radeon.blacklist=yes > ProcEnviron: > LANG=en_US.UTF-8 > SHELL=/bin/bash > ProcVersionSignature: Ubuntu 2.6.32-13.18-generic > Regression: No > RelatedPackageVersions: linux-firmware 1.29 > Reproducible: Yes > RfKill: > 0: phy0: Wireless LAN > Soft blocked: no > Hard blocked: no > SourcePackage: linux > TestedUpstream: No > Uname: Linux 2.6.32-13-generic i686 > dmi.bios.date: 06/01/2009 > dmi.bios.vendor: American Megatrends Inc. > dmi.bios.version: 1.01 > dmi.board.asset.tag: To Be Filled By O.E.M. > dmi.board.vendor: PEGATRON CORP. > dmi.board.version: To be filled by O.E.M. > dmi.chassis.asset.tag: To Be Filled By O.E.M. > dmi.chassis.type: 10 > dmi.chassis.vendor: PEGATRON CORP. > dmi.chassis.version: To Be Filled By O.E.M. > dmi.modalias: > dmi:bvnAmericanMegatrendsInc.:bvr1.01:bd06/01/2009:svnPhilco:pnPHN10XXX.:pvr1.01:rvnPEGATRONCORP.:rn:rvrTobefilledbyO.E.M.:cvnPEGATRONCORP.:ct10:cvrToBeFilledByO.E.M.: > dmi.produ
[Ubuntu-x-swat] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
** Attachment added: "powertop-dump-5min-2.6.36-020636-generic.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/524281/+attachment/1722665/+files/powertop-dump-5min-2.6.36-020636-generic.txt ** Also affects: xorg (Ubuntu) Importance: Undecided Status: New -- Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled https://bugs.launchpad.net/bugs/524281 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp