Subject: Re: FFSv1 performance on large filesystems
To: Matthias Scheler <tron@zhadum.de>
From: Chris Gilbert <chris@dokein.co.uk>
List: tech-kern
Date: 03/03/2005 21:48:06
On Thu, 3 Mar 2005 16:32:38 +0000
Matthias Scheler <tron@zhadum.de> wrote:

> On Thu, Mar 03, 2005 at 10:32:42AM -0500, Thor Lancelot Simon wrote:
> > > Filesystem Size		Device	Write Performance(*)
> > > 1.9G			raid0	34MB/Sec
> > > 101G			raid0	22MB/Sec <--
> > 
> > How large is the underlying disk?
> 
> wd0 at atabus0 drive 0: <WDC WD1600JB-32EVA0>
> wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
> wd1 at atabus0 drive 1: <WDC WD1600JB-32EVA0>
> wd1: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
> raid0: Components: /dev/wd0a /dev/wd1a
> 
> So either somebody "fixed" FFSv1 after NetBSD 2.0.1 or the problem isn't
> related to FFSv1. Possible other reasons:
> 
> 1.) The disks
>     The only difference between the disk is the interface (PATA vs. SATA).
>     And in my tests ("dd" from a raw device) that didn't make much
>     difference.

Looking at the above, both disks on the same PATA channel?  (master and slave)  I believe that there's some overhead in swapping between the master and slave, but I'd be surprised if it was that much.

Have you tried having each disk on it's own PATA channel?

Thanks,
Chris