hald-addon-storage causes a lot of wakeups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hal (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
linux-source-2.6.22 (Ubuntu) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Binary package hint: hal
With a recent Ubuntu Gutsy installation hald-addon-storage causes
50 wakeups per CD-ROM drive and second.
Since I have 2 CD-ROM drives I have 100 wakeups per second only to
check for media changes.
That makes ~30000 wakeups in a normal working day and worsens
performance and battery time (for laptops).
I have the CD-ROM drives at an Adaptec AHA-2940U:
# lspci -v
[..]
00:0b.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U
Flags: bus master, medium devsel, latency 32, IRQ 16
I/O ports at d000 [disabled] [size=256]
Memory at eb000000 (32-bit, non-prefetchable) [size=4K]
[virtual] Expansion ROM at 50000000 [disabled] [size=64K]
No other drives are connected to the SCSI controller:
# lsscsi -v
[0:0:3:0] cd/dvd PLEXTOR CD-ROM PX-12TS 1.02 /dev/scd0
dir: /sys/bus/
[0:0:5:0] cd/dvd TEAC CD-R58S 1.0H /dev/scd1
dir: /sys/bus/
The kernel is up to date, too:
# uname -r
2.6.22-8-generic
powertop (media check for both CD-ROM drives):
Top causes for wakeups:
42.3% ( 99.0) <interrupt> : aic7xxx
0.4% ( 1.0) hald-addon-stor : schedule_timeout (process_timeout)
# hal-disable-polling --device /dev/scd1
powertop (media check only for Plextor CD-ROM drive):
Top causes for wakeups:
25.3% ( 49.5) <interrupt> : aic7xxx
0.3% ( 0.5) hald-addon-stor : schedule_timeout (process_timeout)
# hal-disable-polling --device /dev/scd0
powertop (no media check for CD-ROM drives):
No aic7xxx and hald-addon-storage in profile
I don't know whether this problem is related to my hardware
configuration or not, especially interesting would be a comparison
to IDE drives.
Hi
powertop also made the same suggestion to me.