Skip to contentSkip to conversation

kernel 2.6t9 SATA slower than 2.4.20

DISCUSSION Shaun Savage 4 participants 9 messages Oct 27, 2003 – Oct 28, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines

Are you using CONFIG_SCSI_SATA in 2.6?

No, but I am trying now.
GREAT is works,
but the disk went from hda back to hde

Quoted 1 line

Jeff

===================================================================

Quoted 3 lines

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

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

it hda see attached file "proc_ide_hda"

now the disk is hde again, do you want another proc files file?

Quoted 2 lines

Regards,
Nuno Silva

--------------------------------------------------------------------

Quoted 3 lines

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.

No I have not but I will. But I assume that from 55M to 15M something is not configured correct.

Quoted 1 line

Ed Tomlinson

---------------------------------------------------------------------

Quoted 10 lines

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

#1 lore raw
Quoted 7 lines · Shaun Savage
Quoted 3 lines

Are you using CONFIG_SCSI_SATA in 2.6?

No, but I am trying now.
GREAT is works,
but the disk went from hda back to hde

hmmm, with CONFIG_SCSI_SATA your SATA drives should show up as
/dev/sda not /dev/hde ...

So, you're still using the drivers/ide driver, it appears.

Regardless, it's most important to use what works for you ;-)

Jeff

#2 lore raw
Quoted 9 lines · Jeff Garzik
Quoted 7 lines · Shaun Savage
Quoted 3 lines

Are you using CONFIG_SCSI_SATA in 2.6?

No, but I am trying now.
GREAT is works,
but the disk went from hda back to hde

Quoted 7 lines

hmmm, with CONFIG_SCSI_SATA your SATA drives should show up as
/dev/sda not /dev/hde ...

So, you're still using the drivers/ide driver, it appears.

Regardless, it's most important to use what works for you ;-)

Excuse me, there's probably something I'm missing, but how do I use the SCSI_SATA driver for SiI 3112? I see the source file for it in the kernel tree (test9), but no option for it in menuconfig (I've enabled SATA under SCSI). Enabling the SiI SATA driver under ATA/ATAPI... compiles in the old driver am I right?

Thanks

Arve Knudsen

#3 lore raw
Quoted 16 lines · Arve Knudsen
Quoted 14 lines · Jeff Garzik
Quoted 7 lines · Shaun Savage
Quoted 3 lines

Are you using CONFIG_SCSI_SATA in 2.6?

No, but I am trying now.
GREAT is works,
but the disk went from hda back to hde

hmmm, with CONFIG_SCSI_SATA your SATA drives should show up as /dev/sda not /dev/hde ...

So, you're still using the drivers/ide driver, it appears.

Quoted 7 lines
Quoted 2 lines

Regardless, it's most important to use what works for you ;-)

Excuse me, there's probably something I'm missing, but how do I use the SCSI_SATA driver for SiI 3112? I see the source file for it in the kernel tree (test9), but no option for it in menuconfig (I've enabled SATA under SCSI). Enabling the SiI SATA driver under ATA/ATAPI... compiles in the old driver am I right?

For SiI, it requires CONFIG_BROKEN, because, well, the libata SiI is "very alpha quality" right now ;-)

Jeff

#4 lore raw
Quoted 19 lines · Jeff Garzik
Quoted 18 lines · Arve Knudsen
Quoted 16 lines · Jeff Garzik
Quoted 7 lines · Shaun Savage
Quoted 3 lines

Are you using CONFIG_SCSI_SATA in 2.6?

No, but I am trying now.
GREAT is works,
but the disk went from hda back to hde

hmmm, with CONFIG_SCSI_SATA your SATA drives should show up as /dev/sda not /dev/hde ...

So, you're still using the drivers/ide driver, it appears.

Regardless, it's most important to use what works for you ;-)

Quoted 9 lines
Quoted 5 lines

Excuse me, there's probably something I'm missing, but how do I use the SCSI_SATA driver for SiI 3112? I see the source file for it in the kernel tree (test9), but no option for it in menuconfig (I've enabled SATA under SCSI). Enabling the SiI SATA driver under ATA/ATAPI... compiles in the old driver am I right?

For SiI, it requires CONFIG_BROKEN, because, well, the libata SiI is "very alpha quality" right now ;-)

Ok, thanks. So I might be better off with the older driver for now? From what I remember Andre Hedrick was promising a fix?

Regards

Arve Knudsen

#5 lore raw
Quoted 1 line · Arve Knudsen

Ok, thanks. So I might be better off with the older driver for now? From what I remember Andre Hedrick was promising a fix?

Yes. Until CONFIG_BROKEN marker is removed, I recommend the older Silicon Image driver in drivers/ide.

Jeff

#6 lore raw
In reply to Shaun Savage

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The Sata driver worked well on my siimage, but lost around 30%-40% performance according to tiobench.

Bob

Quoted 9 lines · Shaun Savage
Quoted 1 line

Are you using CONFIG_SCSI_SATA in 2.6?

No, but I am trying now.
GREAT is works,
but the disk went from hda back to hde

Quoted 1 line

Jeff

===================================================================

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/nV8zxJgsCy9JAX0RAoMDAKCkhWzaYoOf4PT4xO+8deABSZuvwwCfSss/ 9rIz1it4fWpQ3HVzFcK/qls=
=mOy2
-----END PGP SIGNATURE-----

#7 lore raw
Quoted 5 lines · Bob Johnson

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The Sata driver worked well on my siimage, but lost around 30%-40% performance according to tiobench.

This is to be expected -- I use a "sledgehammer fix" for the Maxtor and Seagate errata -- each transfer is limited to 15 sectors.

When I get a chance to clean up the SiI driver, the performance will indeed increase by a large amount.

For now, for Silicon Image, I recommend using the drivers/ide/pci/siimage.c -- assuming it works for you, of course.

The libata Silicon Image driver is marked with CONFIG_BROKEN because it is fairly easy to lock it up (I need ack some more interrupts).

Jeff

#8 lore raw

Hi

I have removed the IDE SiI driver now the hdparm buffered disk read are now 15M again. So you are right the IDE does give better performance but the SCSI SATA does need to be enabled. I Think ;\

Now I am trying to iptables working, then SELinux

Thanks
Shaun

Quoted 26 lines · Jeff Garzik
Quoted 5 lines · Bob Johnson

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The Sata driver worked well on my siimage, but lost around 30%-40% performance according to tiobench.

This is to be expected -- I use a "sledgehammer fix" for the Maxtor and Seagate errata -- each transfer is limited to 15 sectors.

When I get a chance to clean up the SiI driver, the performance will indeed increase by a large amount.

For now, for Silicon Image, I recommend using the drivers/ide/pci/siimage.c -- assuming it works for you, of course.

The libata Silicon Image driver is marked with CONFIG_BROKEN because it is fairly easy to lock it up (I need ack some more interrupts).

Jeff