Comment 42 for bug 524281

Revision history for this message
Orcie (mef-vanschalkwijk) wrote : Re: [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled

Can someone give me a hand with applying the patch, please?

On Thu, May 20, 2010 at 3:04 PM, Rocko <email address hidden> wrote:

> I applied that patch to the 2.6.34 amd64 kernel and it does reduce the
> load balancing wakeups somewhat on my dual core PC. It went from around
> 50 per second to 35 after the patch (and that's running Skype and
> iwlagn, which average 10 and 15 wakeups per second respectively - the
> load balancing wakeups are higher when more things are running: when I
> am not running X, the load balancing wakeups are much fewer (under 10)).
>
> I also tried compiling a 2.6.34 kernel *without* multi-core support for
> my 32 bit single core PC, and it does reduce the number of load
> balancing wakeups (although to my surprise they still happen).
>
> @Flávio Etrusco (comment 15): it looks like your nvidia driver is
> causing a lot of wakeups, which you can fix with the xorg.conf option:
>
> Option "OnDemandVBlankInterrupts" "True"
>
> and if you're worried about power usage, the nvidia driver defaults to
> max performance, which means max power usage. You can put an entry in
> xorg.conf that makes it reduce performance (and power) when on battery
> but still give max performance on AC for gaming, etc (see eg
> http://linux.aldeby.org/nvidia-powermizer-powersaving.html for details).
>
> --
> 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: Confirmed
> Status in “linux-2.6” package in Debian: Incomplete
>
> Bug description:
> powertop reports above 70 wakes per second in "[kernel scheduler] Load
> balancing tick" task, and above 200 when there's any little load, running on
> a Core 2 Duo processor (T6500) with a single core enabled (multicore
> disabled in BIOS).
> Will still try noapic, nolapic, maxcpus and nosmp in the boot parameters
> and reproduce it with the mainline kernel.
>
> 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,00100004
> 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.product.name: PHN10XXX.
> dmi.product.version: 1.01
> dmi.sys.vendor: Philco
>
>
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/524281/+subscribe
>