Skip to contentSkip to conversation

kernel 2.6t9 SATA slower than 2.4.20

DISCUSSION Shaun Savage 5 participants 5 messages Oct 27, 2003

lore
Share & tools
lore
#0 lore raw

I have just compiled and installed kernel 2.6t9 on my RH9 / Asus A7N8X Deluxe. I find the disk access is slower using the 2.6 kernel than the 2.4.20 kernel.

To get it to work for 2.4.20 kernel I have to use

# hdparm -d1 -X88 /dev/hde
then the buffered disk read goes from 1.5M to 55M

On the 2.6 kernel the buffered disk read is only 16M

What do I have to do to increase the disk speed for kernel 2.6t9?

Shaun Savage

#1 lore raw
Quoted 11 lines · Shaun Savage

I have just compiled and installed kernel 2.6t9 on my RH9 / Asus A7N8X Deluxe. I find the disk access is slower using the 2.6 kernel than the 2.4.20 kernel.

To get it to work for 2.4.20 kernel I have to use

# hdparm -d1 -X88 /dev/hde
then the buffered disk read goes from 1.5M to 55M

On the 2.6 kernel the buffered disk read is only 16M

What do I have to do to increase the disk speed for kernel 2.6t9?

What happens with you really test? ie. using programs (bonnie, iozone etc) to test disk speed? Is it still slower? I think that hdparm does not tell the complete story.

Ed Tomlinson

#2 lore raw
In reply to Shaun Savage

Hi!

Quoted 10 lines · Shaun Savage

I have just compiled and installed kernel 2.6t9 on my RH9 / Asus A7N8X Deluxe. I find the disk access is slower using the 2.6 kernel than the 2.4.20 kernel.

To get it to work for 2.4.20 kernel I have to use

# hdparm -d1 -X88 /dev/hde
then the buffered disk read goes from 1.5M to 55M

On the 2.6 kernel the buffered disk read is only 16M

What do I have to do to increase the disk speed for kernel 2.6t9?

I bet it's the "beat to death in lkml" issue with readahead.

What's the output of cat /proc/ide/hdX?

Regards,
Nuno Silva

Quoted 2 lines

Shaun Savage

#3 lore raw
In reply to Shaun Savage
Quoted 9 lines · Shaun Savage

I have just compiled and installed kernel 2.6t9 on my RH9 / Asus A7N8X Deluxe. I find the disk access is slower using the 2.6 kernel than the 2.4.20 kernel.

To get it to work for 2.4.20 kernel I have to use

# hdparm -d1 -X88 /dev/hde
then the buffered disk read goes from 1.5M to 55M

On the 2.6 kernel the buffered disk read is only 16M

What do I have to do to increase the disk speed for kernel 2.6t9?

Are you using CONFIG_SCSI_SATA in 2.6?

Jeff

#4 lore raw
Quoted 7 lines · Jeff Garzik
Quoted 6 lines · Shaun Savage

I have just compiled and installed kernel 2.6t9 on my RH9 / Asus A7N8X Deluxe. I find the disk access is slower using the 2.6 kernel than the 2.4.20 kernel.

To get it to work for 2.4.20 kernel I have to use

# hdparm -d1 -X88 /dev/hde
then the buffered disk read goes from 1.5M to 55M
Quoted 6 lines
Quoted 3 lines

On the 2.6 kernel the buffered disk read is only 16M

What do I have to do to increase the disk speed for kernel 2.6t9?

Are you using CONFIG_SCSI_SATA in 2.6?

Should this make a difference speedwise with SiI 3112? I have one Maxtor 120GB, and one Seagate 120GB each attached to the SiI controller (Mobo: Asus A7N8X Deluxe). The Seagate (my main drive) is as slow as ever (since DMA was turned on by default, ~13MB/s), although hdparm reports better numbers for the Maxtor (~33MB/s).

Regards

Arve Knudsen