From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 94FC42EFA2 for ; Fri, 1 Dec 2000 03:08:06 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eB1886g12953 for axp-list@listman.redhat.com; Fri, 1 Dec 2000 03:08:06 -0500 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eB1884D12944 for ; Fri, 1 Dec 2000 03:08:04 -0500 Received: by paralleldata.com from localhost (router,SLMail V2.5); Fri, 01 Dec 2000 02:15:53 -0600 Received: by paralleldata.com from paralleldata.com (65.3.53.39::mail daemon; unverified,SLMail V2.5); Fri, 01 Dec 2000 02:15:52 -0600 Message-ID: <3A275D01.D2E6ED4B@paralleldata.com> Date: Fri, 01 Dec 2000 02:10:41 -0600 From: "W Bauske" Organization: PDS Inc. X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: scsi HD performance? References: <3A26D33B.1DEDBE6@paralleldata.com> <60C3F0B752909B428D39EA63B4352E99041764@velma.ultrabac.com> <20001130145042.B28509@ellpspace.math.ualberta.ca> <3A26D33B.1DEDBE6@paralleldata.com> <5.0.0.25.2.20001130175416.0272d750@161.184.137.180> <5.0.0.25.2.20001130230458.022e5850@161.184.137.180> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors Maurice Hilarius wrote: > > With regards to your message at 10:49 PM 11/30/00, W Bauske. Where you stated: > > > Both the UDMA and SCSI Ultra80 and 160 buses are certainly capable of > > > 40MB/sec transfer rates. > > > As for drives: > > > A drive can do a sustained throughput limited by the interface between > > > heads and media. > > > At 5400rpm this is around 15MB/sec. At 7200 this is about 21MB/sec, and at > > > 10Krpm around 28MB/sec. Finally, at 15Krpm it is at roughly 42MB/sec. > > > As NO IDE drives are available that go faster than 7200rpm, the maximum > > > sustained throughput for large files or data streams is around 21MB/sec. > > > >You're assuming the linear density on the track stays > >constant. It probably doesn't. If you increase the bits > >per inch, the speed will increase. One of my 80GB 5400rpm > >drives under 2.4.0test10 on an Athlon box: > > > >/dev/hdf: > > Timing buffer-cache reads: 128 MB in 0.83 seconds =154.22 MB/sec > > Timing buffered disk reads: 64 MB in 2.25 seconds = 28.44 MB/sec > > > >Also read a 10GB file in 367 seconds. That would be 29257270 > >bytes/sec. on average on a 5400rpm drive. The hdparm rate > >is 29821501 bytes/sec. Test file: > > > >Write performance under 2.4.0test10 is relatively horrible > >compared to a 2.2.xx kernel. Don't know what they have > >messed up. It's about half what the read speed is above. > >There are some really nice fixes in the 2.4.0testxx series. > >I can mount an 80GB file system in under a second. On the 2.2.xx > >series, it could take 30 seconds or so. > > > > > >Wes > Density is key to some of this, but, for example, the highest density 7200 > IDE drives are the Seagate Barracuda ATAIII and Maxtor DiamondMax Plus 60. > Both have 3 platters, each holding 10GB a side. > Here is some recent testing of these using HDTach. > 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? Bad SW/drivers most likely. See my results below. > 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. > One of my 60GB drives on an XP1000/Promise UATA66 card: [wsb@wsb7 wsb7a]$ time dd if=/dev/zero of=junk1 bs=1024k count=1024 1024+0 records in 1024+0 records out 0.00user 6.53system 0:36.21elapsed 18%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (105major+21minor)pagefaults 0swaps [wsb@wsb7 wsb7a]$ time dd of=/dev/null if=junk1 bs=1024k count=1024 1024+0 records in 1024+0 records out 0.00user 8.97system 0:32.74elapsed 27%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (131237major+148minor)pagefaults 0swaps There's a tad over 10% difference on read/writes. With a 1GB file, read is 32768010 bytes/sec. Write is 29653185 bytes/sec. So, it does cross into the 30MB/sec range. Also, note HDtach bypasses the file system so what it produces is basically uncomparable to a real FS test. I'm using a real ext2 FS. Something is fishy with the 2.4.0test series IDE-DMA code compared to the 2.2.xx series. I don't believe it's the drive's problem. > As for price these are $299 USD SRP drives. 60GB, 7200rpm, 2MB cache. > That's $4.98/GB > Yeah but street price on an 80GB drive is about $260 for $3.25 per GB. > The fastest UltraSCSI160 is the Seagate Cheetah 15X 18.2GB unit, which > costs around $490 USD > That's $26.90/GB > > So, IDE is definitely cheaper! > > Of course the U160 Cheetah has 8 times as much cache, 2 more years of > warranty, and a MTBF that is 1/3 of the IDE Maxtor.. > And, it is literally 2.3 times as fast. On that same site, they show the X15 Cheetah read of 41264.0kps down to 30326.0kps. The 60GB Maxtor shows 39125.0kps down to 17895.0kps. Averages are about 36MB/sec vs 30MB/sec. You only buy Cheetahs if your number one problem is random small accesses. Wes