High CPU usage for disk I/O
Hello.
Recently I upgraded 2 boxes for self-compiled 2.4 kernel to Debian 2.6.5
kernel from sid.
Now both boxes experience high CPU usage during disk I/O, which causes
serious performance degradation.
DMA is on.
hdparm -tT shows that disk speed is the same as before upgrade - 20 mb/sec
on one box, 40 mb/sec on another - that means, DMA is really enabled.
However, similar to any other disk activity, while hdparm is performing
it's test CPU usage is almost at 100% (in iowait state). Before upgrade,
CPU was idle during test.
Boxes have very different hardware - one is a dual-athlon server with Tyan
motherboard, 2G of ram and 5 IDE disks; other is a notebook with i830
chipset-based motherboard.
Both boxes run a mix of testing and sid; all hardware-related packages
(discover/hotplug/etc) are from sid.
Symptoms on both boxes are exactly the same, and I failed to find in the
net anything looking similar. So I guess I've misconfigured both boxes in
some way. Unfortunately I have no ideas on what may be wrong.
Could please someone point me to a possible reason of high CPU usage during
disk I/O ?
lspci and lsmod output of both boxes attached.
Module Size Used by
radeon 121104 20
vmnet 30800 4
parport_pc 34880 0
parport 41960 1 parport_pc
vmmon 50136 0
ds 18436 4
nfsd 194528 8
exportfs 6336 1 nfsd
lockd 63656 2 nfsd
sunrpc 140744 2 nfsd,lockd
ipt_REJECT 6720 1
ipt_MASQUERADE 3648 1
iptable_nat 24428 2 ipt_MASQUERADE
ip_conntrack 33872 2 ipt_MASQUERADE,iptable_nat
iptable_filter 2688 1
ip_tables 18528 4 ipt_REJECT,ipt_MASQUERADE,iptable_nat,iptable_filter
autofs 17056 1
thermal 13008 0
fan 3916 0
button 6008 0
processor 17264 1 thermal
ac 4748 0
battery 9260 0
eth1394 20840 0
ohci1394 35428 0
ieee1394 110904 2 eth1394,ohci1394
snd_intel8x0m 19364 2
intel_mch_agp 10320 0
intel_agp 18460 1
agpgart 34504 3 intel_mch_agp,intel_agp
yenta_socket 17440 0
pcmcia_core 68004 2 ds,yenta_socket
hid 33952 0
usbmouse 5536 0
uhci_hcd 33040 0
usbcore 106556 5 hid,usbmouse,uhci_hcd
ipv6 253664 8
snd_intel8x0 34824 1
snd_ac97_codec 65124 2 snd_intel8x0m,snd_intel8x0
snd_pcm 99236 2 snd_intel8x0m,snd_intel8x0
snd_timer 25924 1 snd_pcm
snd_page_alloc 11332 3 snd_intel8x0m,snd_intel8x0,snd_pcm
gameport 4704 1 snd_intel8x0
snd_mpu401_uart 7840 1 snd_intel8x0
snd_rawmidi 24928 1 snd_mpu401_uart
snd_seq_device 8072 1 snd_rawmidi
snd 55556 14 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 10208 1 snd
af_packet 22216 0
joydev 10336 0
mousedev 10004 1
dm_mod 43168 0
evdev 9888 1
tsdev 7264 0
psmouse 20552 0
8139too 26144 0
mii 5120 1 8139too
crc32 4320 1 8139too
rtc 12792 0
ide_cd 41924 0
cdrom 41376 1 ide_cd
reiserfs 234448 1
ide_disk 19360 3
ide_generic 1248 0 [permanent]
piix 13632 1
atiixp 8632 0 [permanent]
ide_core 150112 5 ide_cd,ide_disk,ide_generic,piix,atiixp
unix 28560 182
font 8320 0
cfbcopyarea 3872 0
cfbimgblt 3072 0
cfbfillrect 3776 0
Module Size Used by
vmnet 32080 4
parport_pc 35968 0
parport 43400 1 parport_pc
vmmon 51360 0
iptable_nat 25828 1
ip_conntrack 35628 1 iptable_nat
nfsd 197856 8
exportfs 7360 1 nfsd
ipt_REJECT 7232 8
iptable_filter 3200 1
ip_tables 19584 3 iptable_nat,ipt_REJECT,iptable_filter
ipv6 268992 20
rtc 14408 0
nfs 193468 2
lockd 65224 3 nfsd,nfs
sunrpc 146632 6 nfsd,nfs,lockd
ac97_codec 19276 0
dc395x 34572 0
scsi_mod 123396 1 dc395x
usblp 13952 0
e100 34624 0
ohci_hcd 20292 0
usbcore 108828 4 usblp,ohci_hcd
hw_random 6100 0
amd7xx_tco 7080 0
cfi_cmdset_0002 30912 1
jedec_probe 14912 0
cfi_probe 7296 0
gen_probe 4416 2 jedec_probe,cfi_probe
amd76xrom 4288 0
mtdcore 8036 2 amd76xrom
chipreg 4160 3 jedec_probe,cfi_probe,amd76xrom
map_funcs 2752 1 amd76xrom
pci_hotplug 37308 0
amd_k7_agp 8204 1
agpgart 35308 1 amd_k7_agp
3c59x 39848 0
eepro100 31692 0
mii 5632 2 e100,eepro100
snd_ens1371 25952 2
snd_rawmidi 26080 1 snd_ens1371
snd_seq_device 8584 1 snd_rawmidi
snd_pcm 102112 1 snd_ens1371
snd_page_alloc 11780 1 snd_pcm
snd_timer 27524 1 snd_pcm
snd_ac97_codec 65476 1 snd_ens1371
snd 58532 10 snd_ens1371,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer,snd_ac97_codec
soundcore 11040 1 snd
gameport 5376 1 snd_ens1371
dm_mod 43936 0
w83627hf 28292 0
eeprom 8136 0
w83781d 35200 0
i2c_sensor 3392 3 w83627hf,eeprom,w83781d
i2c_isa 2432 0
i2c_amd756 6212 0
i2c_core 24068 6 w83627hf,eeprom,w83781d,i2c_sensor,i2c_isa,i2c_amd756
capability 4484 0
commoncap 7936 1 capability
tsdev 7744 0
evdev 10304 0
psmouse 20872 0
mousedev 10392 1
raid1 16768 1
md 50056 2 raid1
ide_cd 42500 0
cdrom 41504 1 ide_cd
reiserfs 235696 6
ext2 75560 0
ext3 123752 0
jbd 69528 1 ext3
mbcache 10372 2 ext2,ext3
ide_disk 19968 16
ide_generic 1792 0 [permanent]
pdc202xx_new 11612 1
amd74xx 14492 1
ide_core 151416 5 ide_cd,ide_disk,ide_generic,pdc202xx_new,amd74xx
unix 31472 1192
font 8896 0
cfbcopyarea 4224 0
cfbimgblt 3520 0
cfbfillrect 4160 0
0000:00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
0000:00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
0000:00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev 05)
0000:00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 05)
0000:00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 05)
0000:00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 05)
0000:00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 05)
0000:00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 05)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 05)
0000:00:1f.6 Modem: Intel Corp. Intel 537 [82801BA/BAM AC'97 Modem] (rev 05)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY
0000:02:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
0000:02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:02:09.0 CardBus bridge: Texas Instruments PCI1250 PC card Cardbus Controller (rev 01)
0000:02:09.1 CardBus bridge: Texas Instruments PCI1250 PC card Cardbus Controller (rev 01)
0000:00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] System Controller (rev 20)
0000:00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] AGP Bridge
0000:00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ISA (rev 05)
0000:00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-768 [Opus] IDE (rev 04)
0000:00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ACPI (rev 03)
0000:00:08.0 RAID bus controller: Promise Technology, Inc. PDC20271 (rev 02)
0000:00:10.0 PCI bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] PCI (rev 05)
0000:01:05.0 VGA compatible controller: ATI Technologies Inc Rage 128 RF/SG AGP
0000:02:00.0 USB Controller: Advanced Micro Devices [AMD] AMD-768 [Opus] USB (rev 07)
0000:02:04.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)
0000:02:06.0 SCSI storage controller: Tekram Technology Co.,Ltd. TRM-S1040 (rev 01)
0000:02:07.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
0000:02:08.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
Reply to: