From: "T. Daniel Crawford" <crawdad@vt.edu>
To: <axp-list@redhat.com>
Subject: RE: Interesting SCSI Performance Problems
Date: Sat, 17 Mar 2001 01:17:22 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.30.0103170059230.24400-100000@orion.chem.vt.edu> (raw)
In-Reply-To: <4A3D99071F51D411934C0008C7C9DEDD1579D2@pdxexch.paccessglobal.net>
On Fri, 16 Mar 2001 KirkE@paccessglobal.com wrote:
> >On each of my workstations I have three 18 GB Ultra 160 SCSI disks, but,
> >unfortunately the on-board host adapter is a Qlogic ISP1020 Ultra Wide SCSI
> >that is capable of only 40 MB/s transfer rates.
>
> Its actually a QLA 1040B, the 1020 is a Fast-20 HBA (Fast SCSI II wide).
> The last number in Qlogic part number denotes the rate of the ASIC. The QLA
> 1080 is Ultra 2 (Fast 40) and the QLA 10160 is Ultra 160 (Fast 80). The QLA
> 1040B is an SRM compatible boot device, but shouldn't be used for data
> volumes.
This is good to know, because I was not aware of this naming convention among
the Qlogic adapters. However, it's bothersome that the card is identified
by the Qlogic SCSI driver in the kernel as ISP 1020A. Either way, of
course, the card should still provide a 40 MB/s maximum transfer rate.
> I would advise the following:
>
> 1) First SCSI controller (1040B) single boot disk (9GB Ultra disks can be
> had for $80.00 on Pricewatch.com)
> 2) Second SCSI controller (10160 or 12160, 12160 being dual channel) with
> 2-4 disks (may be software stripped, if desired).
I agree. This is essentially the configuration I have, but with a Symbios
Ultra2 for the scratch disks.
> I noticed that you had some negotiation
> problems with your disks, possibly due to spin up/spin down during
> negotiation. Unless you have a good reason to maintain the disk spinup at
> boot, disable the feature.
Indeed, the negotation problem due to spin-up was the entire point of my
original message. The reason for my post was in part to ascertain why this
happens, particularly since I was using the SCSI drivers + host adapter +
disks in their default configurations. I suspect that there may be many
alpha Linux users who are obtaining poor SCSI transfer rates from thei disks
w/o realizing it, or perhaps realize it, but have no idea what the source
of the problem is. As the very trustworthy Compaq engineer who recommended
I post this problem to the axp-list said, "This is very broken behavior."
> As for your synthetic load generator program to determine max throughput, be
> aware that unless your application writes or reads in sequential fashion,
> you will not achieve anywhere NEAR those figures (34-74MBps is based on
> synchronous rates at the highest negotiated frequency and with highly
> cacheable sequentially read/written data).
I agree that max throughput is not reasonable for real expectations.
The point of my tests, however, was to find out why the disks were performing
at worse than 25% of the max. Getting a *peak* performance 9 MB/s from
a host adapter with a max of 40 MB/s (and disks at 160 MB/s) is obviously
unacceptable. The Compaq engineer agreed.
> >I wrote a little test program to simply write a 2.4 GB file to disk,
> including the appropriate fdatasync() to isolate
> >hardware problems from buffering. My timing with the ISP1020 controller: a
> whopping 9 MB/s sustained transfer rate.
>
> As I mentioned, this is a 1040B, NOT a 1020 (two controllers that are VERY
> different and more than 3 years of ASIC development between them). This
> sounds about right for an average sustained throughput for that controller,
> at least for reads that cannot be effectively buffered with a single disk.
The pathetic 9 MB/s was not an average rate, but a sustained value.
I repeat that I *doubled* the measured rate just by rebooting the machine.
I then bumped it up to 34 MB/s by a trivial tweaking of the qlogicisp.c
driver in the kernel.
> >I then looked through the qlogicisp.c driver code in the 2.4.2 kernel and
> played
> >with default settings. I found that if I recompiled the code to grab its
> >defaults from the card's NVRAM, then I could get a 34 MB/s transfer rate
> >out of the Qlogic card, but if I used the compiled-in defaults, I could
> >get 17 MB/s at best.
>
> Not too surprising, many of the SCSI controller drivers I've seen do NOT
> reference the NVRAM variables which will not use more of the advanced
> features and a higher frequency bus during or after negotiation. These
> drivers are compiled for safety, not speed.
I find this bothersome, to be frank. I can understand the need for safety
in the driver, but the performance I observed was pitiful. Since many of
us purchase alpha's for fast, fast, fast calculations, this kind of problem
strikes me as a serious problem.
-Daniel
--
T. Daniel Crawford Department of Chemistry
crawdad@vt.edu Virginia Tech
www.chem.vt.edu/chem-dept/crawford Voice: 540-231-7760 FAX: 540-231-3255
next prev parent reply other threads:[~2001-03-17 6:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-16 22:36 Interesting SCSI Performance Problems KirkE
2001-03-16 22:57 ` Interesting SCSI Performance Problems - discussions where ? Andrei A. Dergatchev
2001-03-17 6:17 ` T. Daniel Crawford [this message]
2001-03-17 13:46 ` Interesting SCSI Performance Problems Alan P. Kennedy, Sr
2001-03-17 14:25 ` T. Daniel Crawford
2001-03-18 2:21 ` /usr/sbin/mke2fs: error in loading shared libraries J. Hart
2001-03-18 5:10 ` Alexey Chupakhin
2001-03-18 11:09 ` J. Hart
2001-03-18 17:12 ` Michal Jaegermann
2001-03-17 15:24 ` Interesting SCSI Performance Problems Jay Estabrook
2001-03-17 15:55 ` T. Daniel Crawford
-- strict thread matches above, loose matches on Subject: below --
2001-03-18 18:36 KirkE
2001-03-16 21:42 T. Daniel Crawford
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox