Subject: Re: bad filesystem performance
To: Chris Jones <chris@cjones.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 06/11/2003 22:50:19
On Tue, Jun 10, 2003 at 03:10:53PM -0600, Chris Jones wrote:
> A few days ago, I noticed my NFS server getting really slow; I sent a
> message to this list at that time. I'm starting to think it's a problem
> with the filesystem on the server, but I'm at a loss for how to really
> nail down the cause of it.
>
> The machine is running raidframe across two IDE drives, wd1 and wd2.
> They're partitioned almost identically, the difference being that one
> has a boot partition, and the other has a swap partition that's online
> but never actually used -- it's there for dumps.
>
> My complaint is that performance is really bad. It's gotten
> dramatically worse in the past few days, though I can't really quantify
> it at this point. Various CVS operations are taking many times longer
> than normal, and NFS performance is bad enough that the clients think
> the server's not responding at all.
>
> The strange thing is the output of iostat. The two drives, wd1 and wd2,
> are the only devices connected to an IDE controller. The drives are
> identical, and they're being used in a RAID1 array. But wd2 sees 2-3
> times as many accesses as wd1, and they're in smaller chunks. If
> anybody has suggestions on where else to look, I'd appreciate it.
What is the output of raidctl -a, and the disklabel of your raid ?
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 24 ans d'experience feront toujours la difference
--