From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 8108 invoked from network); 17 Mar 1999 16:43:23 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 17 Mar 1999 16:43:23 -0000 Received: from draal.physics.wisc.edu (mcelrath@draal.physics.wisc.edu [128.104.223.134]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA27773 for ; Wed, 17 Mar 1999 11:33:18 -0500 Received: from localhost (mcelrath@localhost) by draal.physics.wisc.edu (8.8.7/8.8.7) with ESMTP id KAA26506 for ; Wed, 17 Mar 1999 10:33:12 -0600 Date: Wed, 17 Mar 1999 10:33:12 -0600 (CST) From: Bob McElrath To: axp-list@redhat.com Subject: Re: SCSI BUS running out of stream? (HD performance) In-Reply-To: <19990316045403.A1064@top.worldcontrol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 16 Mar 1999 brian@worldcontrol.com wrote: > I've been reading the posts regarding HD performace (hdparm -t/-T) > and I have had a nagging question on the back burning, which is > why isn't my SCSI BUS' performance up to snuff? > > I wrote some performance analysis software to examine SCSI > performance, to manipulate the SCSI HD cache and to program > some of the mode page info (local HD characteristic info). > I'm using the scsi-generic interface rather than the > sd device. > > With the the SCSI drives I'm testing with an Adaptec Ultra-Wide > (not 2) controller I get the following > > sequential reads: > > no cache read ahead : 2.9MBs > cache read ahead : 12.5MBs (same as comes out of hdparm) > > I also did a test just reading from the drives preloaded cache: > > preloaded cache only: 22.0MBs > > So what happened to the 40MBs synchronous transfers of my > ultra wide SCSI BUS? The BUS can transfer at 40MB/s, but that doesn't mean the drive can read that fast. The drives probably aren't designed to use all 40MB/s under any circumstances, since the engineers know the heads can't read that fast anyway. > And what would happen if I put in an U2W controller? It'd still transfer at 12.5 MB/s. But you could put 7 of them on the same SCSI bus and read them all at the same time. ;) (This is what RAID is for...) > The drives are identified as sync 40MBs. > > I have to admit that SCSI generic (without futzing with the kernel) > only allows 32KB reads (kindof). However, experimintation with the > block size did not affect performance adversly enough to account > for 18 MBs of lost transfer efficiency. > > The drives are actually U2W so I can't imagine they are running out > of steam on cache only transfers at 22MBs, but will recheck their > specs just in case. -- Bob Bob McElrath (rsmcelrath@students.wisc.edu) Univ. of Wisconsin at Madison