Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* SCSI BUS running out of stream? (HD performance)
@ 1999-03-16 12:54 brian
  1999-03-16 21:50 ` Greg Lindahl
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: brian @ 1999-03-16 12:54 UTC (permalink / raw)
  To: axp-list

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?

And what would happen if I put in an U2W controller?

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.

-- 
Brian Litzinger <brian@litzinger.com>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: SCSI BUS running out of stream? (HD performance)
  1999-03-16 12:54 brian
@ 1999-03-16 21:50 ` Greg Lindahl
  1999-03-17 16:33 ` Bob McElrath
       [not found] ` <Pine.LNX.4.04.9903171030550.15590-100000@draal.physics.wis c.edu>
  2 siblings, 0 replies; 5+ messages in thread
From: Greg Lindahl @ 1999-03-16 21:50 UTC (permalink / raw)
  To: axp-list

> preloaded cache only: 22.0MBs
> 
> So what happened to the 40MBs synchronous transfers of my 
> ultra wide SCSI BUS?

What makes you think any bus can hit peak? Intel IDE controllers and
disks in the same circumstances can only hit 2/3 of their 33 MB/s
peak.  The controller and the disk both have the opportunity to screw
up. The PCI bus can hit peak in Intel boxes, but Digital's Pyxis PCI
chipset can't. And so on.

-- greg



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: SCSI BUS running out of stream? (HD performance)
  1999-03-16 12:54 brian
  1999-03-16 21:50 ` Greg Lindahl
@ 1999-03-17 16:33 ` Bob McElrath
       [not found] ` <Pine.LNX.4.04.9903171030550.15590-100000@draal.physics.wis c.edu>
  2 siblings, 0 replies; 5+ messages in thread
From: Bob McElrath @ 1999-03-17 16:33 UTC (permalink / raw)
  To: axp-list

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: SCSI BUS running out of stream? (HD performance)
       [not found] ` <Pine.LNX.4.04.9903171030550.15590-100000@draal.physics.wis c.edu>
@ 1999-03-19 14:39   ` Maurice Hilarius
  0 siblings, 0 replies; 5+ messages in thread
From: Maurice Hilarius @ 1999-03-19 14:39 UTC (permalink / raw)
  To: axp-list

With regards to your message at 10:33 AM 03-17-99 -0600, Bob McElrath.
Where you stated:
>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

Best rated performance for continuous transfer of any HD I haveseen spec'ed
yet is the new IBM XP Ultrastar which does 26.4 MB/sec sustained. It is
10500rpm, 5.5ms access, and has a 4MB cache.

The higher data rates are there on the bus to support multiple drives.


Best regards,

  Maurice W. Hilarius             NEW!  Telephone: 01-780-456-9771
  Hard Data Ltd.                  NEW!  FAX:       01-780-456-9772
  11060 - 166 Avenue                    email:maurice@harddata.com
  Edmonton, AB, Canada  - T5X 1Y3       http://www.harddata.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: SCSI BUS running out of stream? (HD performance)
@ 1999-03-19 21:07 Kelvin Lunsford
  0 siblings, 0 replies; 5+ messages in thread
From: Kelvin Lunsford @ 1999-03-19 21:07 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

On Tuesday, March 16, 1999 4:54 AM, brian@worldcontrol.com [SMTP:brian@worldcontrol.com] wrote:
> I've been reading the posts regarding HD performance (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?
> 
> And what would happen if I put in an U2W controller?
> 
> 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.
> 
> -- 
> Brian Litzinger <brian@litzinger.com>
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

So you are getting a 54% utilization of the SCSI bus.  Not bad.  You may
be able to do even better.  Try running the test from multiple processes
simultaneously.  It would allow overlapping of command processing with data
transfers, and the sum of the transfer rates from each process should be
closer to the maximum bus transfer rate.

Kelvin


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-03-19 21:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-19 21:07 SCSI BUS running out of stream? (HD performance) Kelvin Lunsford
  -- strict thread matches above, loose matches on Subject: below --
1999-03-16 12:54 brian
1999-03-16 21:50 ` Greg Lindahl
1999-03-17 16:33 ` Bob McElrath
     [not found] ` <Pine.LNX.4.04.9903171030550.15590-100000@draal.physics.wis c.edu>
1999-03-19 14:39   ` Maurice Hilarius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox