Skip to contentSkip to conversation

ICH5 with 2.6.1 very slow

DISCUSSION Kyle 5 participants 15 messages Feb 5, 2004 – Feb 13, 2004

lore
Share & tools
lore

Kyle

author
#0 lore raw

Problem with ICH5?
I read the list web, so please CC my email, thanks.

P4 2.6G HT, 2GB Ram, ICH5, WD250GB/8M x 2 (md raid 1), kernel 2.6.1 Timing buffer-cache reads: 128 MB in 0.14 seconds =882.89 MB/sec Timing buffered disk reads: 64 MB in 2.14 seconds = 29.93 MB/sec

Celeron 1.3T, 1GB Ram, SIS630/5513, WD80GB/2M x 2 (md raid 1), kernel 2.6.1 Timing buffer-cache reads: 128 MB in 1.24 seconds =103.08 MB/sec Timing buffered disk reads: 64 MB in 1.83 seconds = 35.00 MB/sec

Celeron 2.5G, 512MB Ram, i845/ICH4, WD120GB/8M x 2 (md raid 1), redhat kernel 2.4.20

Timing buffer-cache reads:   128 MB in  0.35 seconds =365.71 MB/sec
Timing buffered disk reads:  64 MB in  1.38 seconds = 46.38 MB/sec

Kyle

#1 lore raw
Quoted 7 lines · Kyle

Problem with ICH5?
I read the list web, so please CC my email, thanks.

P4 2.6G HT, 2GB Ram, ICH5, WD250GB/8M x 2 (md raid 1), kernel 2.6.1 Timing buffer-cache reads: 128 MB in 0.14 seconds =882.89 MB/sec Timing buffered disk reads: 64 MB in 2.14 seconds = 29.93 MB/sec

Quoted 9 lines

Celeron 1.3T, 1GB Ram, SIS630/5513, WD80GB/2M x 2 (md raid 1), kernel 2.6.1 Timing buffer-cache reads: 128 MB in 1.24 seconds =103.08 MB/sec Timing buffered disk reads: 64 MB in 1.83 seconds = 35.00 MB/sec

Celeron 2.5G, 512MB Ram, i845/ICH4, WD120GB/8M x 2 (md raid 1), redhat kernel 2.4.20

Timing buffer-cache reads:   128 MB in  0.35 seconds =365.71 MB/sec
Timing buffered disk reads:  64 MB in  1.38 seconds = 46.38 MB/sec

Is that a parallel IDE? I own a S-ATA IDE (also WD) with an ICH5. That performs around 45-50MB/sec with 2.6.1. I've never tried 2.4.xx on it.

Bas.

author
#2 lore raw

Yes they are PATA, I expect something like 40-50MB/s, now my much slower Celeron 1.3T with 80GB/2M perform better than my ICH5!

Kyle

----- Original Message -----
From: "Bas Mevissen" <[email protected]>
To: "Kyle" <[email protected]>
Cc: <[email protected]>
Sent: Friday, February 06, 2004 1:23 AM
Subject: Re: ICH5 with 2.6.1 very slow

Quoted 10 lines
Quoted 8 lines · Kyle

Problem with ICH5?
I read the list web, so please CC my email, thanks.

P4 2.6G HT, 2GB Ram, ICH5, WD250GB/8M x 2 (md raid 1), kernel 2.6.1 Timing buffer-cache reads: 128 MB in 0.14 seconds =882.89 MB/sec Timing buffered disk reads: 64 MB in 2.14 seconds = 29.93 MB/sec

Celeron 1.3T, 1GB Ram, SIS630/5513, WD80GB/2M x 2 (md raid 1), kernel

2.6.1

Quoted 16 lines
Quoted 8 lines

Timing buffer-cache reads: 128 MB in 1.24 seconds =103.08 MB/sec Timing buffered disk reads: 64 MB in 1.83 seconds = 35.00 MB/sec

Celeron 2.5G, 512MB Ram, i845/ICH4, WD120GB/8M x 2 (md raid 1), redhat kernel 2.4.20

Timing buffer-cache reads:   128 MB in  0.35 seconds =365.71 MB/sec
Timing buffered disk reads:  64 MB in  1.38 seconds = 46.38 MB/sec

Is that a parallel IDE? I own a S-ATA IDE (also WD) with an ICH5. That performs around 45-50MB/sec with 2.6.1. I've never tried 2.4.xx on it.

Bas.

#3 lore raw
Quoted 3 lines · Kyle

Yes they are PATA, I expect something like 40-50MB/s, now my much slower Celeron 1.3T with 80GB/2M perform better than my ICH5!

What does 'hdparm /dev/hdX' say (X=a,b,c...)?

Bas.

author
#4 lore raw

hdparm /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 30401/255/63, sectors = 488397168, start = 0

tried with hdparm -a8192 /dev/hda, not much different /dev/hdc same as /dev/hda

Kyle
----- Original Message -----
From: "Bas Mevissen" <[email protected]>
To: "Kyle" <[email protected]>
Cc: <[email protected]>
Sent: Friday, February 06, 2004 1:30 AM
Subject: Re: ICH5 with 2.6.1 very slow

Quoted 12 lines
Quoted 3 lines · Kyle

Yes they are PATA, I expect something like 40-50MB/s, now my much slower Celeron 1.3T with 80GB/2M perform better than my ICH5!

What does 'hdparm /dev/hdX' say (X=a,b,c...)?

Bas.

#5 lore raw
Quoted 11 lines · Kyle

hdparm /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 30401/255/63, sectors = 488397168, start = 0

Quoted 3 lines

tried with hdparm -a8192 /dev/hda, not much different /dev/hdc same as /dev/hda

Looks fine. That's strange. Maybe reboot the system and check /proc/interrupts to see if none of them is excessive.

What's your .config? Try with as less as possible IDE stuff enabled.

Bas.

author
#6 lore raw

Today I tried to boot with redhat kernel 2.4.20-24.9smp, much better result:

/dev/hda:
Timing buffer-cache reads: 128 MB in 0.14 seconds =914.29 MB/sec
Timing buffered disk reads: 64 MB in 1.67 seconds = 38.32 MB/sec

Really strange that /dev/hdc is even faster!
/dev/hdc:
Timing buffer-cache reads: 128 MB in 0.13 seconds =984.62 MB/sec
Timing buffered disk reads: 64 MB in 1.17 seconds = 54.70 MB/sec

I ran hdparm 5 times at both harddisk and take the fastest result. /dev/hda and /dev/hdc are both WD 250GB / 8M, same model.

at kernel 2.6, I got same performance for /dev/hda and /dev/hdc, around ~28MB/sec. 50%-100% slower then kernel 2.4

/proc/interrupt:

CPU0 CPU1

  0:    8014632          0    IO-APIC-edge  timer
  1:       2273          0    IO-APIC-edge  i8042
  2:          0          0          XT-PIC  cascade
  8:          1          0    IO-APIC-edge  rtc
  9:          0          0   IO-APIC-level  acpi
 14:     167888          0    IO-APIC-edge  ide0
 15:     199399          0    IO-APIC-edge  ide1
 20:    2186070          0   IO-APIC-level  eth1
NMI:          0          0
LOC:    8014888    8014887
ERR:          0
MIS:          0

I tried to update my mobo BIOS (Intel D865GLC), remove one of the NIC (I have two), disable serial, parallel, USB etc just leave IDE and built-in display, no help. I have NO IDE cdrom and floppy, only 2 harddisk, 1 CPU, 4 x 512M DDR and a mobo at my machine.

CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=m
CONFIG_BLK_DEV_IDESCSI=m
CONFIG_BLK_DEV_IDEPNP=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_ADMA=y
CONFIG_BLK_DEV_PIIX=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y

Kyle

----- Original Message -----
From: "Bas Mevissen" <[email protected]>
To: "Kyle" <[email protected]>
Cc: <[email protected]>
Sent: Friday, February 06, 2004 6:10 PM
Subject: Re: ICH5 with 2.6.1 very slow

Quoted 26 lines
Quoted 11 lines · Kyle

hdparm /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 30401/255/63, sectors = 488397168, start = 0

Quoted 3 lines

tried with hdparm -a8192 /dev/hda, not much different /dev/hdc same as /dev/hda

Looks fine. That's strange. Maybe reboot the system and check /proc/interrupts to see if none of them is excessive.

What's your .config? Try with as less as possible IDE stuff enabled.

Bas.

#7 lore raw
Quoted 1 line · Kyle

Today I tried

(...)

This is quite strange. The only thing I can think of is that the hardware (?) raid1 is causing problems with 2.6.

Is there a possibility for you to test without it?

Currently, I don't have a decent PATA disk luyng around, so I cannot verify anything for you.

Regards,

Bas.

#8 lore raw

No hardware raid, it's kernel built-in md driver.

----- Original Message -----
From: "Bas Mevissen" <[email protected]>
To: "Kyle" <[email protected]>
Cc: <[email protected]>
Sent: Monday, February 09, 2004 4:32 PM
Subject: Re: ICH5 with 2.6.1 very slow

Quoted 20 lines
Quoted 1 line · Kyle

Today I tried

(...)

This is quite strange. The only thing I can think of is that the hardware (?) raid1 is causing problems with 2.6.

Is there a possibility for you to test without it?

Currently, I don't have a decent PATA disk luyng around, so I cannot verify anything for you.

Regards,

Bas.

author
#9 lore raw
In reply to Bas Mevissen

Today I tried with compile the kernel 2.6.1 with:

IGNORE word93 Validation BITS (IDEDMA_IVB) = y

The result looks a bit better, got 30MB/s at /dev/hda and 37MB/s at /dev/hdc (38MB/s and 55MB/s at kernel 2.4.20)

Still very strange, /dev/hda and /dev/hda are exactly same model harddisk.

Also, the result still can't compare with my another much slower machine Celeron / ICH4 / 2 x WD 120GB (md1), which got 46MB/s at both /dev/hda and /dev/hdc,

Kyle

----- Original Message -----
From: "Bas Mevissen" <[email protected]>
To: "Kyle" <[email protected]>
Cc: <[email protected]>
Sent: Monday, February 09, 2004 4:32 PM
Subject: Re: ICH5 with 2.6.1 very slow

Quoted 20 lines
Quoted 1 line · Kyle

Today I tried

(...)

This is quite strange. The only thing I can think of is that the hardware (?) raid1 is causing problems with 2.6.

Is there a possibility for you to test without it?

Currently, I don't have a decent PATA disk luyng around, so I cannot verify anything for you.

Regards,

Bas.

#10 lore raw
Quoted 6 lines · Kyle

Today I tried with compile the kernel 2.6.1 with:

IGNORE word93 Validation BITS (IDEDMA_IVB) = y

The result looks a bit better, got 30MB/s at /dev/hda and 37MB/s at /dev/hdc (38MB/s and 55MB/s at kernel 2.4.20)

Aha...

Have a look at the thread called "[RFC] IDE 80-core cable detect - chipset-specific code to over-ride eighty_ninty_three()".

It specifically deals with ICH5 and is probably the same problem as you're seeing.

-- Jamie

author
#11 lore raw

Yes I read the thread and re-compile with IDEDMA_IVB= y, got some performance back, but is still far slower than 2.4

----- Original Message -----
From: "Jamie Lokier" <[email protected]>
To: "Kyle" <[email protected]>
Cc: "Bas Mevissen" <[email protected]>; <[email protected]>
Sent: Thursday, February 12, 2004 4:41 PM
Subject: Re: ICH5 with 2.6.1 very slow

Quoted 6 lines
Quoted 5 lines · Kyle

Today I tried with compile the kernel 2.6.1 with:

IGNORE word93 Validation BITS (IDEDMA_IVB) = y

The result looks a bit better, got 30MB/s at /dev/hda and 37MB/s at

/dev/hdc

Quoted 12 lines
Quoted 1 line

(38MB/s and 55MB/s at kernel 2.4.20)

Aha...

Have a look at the thread called "[RFC] IDE 80-core cable detect - chipset-specific code to over-ride eighty_ninty_three()".

It specifically deals with ICH5 and is probably the same problem as you're seeing.

-- Jamie

#12 lore raw
In reply to Jamie Lokier
Quoted 7 lines · Jamie Lokier

Have a look at the thread called "[RFC] IDE 80-core cable detect - chipset-specific code to over-ride eighty_ninty_three()".

It specifically deals with ICH5 and is probably the same problem as you're seeing.

Ive already pointed Kyle to that thread. But the udma settings seem to be OK.

So my guess now is that this is not just an issue with the driver only.

Regards,

Bas.

#13 lore raw

Another idea... check and make sure your hardware is set to "enhanced mode" in BIOS. "legacy mode" and "combined mode" would definitely be slow.

Jeff

author
#14 lore raw

It's already in "Enhanced mode", tried "legacy" and "combined" as well, no help.

----- Original Message -----
From: "Jeff Garzik" <[email protected]>
To: "Bas Mevissen" <[email protected]>
Cc: "Jamie Lokier" <[email protected]>; "Kyle" <[email protected]>; <[email protected]>
Sent: Friday, February 13, 2004 3:28 AM
Subject: Re: ICH5 with 2.6.1 very slow

Quoted 2 lines

Another idea... check and make sure your hardware is set to "enhanced mode" in BIOS. "legacy mode" and "combined mode" would definitely be

slow.

Quoted 7 lines

Jeff