Skip to contentSkip to conversation

SII SATA request size limit

DISCUSSION Marcelo Penna Guerra 5 participants 6 messages Sep 12, 2003 – Sep 18, 2003

lore
Share & tools
lore
#0 lore raw

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

Hi,

In recent kernels, the siimage driver limits the max kb per request size to 15 (7.5kb). As I was having no problems with rqsize of 128 (64kb), I decided to comment out this part of the code and my system is rock solid.

I'm not suggesting that it should be removed, as it probably is necessary on other systems, but as the performance impact is huge (with 15 hdparm tests show an average 26mb/s and with 128 it's 47mb/s), I think the user should be warnned of this and there could be a option to set it to 128 in 2.6.x kernels, so people can try to see if it's stable. I really don't beleive that I have such an unique hardware configuration, so this should benefit other people.

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

iD8DBQE/YTYjD/U0kdg4PFoRAhBnAJ0TyeJx5nrxzDS5Rib5AEWQHx4iSACeKcn8 wg7cUhLobywfTCcPl8GqNCc=
=VuVw
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 3 lines · Marcelo Penna Guerra

In recent kernels, the siimage driver limits the max kb per request size to 15 (7.5kb). As I was having no problems with rqsize of 128 (64kb), I decided to comment out this part of the code and my system is rock solid.

It will depend what disks you have.

Quoted 3 lines

kernels, so people can try to see if it's stable. I really don't beleive that I have such an unique hardware configuration, so this should benefit other people.

You can up it again at runtime.

#2 lore raw
Quoted 5 lines · Alan Cox
Quoted 3 lines · Marcelo Penna Guerra

In recent kernels, the siimage driver limits the max kb per request size to 15 (7.5kb). As I was having no problems with rqsize of 128 (64kb), I decided to comment out this part of the code and my system is rock solid.

Quoted 7 lines

It will depend what disks you have.

Quoted 3 lines

kernels, so people can try to see if it's stable. I really don't beleive that I have such an unique hardware configuration, so this should benefit other people.

You can up it again at runtime.

I've lost some of mails about siimage on LKML, but Im' getting more and more confused about 'hangs' probably caused by siimage driver. I was using 15 rqsize, now 128 - doesn't matter. It happens in random moments - sometimes at boot time when drive is fscked, sometimes when I'm trying to copy large amount of data and sometimes without any particular reason after several hours. I've updated MB (a7n8x deluxe rev 2.0) BIOS but controller (which is on-board) bios seems to be untouched (4.1.25 or so ). Is there any controller BIOS update which I could miss? what can be other reason?

Signature · 3 lines
Witold Kręcicki (adasi) adasi [at] culm.net
GPG key: 7AE20871
http://www.culm.net
#5 lore raw
In reply to Marcelo Penna Guerra
Quoted 11 lines

In recent kernels, the siimage driver limits the max kb per request size to 15 (7.5kb). As I was having no problems with rqsize of 128 (64kb), I decided to comment out this part of the code and my system is rock solid.

I'm not suggesting that it should be removed, as it probably is necessary on other systems, but as the performance impact is huge (with 15 hdparm tests show an average 26mb/s and with 128 it's 47mb/s), I think the user should be warnned of this and there could be a option to set it to 128 in 2.6.x kernels, so people can try to see if it's stable. I really don't beleive that I have such an unique hardware configuration, so this should benefit other people.

I'm using 256 or 128, I don't remember exactly with a sii3112. It is rock solid.

Quoted 5 lines

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

Quoted 10 lines

iD8DBQE/YTYjD/U0kdg4PFoRAhBnAJ0TyeJx5nrxzDS5Rib5AEWQHx4iSACeKcn8 wg7cUhLobywfTCcPl8GqNCc=
=VuVw
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

---
Catalin(ux) BOIE
[email protected]

#3 lore raw
In reply to Witold Krecicki
Quoted 6 lines · Witold Krecicki

I've lost some of mails about siimage on LKML, but Im' getting more and more confused about 'hangs' probably caused by siimage driver. I was using 15 rqsize, now 128 - doesn't matter. It happens in random moments - sometimes at boot time when drive is fscked, sometimes when I'm trying to copy large amount of data and sometimes without any particular reason after several hours.

Out of interest, do you have some sort of SCSI controller in your system as well? I've got a SiI3112 card and I get a hard lock-up pretty much as soon as anything touches the SCSI bus on my aic7xxx card. Disabling DMA on the SiI IDE channel seems to work around it, at the cost of a lot of performance... (this is on stock 2.4.22, BTW)

Setting rqsize to 128 seems perfectly stable for me - my drive reports itself as a ST380013AS (Seagate Barracuda 7200.7 SATA 80GB).

Signature · 3 lines
Adam Jones ([email protected])(http://www.yggdrasl.demon.co.uk/)
.oO("Ja voll, Herr General."                                           )
PGP public key: http://www.yggdrasl.demon.co.uk/pubkey.asc
#4 lore raw
Quoted 8 lines · Adam Jones
Quoted 6 lines · Witold Krecicki

I've lost some of mails about siimage on LKML, but Im' getting more and more confused about 'hangs' probably caused by siimage driver. I was using 15 rqsize, now 128 - doesn't matter. It happens in random moments - sometimes at boot time when drive is fscked, sometimes when I'm trying to copy large amount of data and sometimes without any particular reason after several hours.

Quoted 5 lines

Out of interest, do you have some sort of SCSI controller in your system as well? I've got a SiI3112 card and I get a hard lock-up pretty much as soon as anything touches the SCSI bus on my aic7xxx card. Disabling DMA on the SiI IDE channel seems to work around it, at the cost of a lot of performance... (this is on stock 2.4.22, BTW)

No, only on-board nForce2 IDE controller. Disabling ACPI helped. - now it's stable

Quoted 2 lines

Setting rqsize to 128 seems perfectly stable for me - my drive reports itself as a ST380013AS (Seagate Barracuda 7200.7 SATA 80GB).

I use 128 too, and I've got 2xST3120026AS (Barracuda 7200.7 120GB) in software RAID0

Signature · 3 lines
Witold Kręcicki (adasi) adasi [at] culm.net
GPG key: 7AE20871
http://www.culm.net