From: David Konerding <dek@compbio.berkeley.edu>
Subject: Re: RAID performance question on Tru64
Date: Tue, 8 Apr 2003 15:35:46 +0000 (UTC) [thread overview]
Message-ID: <slrnb95r2u.tk3.dek@wuzzy.berkeley.edu> (raw)
In-Reply-To: BAB8CAC6.122AF%x@wedontwantyourspam.com
In article <BAB8CAC6.122AF%x@wedontwantyourspam.com>, nospam wrote:
> 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.
Just use iozone or bonnie, they will give you the numbers most relevant
to your real world experience (well, maybe). They ask the OS to sync
the data as soon as it is written, but of course the large cache on the
RAID controller will mask some of that. You must then try to use file
data even larger than the cache (multiple gigabytes).
Even "raw devices" would still be cached at the controller, unless the
OS/device driver/RAID controller had some way of indicating direct writes
to drives (I have no idea if this is the case).
Note that, it's worthwhile reading the specs of the RAID controller and
the drive array and being knowledgeable about its structure (you said
you looked at the array configuration and it was mirrored and striped
on one controller; whether that causes you to see a performance hit
at the FS level depends on a lot of factors). We were wondering about
the lower read and write performance of our RAID array until we looked
more closely at the specs. Although it has a fibre channel interface,
the controller has a maximum throughput of 16MB/s a second.
Dave
next prev parent reply other threads:[~2003-04-08 15:35 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
2003-04-08 15:35 ` David Konerding [this message]
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