Subject: Re: RaidFrame problems.
To: Andrea Franceschini <andrea@cs.tin.it>
From: Simon Burge <simonb@wasabisystems.com>
List: port-i386
Date: 02/08/2001 11:13:29
Andrea Franceschini wrote:

> On raid5 Partition :
> 
>               -------Sequential Output-------- ---Sequential Input-- --Random--
>               -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
> Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
>           100  2504 15.4  2468  6.8  2749  7.8 21473 93.2 86272 99.9 2311.4 27.9
>                ^^^^
> On non-raid partition :
> 
> Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
>           100 12802 96.0 15757 74.2 15847 73.0 23237 99.9 86406 100.0 8523.6 100.1
>               ^^^^^
> [ ... ]
> 
> NetBSD 1.5R (NETAPP) #1: Thu Feb  8 05:29:20 UTC 2001
>     root@netapp:/usr/src/sys/arch/i386/compile/NETAPP
> cpu0: AMD K6-2 (586-class), 501.16 MHz
> cpu0: features 8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
> cpu0: features 8021bf<PGE,MMX>
> total memory = 255 MB
> avail memory = 234 MB
> using 3296 buffers containing 13184 KB of memory

One quick comment - it's no use testing disk I/O with bonnie if you are
testing a file size less than the buffer cache size.  That's why you are
seeing 80MB/s in some cases.  With -current and a box with 256MB of RAM,
you'd be wanting to use a 256MB test as an absolute minimum - larger
would be better.

The "using 3296 buffers containing 13184 KB of memory" line refers to
buffers for metadata - things like inode info and so on.  Buffers for
actual file data use (pretty much) any free memory of your 234MB.

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD CDs, Support and Service:    http://www.wasabisystems.com/