xfs
[Top] [All Lists]

Re: XFS Raid5 in Raid0 poor performance

To: Patrick Cole <z@xxxxxxxxxx>
Subject: Re: XFS Raid5 in Raid0 poor performance
From: Nathan Scott <nathans@xxxxxxx>
Date: Fri, 6 Jun 2003 15:40:45 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20030606045826.GA3070@jaded.neocom>
References: <20030606045826.GA3070@jaded.neocom>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.3i
Hi,

On Fri, Jun 06, 2003 at 02:58:26PM +1000, Patrick Cole wrote:
> ...
> 
> Two controllers (3ware Escalade) 8way each
> 
> Raid0 (256KB chunk size) {
>       Raid5 (32KB chunk size) {
>               Drive 1
>               Drive 2
>               Drive 3
>               Drive 4
>               Drive 5
>               Drive 6
>               Drive 7 (Parity)
>               Drive 8 (Hot spare)
>       }
>       Raid5 (32KB chunk size) {
>               Drive 1
>               Drive 2
>               Drive 3
>               Drive 4
>               Drive 5
>               Drive 6
>               Drive 7 (Parity)
>               Drive 8 (Hot spare)
>       }
> }
> 
> Some input/ideas/fixes would be appreciated.

Oh - I wonder if the layering of RAID like this is causing the
mkfs code to get confused.  (is Martin lurking on the list?)

I'd suggest trying a mkfs on one of the RAID5 devices, then pass
those sunit and swidth values into mkfs rather than using the
ones which it figures out on the fly from your RAID0 device, and
see if that helps at all.

> Btw, the filesystem was created using xfsprogs 2.0.6.  After talking with 
> sandeen
> he suggested that the newer utils had some changes relating to setting to the 
> sunit 
> and stripe perameters of the filesystem. Is this the case?

There were changes recently in the MD stripe detection code, just
to change it so that it wouldn't quit out of mkfs in certain cases
and instead warn and carry on - so that wouldn't affect you here.
It's a good idea to get the latest tools though - you might find 
version 2 logs to be of some help here too, and there was a recent
mkfs fix for those recently.

cheers.

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>