Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: nospam <x@wedontwantyourspam.com>
Subject: Re: RAID performance question on Tru64
Date: Tue, 08 Apr 2003 08:50:32 GMT	[thread overview]
Message-ID: <BAB8CAC6.122AF%x@wedontwantyourspam.com> (raw)
In-Reply-To: Xns93576CC81EF01JHLiu@203.239.130.2

in article Xns93576CC81EF01JHLiu@203.239.130.2, Liu at please@dont.spam.com
wrote on 08/04/2003 11:37:

> Stuart Fuller <stufuller@usa.net> 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



  reply	other threads:[~2003-04-08  8:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-07  7:48 RAID performance question on Tru64 Liu
2003-04-07 12:08 ` Stuart Fuller
2003-04-08  1:37   ` Liu
2003-04-08  8:50     ` nospam [this message]
2003-04-08 15:35       ` David Konerding
2003-04-11 11:21         ` Liu
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