From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 26889 invoked from network); 28 Oct 1998 16:08:46 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 28 Oct 1998 16:08:46 -0000 Received: from email.nist.gov (email.nist.gov [129.6.2.7]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA30498 for ; Wed, 28 Oct 1998 10:57:47 -0500 Received: from nist.gov (smithers.nist.gov [129.6.153.44]) by email.nist.gov (8.9.1/8.9.1) with ESMTP id KAA19604; Wed, 28 Oct 1998 10:55:36 -0500 (EST) Sender: powell@email.nist.gov Message-ID: <36373EAA.B80FDAD1@nist.gov> Date: Wed, 28 Oct 1998 10:56:27 -0500 From: "Adam C. Powell, IV" Organization: National Institute of Standards and Technology X-Mailer: Mozilla 4.05C-SGI [en] (X11; U; IRIX64 6.5 IP21) MIME-Version: 1.0 To: Armin Ollig CC: Cool Cats Subject: Re: advice about alpha hw References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 | \||_> |