Thinkpad T400: kslowd processes take too much CPU, making mouse control impossible

Bug #609113 reported by Till Kamppeter
70
This bug affects 14 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
High
Unassigned
Declined for Maverick by Robbie Williamson

Bug Description

When I move the mouse (both internal touchpad and external Bluetooth) on the X display the movement gets uneven, as the computer had too high CPU load and other programs (like glxgears) get slowed down. In the output of "top" there are 4 "kslowdXXX" processes taking a lot of CPU.

I am on Maverick with the following kernel:

till@till:~/ghostscript/gpl/gs-test$ uname -a
Linux till 2.6.35-6-generic #9-Ubuntu SMP Thu Jul 1 03:01:23 UTC 2010 x86_64 GNU/Linux
till@till:~/ghostscript/gpl/gs-test$

Graphics is Intel.

After googling I found this thread which seems to discuss exactly the same problem:

http://www.gossamer-threads.com/lists/linux/kernel/1238374
---
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:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: till 3413 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfc020000 irq 48'
   Mixer name : 'Conexant CX20561 (Hermosa)'
   Components : 'HDA:14f15051,17aa211c,00100000'
   Controls : 14
   Simple ctrls : 7
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7VHT12WW-1.01'
   Mixer name : 'ThinkPad EC 7VHT12WW-1.01'
   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]
DistroRelease: Ubuntu 10.10
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=9185f036-2e72-40e6-bf31-d9a8926a7883
MachineType: LENOVO 7417CTO
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-6-generic root=/dev/mapper/hostname-root ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-6.9-generic 2.6.35-rc3
Regression: Yes
RelatedPackageVersions: linux-firmware 1.37
Reproducible: Yes
Tags: maverick graphics regression-potential needs-upstream-testing
Uname: Linux 2.6.35-6-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 10/13/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7UET79WW (3.09 )
dmi.board.name: 7417CTO
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:bvr7UET79WW(3.09):bd10/13/2009:svnLENOVO:pn7417CTO:pvrThinkPadT400:rvnLENOVO:rn7417CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 7417CTO
dmi.product.version: ThinkPad T400
dmi.sys.vendor: LENOVO

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Here is my "top" output:

top - 13:24:21 up 16 days, 14:33, 6 users, load average: 1.60, 1.73, 1.71
Tasks: 223 total, 4 running, 218 sleeping, 1 stopped, 0 zombie
Cpu(s): 3.1%us, 49.5%sy, 0.0%ni, 47.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3953252k total, 3780616k used, 172636k free, 324108k buffers
Swap: 8388604k total, 220556k used, 8168048k free, 1180376k cached

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 3789 root 15 -5 0 0 0 S 28 0.0 2607:46 kslowd003
 3444 root 15 -5 0 0 0 S 26 0.0 2609:18 kslowd002
 3314 root 15 -5 0 0 0 S 21 0.0 2611:34 kslowd001
 1785 root 15 -5 0 0 0 R 18 0.0 2609:47 kslowd000
20649 till 20 0 808m 309m 13m S 1 8.0 197:57.58 firefox-bin
13238 till 20 0 281m 23m 5628 R 1 0.6 16:32.12 xchat
 3436 till 20 0 179m 44m 2432 S 1 1.2 223:07.37 skype.real
20736 till 20 0 57248 5184 1088 R 1 0.1 85:47.43 npviewer.bin

Changed in linux (Ubuntu):
importance: Undecided → High
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Till,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/daily/current/ . If the issue remains, please run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 609113

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Till Kamppeter (till-kamppeter) wrote : AcpiTables.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Till Kamppeter (till-kamppeter) wrote : AlsaDevices.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : AplayDevices.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : BootDmesg.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : IwConfig.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : Lspci.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : Lsusb.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : PciMultimedia.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : ProcModules.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : RfKill.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : UdevDb.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : UdevLog.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : WifiSyslog.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : Re: Thinkpad T400: kslowd processes take to much CPU, making mouse control impossible

I have tried an upstream kernel now:

Linux till 2.6.35-020635rc6-generic #020635rc6 SMP Fri Jul 23 10:08:28 UTC 2010 x86_64 GNU/Linux

This kernel works. The mouse is always smoothly running and there are no kslowd processes in "top". So it must be an Ubuntu patch issue.

tags: removed: needs-upstream-testing
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I did the usual daily system update and minutes ago a new kernel has hit the mirrors and got installed with the update:

Linux till 2.6.35-11-generic #16-Ubuntu SMP Sat Jul 24 21:37:44 UTC 2010 x86_64 GNU/Linux

I booted and with this kernel the mouse problem is gone.

Changed in linux (Ubuntu):
status: Incomplete → Fix Released
summary: - Thinkpad T400: kslowd processes take to much CPU, making mouse control
+ Thinkpad T400: kslowd processes take too much CPU, making mouse control
impossible
Revision history for this message
Brezhonneg (fricompte) wrote :

I installed maverick (server version) and I see a very high CPU usage for kslowdXX processes as well. In a nutshell:

unanme -a
Linux mediabox 2.6.35-14-server #20-Ubuntu SMP Fri Aug 6 23:55:42 UTC 2010 x86_64 GNU/Linux

ps aux | grep slow
root 1090 1.2 0.0 0 0 ? S< Aug09 12:43 [kslowd000]
root 6481 1.2 0.0 0 0 ? S< Aug09 10:34 [kslowd002]

uptime
 08:52:55 up 17:23, 1 user, load average: 0.16, 0.19, 0.21

I noticed this with top, which frequently shows kslowd000 at the top of the list with 8% of CPU usage for a few seconds.

My gaphic card is an nvidia 8200 IGP.

Since the hardware is not exactly the same, should I open a new bug report even though the symptoms are pretty much the same?

Brezhonneg (fricompte)
Changed in linux (Ubuntu):
status: Fix Released → Confirmed
Changed in linux (Ubuntu):
status: Confirmed → Fix Released
status: Fix Released → Confirmed
Revision history for this message
Brezhonneg (fricompte) wrote :

This morning, I noticed that the problem vanished. kslowdXXX did not show up in 'top'. ps aux | grep slow does not show any kslowd process either.

I am not sure what changed triggered this. Off the top of my head, the most significant changes on my system that might be related were the installation of the nvidia-current package. The acpid package got installed too. I have no idea what kslowd process normally do or where they come from, so if anybody needs any more info regarding my system please let me know.

Revision history for this message
Vincenzo Ampolo (vincenzo-ampolo) wrote :

I'm experiencing exactly the same problem on a Sony Vaio VGN-SR21M with an ATI RADEON graphic card

01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3400 Series

my kernel is Linux earth 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:32:27 UTC 2010 x86_64 GNU/Linux and i'm on maverick updated just now installed 1 hour ago from the maverik beta.

System load is almost 5.10 with nothing running and in top appear the kslowd000 process. The same problem appears in tty1 so it's NOT related to graphic card.

Revision history for this message
T3$T (anonymat-fr) wrote :

I have the same problem with T400 intel graphic card !

Revision history for this message
Haides (haides-di) wrote :

I have same problem with T400. the path updated by this week.

Linux haides-laptop 2.6.35-22-generic-pae #35-Ubuntu SMP Sat Oct 16 22:16:51 UTC 2010 i686 GNU/Linux

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.