From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,2ca8e9387ec7b05b X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-04-08 03:39:34 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!ken-transit.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!not-for-mail User-Agent: Microsoft-Entourage/10.1.1.2418 Subject: Re: RAID performance question on Tru64 From: nospam Newsgroups: comp.unix.tru64 Message-ID: References: <0opr6b.rgr.ln@dadsys2.fuller.local> Mime-version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Date: Tue, 08 Apr 2003 08:50:32 GMT NNTP-Posting-Host: 144.136.91.243 X-Complaints-To: abuse@bigpond.net.au X-Trace: news-server.bigpond.net.au 1049791832 144.136.91.243 (Tue, 08 Apr 2003 18:50:32 EST) NNTP-Posting-Date: Tue, 08 Apr 2003 18:50:32 EST Organization: BigPond Internet Services (http://www.bigpond.net.au) Xref: archiver1.google.com comp.unix.tru64:9802 in article Xns93576CC81EF01JHLiu@203.239.130.2, Liu at please@dont.spam.com wrote on 08/04/2003 11:37: > Stuart Fuller wrote in > news:0opr6b.rgr.ln@dadsys2.fuller.local: > >> Liu wrote: >> >>> Hello. >>> I'm a newbie to RAID. Doing something on RAID , I found it somewhat >>> slow. so I did a simple test. just copy a big file(sized almost >>> exactly 2G byte) to itself. (date;cp bigfile ..;date) Looks like you don't know about the time command? # time cp bigfile .. Also cp is not really your friend. My preference is to use # time dd if=bigfile of=/dev/null bs=64k Which is designed to give me peak! read performance Or # time dd if=/dev/zero of=bigfile bs=64k count=16384 To create a 1g file In this way you have control of the size of the reads (at least more so than cp) and you only do read or write not both. This is also reading/writing though the file system buffers you can at least do the read from the raw devices that the file system is on to see the read performance outside of the file system. Make sure you don't do the write test to the raw volume if you care about the fs. When you say RAID are you RAID 0, 1, 0+1, 5 ? >>> >>> (I found suspicious thing though, all disks in raid has a 10K RPM in >>> spec. but by using 'disklabel -p' they say that they have 3.6K RPM.) Suggest you use disklabel -r to read labels from physical disks -p will show you the kernel copy of a label which will exist even when the physical label doesn't disklabel -r will tell you the truth ;) Also ignore the RPM reported in the disklabel its not really relevant. Cheers Mark