CD-ROM polling on some Optiarc drives causes high CPU usage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Confirmed
|
Medium
|
|||
udisks |
Fix Released
|
Wishlist
|
|||
linux (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
udisks (Ubuntu) |
Fix Released
|
Wishlist
|
Martin Pitt | ||
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
...
Related branches
Changed in linux (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in linux: | |
status: | Unknown → Confirmed |
description: | updated |
Changed in linux (Ubuntu): | |
assignee: | nobody → Chase Douglas (chasedouglas) |
Changed in devicekit-disks (Ubuntu): | |
assignee: | nobody → Martin Pitt (pitti) |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in devicekit: | |
status: | Unknown → Confirmed |
summary: |
- High cpu usage after upgrade to 141-1.1 + CD-ROM polling on some Optiarc drives causes high CPU usage |
affects: | devicekit-disks (Ubuntu) → udisks (Ubuntu) |
affects: | devicekit → udisks |
Changed in udisks (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in udisks: | |
status: | Confirmed → Fix Released |
Changed in linux (Ubuntu): | |
status: | Invalid → Incomplete |
status: | Incomplete → Invalid |
Changed in linux (Ubuntu): | |
status: | Invalid → Incomplete |
Changed in udisks (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in udisks: | |
importance: | Unknown → Wishlist |
Changed in udisks: | |
importance: | Wishlist → Unknown |
Changed in udisks: | |
importance: | Unknown → Wishlist |
Changed in linux: | |
importance: | Unknown → Medium |
Changed in linux (Ubuntu): | |
assignee: | Chase Douglas (chasedouglas) → nobody |
Changed in udisks: | |
status: | Fix Released → Confirmed |
Changed in udisks: | |
status: | Confirmed → Fix Released |
I have been seeing this exact same behavior on my Acer 4730Z. I am running Ubuntu 9.04 x64, (clean install) and have 4gb Ram. I first noticed this behavior right after an update about 1 month ago. I also have started seeing issues launching a terminal session, but am unsure if the issue is related. When I stop the udevd daemon, CPU use at idle goes back to normal (1-2%)