Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "William H. Magill" <magill@isc.upenn.edu>
To: axp-list@redhat.com
Subject: Re: scsi HD performance?
Date: Fri, 1 Dec 2000 11:51:59 -0500 (EST)	[thread overview]
Message-ID: <200012011651.eB1Gpxf09655@falstaff.isc-net.upenn.edu> (raw)

   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/




             reply	other threads:[~2000-12-01 16:52 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-01 16:51 William H. Magill [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-12-04 17:54 scsi HD performance? Paul Bunn
2000-12-01 19:00 Paul Bunn
2000-12-01  1:46 Paul Bunn
2000-12-01  1:27 Deja User
2000-11-30 22:14 Paul Bunn
2000-11-30 20:38 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
2000-11-29 10:23 SRM run command (was: XP1000 & MILO & SCSI) Iso-H
2000-11-30 20:32 ` scsi HD performance? Zufar Mulyukov
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