From: "Adam C. Powell, IV" <adam.powell@nist.gov>
To: Armin Ollig <armin@data.tops.net>
Cc: Cool Cats <axp-list@redhat.com>
Subject: Re: advice about alpha hw
Date: Wed, 28 Oct 1998 10:56:27 -0500 [thread overview]
Message-ID: <36373EAA.B80FDAD1@nist.gov> (raw)
In-Reply-To: Pine.LNX.3.96.981028121254.15724E-100000@data.tops.net
Armin Ollig wrote:
> Alessio,
>
> here're my numbers:
>
> DISK:
> (scsi0:0:0:0) Using wide (16 bit) transfers.
> (scsi0:0:0:0) Synchronous at 10.0MHz, offset 8.
> Vendor: Quantum Model: XP32150W Rev: 81HB
> Type: Direct-Access ANSI SCSI revision: 02
> Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
>
> this is a 7200 rpm Quantum Atlas, 512k cache
>
> [root@alpha /root]# time dd if=linux-2.1.126.tar.gz of=killme.qqq
> 23956+1 records in
> 23956+1 records out
> 0.07user 0.60system 0:00.67elapsed 99%CPU (0avgtext+0avgdata
> 0maxresident)k
> 0inputs+0outputs (72major+16minor)pagefaults 0swaps
This is pretty amazing- several times faster than IDE, and the bottleneck seems to be
the CPU! (Since it is at 99%) But that 99% CPU number also raises caching
suspicions...
> --------------------------------
> DISK:
> Detected scsi disk sdb at scsi0, channel 0, id 4, lun 0
> (scsi0:0:6:0) Synchronous at 5.0MHz, offset 8.
> Vendor: QUANTUM Model: FIREBALL_TM2110S Rev: 300X
> Type: Direct-Access ANSI SCSI revision: 02
> Detected scsi disk sdc at scsi0, channel 0, id 6, lun 0
>
> this is a 'normal' scsi-II disk
>
> [root@alpha armin]# time dd if=linux-2.1.126.tar.gz of=killme.qqq
> 23956+1 records in
> 23956+1 records out
> 0.06user 0.87system 0:02.29elapsed 40%CPU (0avgtext+0avgdata
> 0maxresident)k
Interesting too that this is just about 20-30% faster wall clock, and uses well over
twice the CPU time, of IDE with DMA.
> if i repeat this several times i get:
> [root@alpha armin]# time dd if=linux-2.1.126.tar.gz of=killme.qqq
> 23956+1 records in
> 23956+1 records out
> 0.06user 0.58system 0:00.64elapsed 99%CPU (0avgtext+0avgdata
> 0maxresident)k
> 0inputs+0outputs (72major+16minor)pagefaults 0swaps
>
> so i think we have a cache problem with these numbers...
Yeah, Linux does a LOT of disk caching, which is part of why it is so fast! (E.g.
part of why LinuxPPC blows away MacOS in these types of benchmarks.)
> On Tue, 27 Oct 1998, Adam C. Powell, IV wrote:
>
> > Armin Ollig wrote:
> >
> > > Hi Alessio,
> > >
> > > On Mon, 26 Oct 1998, Adam C. Powell, IV wrote:
> > >
> > > > Alessio Sangalli wrote:
> > > >
> > > > > At 17.01 26/10/98 +0100, Armin Ollig wrote:
> > > > >
> > > > > > HDD: IDE stuff
> > > > > I've heard on newsgroup that IDE is VERY slow. It's true? I know scsi is a
> > > > > very good choice, it's fast, it has multitasking capabilities... but, for
> > > > > my work, I need very little hdd usage...
> > > >
> > > > It's pretty slow in general, but for a LX164 motherboard (not the cheaper
> > > > SX164) and a recent kernel (2.1.115 or later), it can be quite fast. I get
> > > > better than three times the speedup with less than 1/4 the CPU load -> about
> > > > 1/15 the CPU time for big disk transfers vs. earlier kernels.
> > >
> > > I know that it's slow but the guy was asking for a *cheap* solution. IDE
> > > is cheap. I think that is the reason why it exists, noone likes IDE but
> > > many people use it cause its cheap.
> >
> > You're absolutely right. But I think you missed my point.
> >
> > I was just saying that for LX164, it's a whole heck of a lot lot faster than it
> > used to be! Four to fifteen times faster (depending on what you're doing) is a
> > great leap forward in performance.
> >
> > Do you have IDE or SCSI? What kinds of transfer rates do you get? Here's a
> > quick and dirty test with a 9909415 byte file.
> >
> > With 2.0.34:
> >
> > time dd if=logs/linux-2.1.125.tar.bz2 of=killme.qqq
> > 19354+1 records in
> > 19354+1 records out
> > 0.051u 6.586s 0:10.21 64.9% 0+0k 0+0io 1281pf+0w
> >
> > About 950K/sec wall clock, 1460K/sec CPU time. And now, for kernel 2.1.125:
> >
> > time dd if=logs/linux-2.1.125.tar.bz2 of=killme.qqq
> > 19354+1 records in
> > 19354+1 records out
> > 0.046u 0.313s 0:02.59 13.5% 0+0k 0+0io 1281pf+0w
> >
> > About 3740K/sec wall clock, 26960K/sec CPU time!! I'd be curious to know how
> > this compares to SCSI, or fast UW-SCSI, though I imagine it would be
> > drive-dependent...
I guess the "moral of the story" is that with DMA, IDE can be as fast as (or faster
than- depending on the application) `normal' SCSI-II, but fast wide SCSI can be
significantly faster and worth the extra expense for some users.
Thanks for these "data points"!
-Adam `Cold Fusion' Powell, IV _/\_ http://www.ctcms.nist.gov/~powell/
Call with Netscape Conference! \/ http://dls.netscape.com/ ____
USDoC, National Institute of Standards & Technology (NIST) |\ ||< |
Center for Theoretical and Computational Materials Science | \||_> |
next parent reply other threads:[~1998-10-28 16:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.3.96.981028121254.15724E-100000@data.tops.net>
1998-10-28 15:56 ` Adam C. Powell, IV [this message]
1998-10-26 15:47 advice about alpha hw Alessio Sangalli
1998-10-26 16:01 ` Armin Ollig
1998-10-26 16:22 ` Alessio Sangalli
1998-10-26 20:57 ` Adam C. Powell, IV
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