Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* SCSI controllers performance
@ 2000-08-22 19:46 Xiaozhou Qiu
  2000-08-22 20:42 ` W Bauske
  0 siblings, 1 reply; 5+ messages in thread
From: Xiaozhou Qiu @ 2000-08-22 19:46 UTC (permalink / raw)
  To: axp-list

   I just tested the throughput of three Ultra 2 Wide SCSI controllers on
a DS20. I tried to read from 5 hard drives at the same time.The results
are kind of strange.
   For the preinstalled DEC sym53c875 based controller, the throughtput
is about 43MBps. However, for Tekram DC390 U2W, it is about 23 MBps, and
for Adaptec 2940 U2W, it is even less than 20MBps. CPU utilizations are
all normal. Default configurations for the drivers were used when I
compiled the kernel 2.2.14.
   I guess there might be something wrong with the configurations, but I
do not know how I can change them to improve the performance.
   Can someone help? Thanks.   

   
sincerely yours
Xiaozhou Qiu

http://www.iol.unh.edu/linux/alpha
Linux Consortium
Interoperability Lab
University of New Hampshire
Durham,  NH 03824

(603)862-1908
                  






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

* Re: SCSI controllers performance
  2000-08-22 20:42 ` W Bauske
@ 2000-08-22 20:36   ` Xiaozhou Qiu
  2000-08-22 21:36     ` Maurice Hilarius
  2000-08-22 21:36     ` W Bauske
  0 siblings, 2 replies; 5+ messages in thread
From: Xiaozhou Qiu @ 2000-08-22 20:36 UTC (permalink / raw)
  To: axp-list

On Tue, 22 Aug 2000, W Bauske wrote:

> Xiaozhou Qiu wrote:
> > 
> >    I just tested the throughput of three Ultra 2 Wide SCSI controllers on
> > a DS20. I tried to read from 5 hard drives at the same time.The results
> > are kind of strange.
> >    For the preinstalled DEC sym53c875 based controller, the throughtput
> > is about 43MBps.
> 
> Are you sure about that? I don't think 875 based cards can go
> faster than 40MB/sec. They're UW, not U2W.

It is probably not so accurate. I did not use raw device for testing. I
will try to get more accurate data later. I am just curious why there is
such a  great performance difference.

> 
> > However, for Tekram DC390 U2W, it is about 23 MBps, and
> > for Adaptec 2940 U2W, it is even less than 20MBps. CPU utilizations are
> > all normal. Default configurations for the drivers were used when I
> > compiled the kernel 2.2.14.
> 
> How large of blocks were you reading/writing?
1kB large.

> Also, did you setup the tunables on each driver?
> 
No.
That's what I want to know. Where can I get information about that?
Thanx.

 




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

* Re: SCSI controllers performance
  2000-08-22 19:46 SCSI controllers performance Xiaozhou Qiu
@ 2000-08-22 20:42 ` W Bauske
  2000-08-22 20:36   ` Xiaozhou Qiu
  0 siblings, 1 reply; 5+ messages in thread
From: W Bauske @ 2000-08-22 20:42 UTC (permalink / raw)
  To: axp-list

Xiaozhou Qiu wrote:
> 
>    I just tested the throughput of three Ultra 2 Wide SCSI controllers on
> a DS20. I tried to read from 5 hard drives at the same time.The results
> are kind of strange.
>    For the preinstalled DEC sym53c875 based controller, the throughtput
> is about 43MBps.

Are you sure about that? I don't think 875 based cards can go
faster than 40MB/sec. They're UW, not U2W.

> However, for Tekram DC390 U2W, it is about 23 MBps, and
> for Adaptec 2940 U2W, it is even less than 20MBps. CPU utilizations are
> all normal. Default configurations for the drivers were used when I
> compiled the kernel 2.2.14.

How large of blocks were you reading/writing?
Also, did you setup the tunables on each driver?


Wes




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

* Re: SCSI controllers performance
  2000-08-22 20:36   ` Xiaozhou Qiu
@ 2000-08-22 21:36     ` Maurice Hilarius
  2000-08-22 21:36     ` W Bauske
  1 sibling, 0 replies; 5+ messages in thread
From: Maurice Hilarius @ 2000-08-22 21:36 UTC (permalink / raw)
  To: axp-list

With regards to your message at 04:36 PM 8/22/00 -0400, Xiaozhou Qiu. Where 
you stated:

>On Tue, 22 Aug 2000, W Bauske wrote:
>
> > Xiaozhou Qiu wrote:
> > >
> > >    I just tested the throughput of three Ultra 2 Wide SCSI controllers on
> > > a DS20. I tried to read from 5 hard drives at the same time.The results
> > > are kind of strange.
> > >    For the preinstalled DEC sym53c875 based controller, the throughtput
> > > is about 43MBps.
> >
<<<snip>>>

> > How large of blocks were you reading/writing?
>1kB large.
That's not very useful on a small run, as the cache on the HDD will eat up 
a lot of blocks before it commits to disk media.
Try big block sizes.

> > Also, did you setup the tunables on each driver?
> >
>No.
>That's what I want to know. Where can I get information about that?
ftp://ftp.tux.org/pub/roudier/
ftp://ftp.tux.org/pub/roudier/drivers/README-linux-sym53c8xx
ftp://ftp.tux.org/pub/roudier/drivers/linux/stable/

 From the last URL grab the file :
ftp://ftp.tux.org/pub/roudier/drivers/linux/stable/sym-1.7.1-ncr-3.4.1.tar.gz

And in it there is a README that says ( among other things):

8.  Control commands
       8.1  Set minimum synchronous period
       8.2  Set wide size
       8.3  Set maximum number of concurrent tagged commands
       8.4  Set order type for tagged command
       8.5  Set debug mode
       8.6  Clear profile counters
       8.7  Set flag (no_disc)
       8.8  Set verbose level
       8.9  Reset all logical units of a target
       8.10 Abort all tasks of all logical units of a target

and:

10. Boot setup commands
       10.1 Syntax
       10.2 Available arguments
              10.2.1  Master parity checking
              10.2.2  Scsi parity checking
              10.2.3  Scsi disconnections
              10.2.4  Special features
              10.2.5  Ultra SCSI support
              10.2.6  Default number of tagged commands
              10.2.7  Default synchronous period factor
              10.2.8  Negotiate synchronous with all devices
              10.2.9  Verbosity level
              10.2.10 Debug mode
              10.2.11 Burst max
              10.2.12 LED support
              10.2.13 Max wide
              10.2.14 Differential mode
              10.2.15 IRQ mode
              10.2.16 Reverse probe
              10.2.17 Fix up PCI configuration space
              10.2.18 Serial NVRAM
              10.2.19 Check SCSI BUS
              10.2.20 Exclude a host from being attached
              10.2.21 Suggest a default SCSI id for hosts
              10.2.22 Enable use of IMMEDIATE ARBITRATION
       10.3 Advised boot setup commands
       10.4 PCI configuration fix-up boot option
       10.5 Serial NVRAM support boot option
       10.6 SCSI BUS checking boot option
       10.7 IMMEDIATE ARBITRATION boot option

Among those chapters you will probably find all ( and maybe more) than you 
wanted to know.
One particular areas of interest begin with:
17. Serial NVRAM support (by Richard Waltham)
       17.1 Features
       17.2 Symbios NVRAM layout
       17.3 Tekram  NVRAM layout

Which may explain the differences in controller setup you are finding out 
about in your testing..

Some sections can be very informative, such as:

The parameters the driver is able to get from the NVRAM depend on the
data format used, as follow:
                                  Tekram format      Symbios format
General and host parameters
     Boot order                         N                   Y
     Host SCSI ID                       Y                   Y
     SCSI parity checking               Y                   Y
     Verbose boot messages              N                   Y
SCSI devices parameters
     Synchronous transfer speed         Y                   Y
     Wide 16 / Narrow                   Y                   Y
     Tagged Command Queuing enabled     Y                   Y
     Disconnections enabled             Y                   Y
     Scan at boot time                  N                   Y

Happy fiddling!



With our best regards,

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





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

* Re: SCSI controllers performance
  2000-08-22 20:36   ` Xiaozhou Qiu
  2000-08-22 21:36     ` Maurice Hilarius
@ 2000-08-22 21:36     ` W Bauske
  1 sibling, 0 replies; 5+ messages in thread
From: W Bauske @ 2000-08-22 21:36 UTC (permalink / raw)
  To: axp-list

Xiaozhou Qiu wrote:
> 
> On Tue, 22 Aug 2000, W Bauske wrote:
> 
> > Xiaozhou Qiu wrote:
> > >
> > >    I just tested the throughput of three Ultra 2 Wide SCSI controllers on
> > > a DS20. I tried to read from 5 hard drives at the same time.The results
> > > are kind of strange.
> > >    For the preinstalled DEC sym53c875 based controller, the throughtput
> > > is about 43MBps.
> >
> > Are you sure about that? I don't think 875 based cards can go
> > faster than 40MB/sec. They're UW, not U2W.
> 
> It is probably not so accurate. I did not use raw device for testing. I
> will try to get more accurate data later. I am just curious why there is
> such a  great performance difference.
> 
> >
> > > However, for Tekram DC390 U2W, it is about 23 MBps, and
> > > for Adaptec 2940 U2W, it is even less than 20MBps. CPU utilizations are
> > > all normal. Default configurations for the drivers were used when I
> > > compiled the kernel 2.2.14.
> >
> > How large of blocks were you reading/writing?
> 1kB large.
> 

That's a tad small. Is this block size typical of your 
workload you plan on running? Try to be close when you 
run tests. I'd say try more like 32k-64k blocks and see 
how that behaves.

> > Also, did you setup the tunables on each driver?
> >
> No.
> That's what I want to know. Where can I get information about that?
> Thanx.

Well, I just read what it says when running the kernel config.
Things like command tag queuing, and the various options are
somewhat described via the help part of the config process. There
are also readme files that explain the NCR/SYMBIOS drivers and I
suppose the Adaptec has something similar but I haven't looked for
one.


Wes




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

end of thread, other threads:[~2000-08-22 21:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-22 19:46 SCSI controllers performance Xiaozhou Qiu
2000-08-22 20:42 ` W Bauske
2000-08-22 20:36   ` Xiaozhou Qiu
2000-08-22 21:36     ` Maurice Hilarius
2000-08-22 21:36     ` W Bauske

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