Skip to contentSkip to conversation

ICH5 with 2.6.1 very slow

DISCUSSION Kyle 3 participants 4 messages Feb 15, 2004 – Feb 16, 2004

lore
Share & tools
lore

Kyle

author
#0 lore raw

today since one of my mirrored harddisk (/dev/hda) failed, I removed it from md-raid1 and now /dev/hdc becomes /dev/hda

hdparm -t /dev/hda gets me ~37MB/s now (before: /dev/hda - 30MB/s, /dev/hdc - 37MB/s)

maybe there's problem with /dev/hda so it's relatively slower!

However, the result still much slower than kernel 2.4.20 (55MB/s)

Kyle

#1 lore raw
Quoted 9 lines · Kyle

today since one of my mirrored harddisk (/dev/hda) failed, I removed it from md-raid1 and now /dev/hdc becomes /dev/hda

hdparm -t /dev/hda gets me ~37MB/s now (before: /dev/hda - 30MB/s, /dev/hdc - 37MB/s)

maybe there's problem with /dev/hda so it's relatively slower!

However, the result still much slower than kernel 2.4.20 (55MB/s)

Please fill bugzilla entry (htp://bugzilla.kernel.org)
and attach 'dmesg' and 'lspci -vvv -xxx' outputs for 2.4.20 and 2.6.x.

It would be also helpful to narrow down the issue to kernel version when this slowdown started (2.4.20 -> 2.6.x means too much changes to anybody sane to even start thinking about going through all of them).

--bart

#2 lore raw
Quoted 9 lines · Bartlomiej Zolnierkiewicz
Quoted 8 lines · Kyle

today since one of my mirrored harddisk (/dev/hda) failed, I removed it from md-raid1 and now /dev/hdc becomes /dev/hda

hdparm -t /dev/hda gets me ~37MB/s now (before: /dev/hda - 30MB/s, /dev/hdc - 37MB/s)

maybe there's problem with /dev/hda so it's relatively slower!

Quoted 9 lines
Quoted 1 line

However, the result still much slower than kernel 2.4.20 (55MB/s)

Please fill bugzilla entry (htp://bugzilla.kernel.org)
and attach 'dmesg' and 'lspci -vvv -xxx' outputs for 2.4.20 and 2.6.x.

It would be also helpful to narrow down the issue to kernel version when this slowdown started (2.4.20 -> 2.6.x means too much changes to anybody sane to even start thinking about going through all of them).

Also a hdparm -i /dev/hda might help I guess (as the small default read-ahead causes this for many users)

Signature · 1 line
Martin Schlemmer
author
#3 lore raw

Today I tried "lspci -vvv -xxx" with 2.6.1, forgotten to do this with 2.4.20, and I found this:

00:1f.1 IDE interface: Intel Corp. 82801EB ICH5 IDE (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Intel Corp.: Unknown device 4c43
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 18
Region 0: I/O ports at <unassigned>
Region 1: I/O ports at <unassigned>
Region 2: I/O ports at <unassigned>
Region 3: I/O ports at <unassigned>
Region 4: I/O ports at ffa0 [size=16]
Region 5: Memory at 7f800000 (32-bit, non-prefetchable) [size=1K]

00:1f.2 IDE interface: Intel Corp.: Unknown device 24d1 (rev 02) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Intel Corp.: Unknown device 4c43
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-

        Latency: 0
        Interrupt: pin A routed to IRQ 18
        Region 0: I/O ports at e800 [size=8]
        Region 1: I/O ports at e400 [size=4]
        Region 2: I/O ports at e000 [size=8]
        Region 3: I/O ports at dc00 [size=4]
        Region 4: I/O ports at d800 [size=16]

00:1d.2 USB Controller: Intel Corp. 82801EB USB (Hub #3) (rev 02) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4c43
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin C routed to IRQ 18
Region 4: I/O ports at d000 [size=32]

[root@s1 kyle]# hdparm -i /dev/hda

/dev/hda:

Model=WDC WD2500JB-00EVA0, FwRev=15.05R15, SerialNo=WD-WMAEH1328328 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq } RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74 BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version: 1 2 3 4 5 6

Does it means that ICH5 shared IRQ 18 with USB and cause the performance problem?
I'll try to submit this to bugzilla.

Kyle