Comment 71 for bug 379780

Revision history for this message
Scott Rohling (scott-rohling) wrote : Re: [Bug 379780] Re: CD-ROM polling on some Optiarc drives causes high CPU usage

Don't kill udev - just restart it: sudo restart udev

For me and others - this cures the problem...

Scott

On Mon, Mar 1, 2010 at 5:07 PM, Mark Fernandes <email address hidden>wrote:

> @Chase Douglas,
>
> You are right, if the stop udev command is put into /etc/rc.local my usb
> keyboard and mouse are not recognized at startup. However if I do not
> have the stop udev command in /etc/rc.local and only run the stop
> command after booting up and logging in with the usb keyboard and mouse
> plugged in I get to keep the mouse and keyboard and still reduce the
> load. Of course, it wont recognize other usb changes subsequently. I
> understand this is a hack, but if I do not stop udev then I run out of
> battery power pretty quickly and my laptop heats up very fast.
>
> One point though: this was not an issue with 9.04, because I never
> experienced this problem there. I did not try 9.10 so I cannot say. So
> this, to me, indicates that it might not be a hardware problem because
> the Optiarc DVD drive was working fine in 9.04, unless the drivers have
> changed with 10.04 and that is causing the excessive load.
>
> --
> CD-ROM polling on some Optiarc drives causes high CPU usage
> https://bugs.launchpad.net/bugs/379780
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in The Linux Kernel: Confirmed
> Status in abstraction for enumerating and managing block devices: Fix
> Released
> Status in “linux” package in Ubuntu: Triaged
> Status in “udisks” package in Ubuntu: Fix Released
>
> Bug description:
> Binary package hint: udev
>
> Before I upgraded the udev version of jaunty from 141-1 to 141-1.1, top
> reported about 2% total cpu usage when idle. After the update, it rarely
> drops below 35%. Though top lists udevd among the more cpu hungry processes,
> it is only listed with about 3%, while system (in line 3) almost never drops
> below 20%.
>
> I am using the amd64 version of Xubuntu 9.04 on a Acer Extensa 5230 laptop
> with a 2 GHz Intel Celeron processor, and I have my root, home and swap
> partitions encrypted with luks. I did a fresh install and installed nothing
> but the software updates.
>
> The output of top looks like this:
>
> top - 18:47:33 up 15 min, 2 users, load average: 1.48, 1.99, 1.50
> Tasks: 125 total, 3 running, 122 sleeping, 0 stopped, 0 zombie
> Cpu(s): 11.3%us, 23.9%sy, 0.0%ni, 60.1%id, 0.0%wa, 4.3%hi, 0.3%si,
> 0.0%st
> Mem: 940212k total, 637176k used, 303036k free, 872k buffers
> Swap: 2103444k total, 0k used, 2103444k free, 346116k cached
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 939 root 16 -4 16792 600 296 S 3.0 0.1 0:17.03 udevd
> 15937 haldaemo 20 0 36304 4872 3756 S 1.7 0.5 0:04.29 hald
> 16403 root 20 0 451m 51m 17m R 1.7 5.6 0:25.92 Xorg
> 30 root 15 -5 0 0 0 S 0.7 0.0 0:05.52 scsi_eh_1
> 5480 andreas 20 0 19116 1328 988 R 0.3 0.1 0:00.89 top
> 22747 andreas 20 0 174m 17m 8960 R 0.3 1.9 0:01.14 xfce4-terminal
> 1 root 20 0 4104 924 632 S 0.0 0.1 0:00.87 init
> 2 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kthreadd
> 3 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0
> 4 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
> 5 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
> 6 root 15 -5 0 0 0 S 0.0 0.0 0:00.65 events/0
> 7 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
> 8 root RT -5 0 0 0 S 0.0 0.0 0:00.00 kstop/0
> 9 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/0
> ...
>
>
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/linux/+bug/379780/+subscribe
>