Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* RE: scsi HD performance?
@ 2000-11-30 20:38 Paul Bunn
  2000-11-30 21:50 ` Michal Jaegermann
  0 siblings, 1 reply; 30+ messages in thread
From: Paul Bunn @ 2000-11-30 20:38 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

That's perfectly normal -- the bus speed may be 20 or 40 MB/sec, but the rate at
which a HD can transfer data to the host is dependant on bit-density, rotational
speed, etc.  16MB/sec is good for a 9GB SCSI drive.  For more modern IDE drives,
you'll be able to realize 30-40 MB/sec sustained transfer rates.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com
 

-----Original Message-----
From: Zufar Mulyukov [mailto:zufar@ucsd.edu]
Sent: Thursday, November 30, 2000 12:32 PM
To: axp-list@redhat.com
Subject: scsi HD performance?


Dear all,
   I have RH 6.2 AXP on XP1000 machine. I tested hard disk performance
with hdparm. The result (checked several times) looks strange to me

# /sbin/hdparm -gt /dev/sda5

/dev/sda5:
 geometry     = 1106/255/63, sectors = 9703260, start = 8064630
 Timing buffered disk reads:  64 MB in  3.93 seconds = 16.29 MB/sec

I do have UW SCSI hard drive and a controller (below), and would expect
preformance closer to 40 MB/sec or at least something over 20MB/sec to
be sure it works not just in fast SCSI mode.

I am new to Linux, so maybe I'm just missing something here. Could you
point out what is wrong here, or is it normal?
Thanks!
--Zufar




^ permalink raw reply	[flat|nested] 30+ messages in thread
* RE: scsi HD performance?
@ 2000-12-04 17:54 Paul Bunn
  0 siblings, 0 replies; 30+ messages in thread
From: Paul Bunn @ 2000-12-04 17:54 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

Actually, this is how SCSI differentiates itself from IDE.  SCSI devices existing
on the same bus can be performing I/Os concurrently, although only one device can
be "on bus" at any one time.  This allows dramatically improved performance with
SCSI when you have more than one active device.  With IDE, only one device on a
channel can be in the process of performing an I/O.

RE:CPU
If an IDE device is using PIO (instead of DMA) it will use _enormous_ amounts of
CPU.  Unfortunately, Alpha systems were slow in the uptake of DMA-enabled
chipsets, but if your system supports DMA (and it is enabled correctly) then
you'll discover that IDE uses the same low CPU utilization (or even less) than a
SCSI system.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com
 

-----Original Message-----
From: W Bauske [mailto:wsb@paralleldata.com]
Sent: Friday, December 01, 2000 11:35 AM
To: axp-list@redhat.com
Subject: Re: scsi HD performance?


Michal Jaegermann wrote:
> How about a random pattern of reads and writes from
> /dev/hda to /dev/hdb and back?  Yes, deliberately on the same channel
> and carefully enough to nullify effects of caches?
> 

A 2MB cache on a drive will not effect significantly,
either the hdparm result or my real file tests. I/O
to the same channel has more effect than just cache.
Same thing occurs when you hit a SCSI bus with more than
one active device. IDE is no different.




^ permalink raw reply	[flat|nested] 30+ messages in thread
* RE: scsi HD performance?
@ 2000-12-01 19:00 Paul Bunn
  0 siblings, 0 replies; 30+ messages in thread
From: Paul Bunn @ 2000-12-01 19:00 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

The reason that writes are slower than reads on HDs is that the drive has to
generate ECC information, but more importantly, the drive re-reads the data back
in to check that it was written successfully (RAW - ReadAfterWrite).  As you can
see, much optimization is done in the drive itself so that write performance isn't
half of read performance.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com
 


-----Original Message-----
From: Maurice Hilarius [mailto:maurice@harddata.com]
Sent: Thursday, November 30, 2000 10:16 PM
To: axp-list@redhat.com
Subject: Re: scsi HD performance?
<<<<<
As you can see they can pull 30MB/sec in reads, but only 20MB/sec in writes.
Again buffering is the biggest difference between the two rates.
Think of it this way:
How can the rates be different?
Same platter, same rotation speed, same density, same heads, same bus, same 
everything. It's not like the drive is  slowing down it's spin rate for writes!
http://www.gamersdepot.com/hardware/storage/maxtor/dmaxplus_60/004.htm

Especially interesting to see as the write proceeds to fill the disks, the 
rate drops from about 23MB/sec to under 20MB/sec.
This is because it is going from the longer outer tracks to the shorter 
inner ones.
Same spin rate means less media is passing the heads.

As for price these are $299 USD SRP drives. 60GB, 7200rpm, 2MB cache.
That's $4.98/GB
>>>>>




^ permalink raw reply	[flat|nested] 30+ messages in thread
* Re: scsi HD performance?
@ 2000-12-01 16:51 William H. Magill
  0 siblings, 0 replies; 30+ messages in thread
From: William H. Magill @ 2000-12-01 16:51 UTC (permalink / raw)
  To: axp-list

   Rob Byrnes wrote:
   > 
   > At 02:10 1/12/2000 -0600, W Bauske wrote:
   > >Averages are about 36MB/sec vs 30MB/sec. You only buy
   > >Cheetahs if your number one problem is random small accesses.
   > >Wes
   > 
   > Mostly for my own information, aren't most desktop systems/workstations
   > using random small accesses?  Shame these drives are so darn expensive
   >:)  would _really_ make Linux fly!
   > Rob

With the exception of Humungous Database Servers, virtually all computers 
deal in small, random disk accesses -- things like web servers or news
servers, mail servers, general purpose time-sharing machines, DNS servers,
and anything that EVER uses swap (aka Virtual Memory). The emphasis is on
random, unless the box is dedicated to only ONE application. And even
"gifs" are small. Streaming  video and I assume audio, are (I guess) based
on humungous block sizes.... but then again maybe not, if the "stream" is
optimized for a 33.6K modem. [Video/graphics editing are about the only
applications I can think of where there are huge files, which are not
databases.] [And Humungous Database Servers cram everything into memory for
performance reasons anyway. Ever see an Oracle server "boot up" and take 30
or 60 minutes just to load the data into many gigs worth of main memory?
All they ever do is write to disk; they "never" read from disk once the
server is loaded. ANY disk I/O is simply too slow.]

But small is relative to track size.

The real I/O size that matters is the size being written to or read from
the disk. 

I'm going into dusty corners of the brain now so I may not have the details
right... Back in the old days of Ultrix 4.4 (circa 1992?), they (Eric
Schott, I think) discovered that deep down in the bowels of the I/O driver,
the size of reads and writes was something like 512K, so to write a single
8K page of memory to disk took 16 I/Os! That small size made sense back
when track sizes were only 2 or 3 times block sizes. But when track sizes
grew to 100+ times block sizes, the number of actual I/Os necessary to read
or write a single track became a BIG issue. The end result was that drivers
were modified and reads and writes chained together to more closely
approximate the capabilities of the hardware.  

Cutting down on the number of I/Os dramatically reduces code path length at
the driver level, and hence increases performance. Not to mention the idea
that as one should be able to read or write an entire track at one pass
means that one can read/write 100 blocks at a time with one I/O. [And this
has nothing to do with on-disk caching, this is all OS level stuff.]

One assumes that Linux is not simply copying the old BSD implementation
(which is what Ultrix was based on), but did build from current (now 10
year old) technology improvements.

[The fact that EVERYBODY still talks in units of 512 bytes is one of the
most brain dead things in Unix(tm) today. ...talk about the High Priesthood 
maintaining job security!][And don't disillusion me and tell me that things
REALLY are still implemented based on 512byte records and that's why there
are constantly buffer-overrun security holes and the like.]

-- 
                        www.tru64unix.compaq.com
                              www.tru64.org
                             comp.unix.tru64
                        
T.T.F.N.
William H. Magill                          Senior Systems Administrator
Information Services and Computing (ISC)   University of Pennsylvania
Internet: magill@isc.upenn.edu             magill@acm.org
http://www.isc-net.upenn.edu/~magill/




^ permalink raw reply	[flat|nested] 30+ messages in thread
* RE: scsi HD performance?
@ 2000-12-01  1:46 Paul Bunn
  0 siblings, 0 replies; 30+ messages in thread
From: Paul Bunn @ 2000-12-01  1:46 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

Ayup.
http://www.microsoft.com/mvp
http://www.mvps.org/

We're developing Linux-based solutions, though we remain windows-centric (for the
time being).  I've been running Alpha systems with NT since 95 and with Linux
since 98.

Congrats on the bonus (the bright-side of the free-market, eh?)!

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com
 

-----Original Message-----
From: Deja User [mailto:unix_admin@my-deja.com]
Sent: Thursday, November 30, 2000 5:27 PM
To: axp-list@redhat.com
Subject: RE: scsi HD performance?


Paul,
Are you really a Microsoft MVP, or is that a typo? Just wondering. I'm and MCSE
Windows NT 4. Now that I'm a Unix Admin, that means less than nothing to me,
though the $15k bonus my employer gave me is nice. ; )
UA

>From: Paul Bunn <Paul@UltraBac.com>
>To: "'axp-list@redhat.com'" <axp-list@redhat.com>
>Subject: RE: scsi HD performance?
>Date: Thu, 30 Nov 2000 12:38:43 -0800
>Reply-To: axp-list@redhat.com
>
>That's perfectly normal -- the bus speed may be 20 or 40 MB/sec, but the rate at
>which a HD can transfer data to the host is dependant on bit-density, rotational
>speed, etc.  16MB/sec is good for a 9GB SCSI drive.  For more modern IDE drives,
>you'll be able to realize 30-40 MB/sec sustained transfer rates.
>
>Regards,
>
>Paul Bunn, UltraBac.com, 425-644-6000
>Microsoft MVP - WindowsNT/2000
>http://www.ultrabac.com




------------------------------------------------------------
--== Sent via Deja.com http://www.deja.com/ ==--
Before you buy.




_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list




^ permalink raw reply	[flat|nested] 30+ messages in thread
* RE: scsi HD performance?
@ 2000-12-01  1:27 Deja User
  0 siblings, 0 replies; 30+ messages in thread
From: Deja User @ 2000-12-01  1:27 UTC (permalink / raw)
  To: axp-list

Paul,
Are you really a Microsoft MVP, or is that a typo? Just wondering. I'm and MCSE Windows NT 4. Now that I'm a Unix Admin, that means less than nothing to me, though the $15k bonus my employer gave me is nice. ; )
UA

>From: Paul Bunn <Paul@UltraBac.com>
>To: "'axp-list@redhat.com'" <axp-list@redhat.com>
>Subject: RE: scsi HD performance?
>Date: Thu, 30 Nov 2000 12:38:43 -0800
>Reply-To: axp-list@redhat.com
>
>That's perfectly normal -- the bus speed may be 20 or 40 MB/sec, but the rate at
>which a HD can transfer data to the host is dependant on bit-density, rotational
>speed, etc.  16MB/sec is good for a 9GB SCSI drive.  For more modern IDE drives,
>you'll be able to realize 30-40 MB/sec sustained transfer rates.
>
>Regards,
>
>Paul Bunn, UltraBac.com, 425-644-6000
>Microsoft MVP - WindowsNT/2000
>http://www.ultrabac.com




------------------------------------------------------------
--== Sent via Deja.com http://www.deja.com/ ==--
Before you buy.





^ permalink raw reply	[flat|nested] 30+ messages in thread
* RE: scsi HD performance?
@ 2000-11-30 22:14 Paul Bunn
  0 siblings, 0 replies; 30+ messages in thread
From: Paul Bunn @ 2000-11-30 22:14 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

Ya, I guess my figures were a little optimistic, but I have personally benchmarked
60/80GB IDE HDs at 28-30 MB/sec.  I wonder what the new 15,000 RPM SCSI drives
deliver in terms of performance ?

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com
 

-----Original Message-----
From: Michal Jaegermann [mailto:michal@ellpspace.math.ualberta.ca]
Sent: Thursday, November 30, 2000 1:51 PM
To: axp-list@redhat.com
Subject: Re: scsi HD performance?


On Thu, Nov 30, 2000 at 12:38:43PM -0800, Paul Bunn wrote:

> 16MB/sec is good for a 9GB SCSI drive.  For more modern IDE drives,
> you'll be able to realize 30-40 MB/sec sustained transfer rates.

Eh?  Care to give specific drive model examples and actual measurements
from 'hdparm -t'?  I am not talking about theoretical limits of
manufacturer quoted peak media-to-head rates.  This is not the same
thing.  I am genuinly interested.

Numbers around 25 MB/sec I have seen myself.  With one active device
on a bus, of course.




^ permalink raw reply	[flat|nested] 30+ messages in thread
* Re: SRM run command (was: XP1000 & MILO & SCSI)
@ 2000-11-29 10:23 Iso-H
  2000-11-30 20:32 ` scsi HD performance? Zufar Mulyukov
  0 siblings, 1 reply; 30+ messages in thread
From: Iso-H @ 2000-11-29 10:23 UTC (permalink / raw)
  To: axp-list

On Tue, 28 Nov 2000, William H. Magill wrote:

> >   On Mon, 27 Nov 2000, William H. Magill wrote:
> > >
> > > -- >8 -- clip -- clap -- 8< ---
> >
> >     Those commands just don't exist in XP1000's SRM-5.8-4 ??
> >     Perhaps they are machine/architecture specific commands and not
> >     implemented (or something) in XP1000's SRM ?!?
> >
> I'm running on an XP1000/667 (EV6/7).
> 
> Is yours a 6/7? it might be only visible with the EV6/7 chips.

 It is ev67! unbelievable??!?! I have now serial console
 so I can attach SRM dumps here:

 this is what SRM prints with bare "help" command:

##################################################################
>>>help
NAME    
         help
FUNCTION
         Display information about console commands.
SYNOPSIS
         help [<command>...] 
                    Command synopsis conventions: 
                    <item> Implies a placeholder for user specified item. 
                    <item>... Implies an item or list of items. 
                    [] Implies optional keyword or item. 
                    {a,b,c} Implies any one of a, b, c. 
                    {a|b|c} Implies any combination of a, b, c. 

The following help topics are available:

alloc           boot            break           cat             check           
chmod           clear           clear password  continue        crash           
debug1          deposit         dynamic         echo            edit            
eval            examine         exer            exit            false           
find_field      free            grep            halt            hd              
help            initialize      isacfg          isp1020_edit    kill            
kill_diags      line            login           ls              man             
memexer         memtest         more            net             nettest         
ps              rm              sa              semaphore       set             
set host        set password    set secure      shell           show            
show cluster    show config     show hwrpb      show iobq       show map        
show memory     show_status     sleep           sp
srom21143_edit  
start           stop            sys_exer        true            update          
wc              
>>>
##################################################################

And this is what command "show config" prints:

##################################################################
>>>show config
                          Compaq Computer Corporation
                     COMPAQ Professional Workstation XP1000

Firmware
SRM Console:    V5.8-4          Sep  8 2000 12:29:31
ARC Console:    5.70
PALcode:        OpenVMS PALcode V1.82-27, Tru64 UNIX PALcode V1.76-22
Serial Rom:     SROM B1a
PIC:            0.36

Processor
DECchip (tm) 21264A-9   667MHz

Memory
512 MBytes of System Memory
Bank         Size     Base Addr      Dimms
------    ----------  ---------      -----
   0      512 MBytes   00000000      1111
   1        0 MBytes   00000000      0000

BCache Size = 4 MBytes

 Slot   Option          Hose 0, Bus 0, PCI
   7/0  Cypress 82C693                                  Bridge to Bus 1,
ISA
   7/1  Cypress 82C693 IDE      dqa.0.0.107.0       
   7/2  Cypress 82C693 IDE      dqb.0.1.207.0       
   7/3  Cypress 82C693 USB                          
  11    QLogic ISP10x0          pkc0.7.0.11.0           SCSI Bus ID 7
                                dkc0.0.0.11.0           COMPAQ BB00923468

 Slot   Option          Hose 1, Bus 0, PCI
   3    DECchip 21143-AA        ewa0.0.0.3.1            08-00-2B-87-34-5F
   6    QLogic ISP10x0          pka0.7.0.6.1            SCSI Bus ID 7
   8    DECchip 21152-AA                                Bridge to Bus 2,
PCI

 Slot   Option          Hose 1, Bus 2, PCI
  10    Adaptec AIC-7880        pkb0.0.0.2010.1     

ISA
Slot    Device  Name            Type         Enabled  BaseAddr  IRQ
DMA
0
        0       MOUSE           Embedded        Yes     60      12
        1       KBD             Embedded        Yes     60      1
        2       COM1            Embedded        Yes     3f8     4
        3       COM2            Embedded        Yes     2f8     3
        4       LPT1            Embedded        Yes     3bc     7
        5       FLOPPY          Embedded        Yes     3f0     6       2
        6       EIDE            Embedded        Yes     1f0     14
                                                        3f6     15
                                                        170
                                                        376
        7       ES1888          Embedded        Yes     220     5       1
                                                                        5
        8       USB             Embedded        Yes             10
>>>
##################################################################


> 
> I've read the full description of the run command somplace, but for the
> life of me, I cannot find it today. (It's not on the 5.8 CD that I can
> find.) I think, it's someplace where the removal of the ARC console for the
> EV6/7 boxes is described.
> 
> 5.8-3 (August 9 2000) is on the Firmware CD shipped with 5.1. "run" is
> definately on that version.
> 
> It's also in 5.8-10 on a DS20-E.
> 
>                         
> T.T.F.N.
> William H. Magill                          Senior Systems Administrator
> Information Services and Computing (ISC)   University of Pennsylvania
> Internet: magill@isc.upenn.edu             magill@acm.org
> http://www.isc-net.upenn.edu/~magill/
> 

Iso-H

--





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

end of thread, other threads:[~2000-12-05  7:35 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-30 20:38 scsi HD performance? Paul Bunn
2000-11-30 21:50 ` Michal Jaegermann
2000-11-30 22:22   ` W Bauske
2000-11-30 23:07     ` Michal Jaegermann
2000-12-01  0:59       ` Maurice Hilarius
2000-12-01  5:49         ` W Bauske
2000-12-01  6:15           ` Maurice Hilarius
2000-12-01  8:10             ` W Bauske
2000-12-01  8:24               ` Rob Byrnes
2000-12-01  9:11                 ` W Bauske
2000-12-01 17:50                   ` Maurice Hilarius
2000-12-01 22:44                   ` Mike Tibor
2000-12-04 20:38                     ` W Bauske
2000-12-05  6:32                       ` Rob Byrnes
2000-12-05  7:41                         ` W Bauske
2000-12-01 17:49               ` Maurice Hilarius
2000-12-04 20:33                 ` W Bauske
2000-12-01 16:45           ` Michal Jaegermann
2000-12-01 19:34             ` W Bauske
2000-12-02  0:31           ` Paul Jakma
2000-12-05  6:20             ` W Bauske
2000-12-01  5:59       ` W Bauske
2000-11-30 22:36   ` Paul Allen
  -- strict thread matches above, loose matches on Subject: below --
2000-12-04 17:54 Paul Bunn
2000-12-01 19:00 Paul Bunn
2000-12-01 16:51 William H. Magill
2000-12-01  1:46 Paul Bunn
2000-12-01  1:27 Deja User
2000-11-30 22:14 Paul Bunn
2000-11-29 10:23 SRM run command (was: XP1000 & MILO & SCSI) Iso-H
2000-11-30 20:32 ` scsi HD performance? Zufar Mulyukov

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