[Top] [All Lists]

Re: 30 TB RAID6 + XFS slow write performance

To: Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>
Subject: Re: 30 TB RAID6 + XFS slow write performance
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Thu, 21 Jul 2011 09:01:26 +1000
Cc: xfs@xxxxxxxxxxx, Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>, John Bokma <contact@xxxxxxxxxxxxx>
In-reply-to: <201107201604.33419@xxxxxx>
References: <4E24907F.6020903@xxxxxxxxxxxxx> <20110720064419.GG9359@dastard> <4E26C5C5.1090802@xxxxxxxxxxxxxxxxx> <201107201604.33419@xxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
On Wed, Jul 20, 2011 at 04:04:31PM +0200, Michael Monnerie wrote:
> On Mittwoch, 20. Juli 2011 Stan Hoeppner wrote:
> > I thought this was packing multiple small files into
> > a single stripe write, which you just explained XFS does not do.
> This is interesting, I jump in here. Does that mean that if I have a XFS 
> volume with sw=14,su=64k (14*64=896KiB) that when I write 10 small files 
> in the same dir with 2KB each, each file would be placed at a 896KiB 
> boundary?

No, they'll get sunit aligned but default, which would be on 64k

> That way, all stripes of a 1GB partition would be full when 
> there are roughly 1170 files (1170*896KiB ~ 1GB). What would happen when 
> I create other files - is XFS "full" then, or would it start using sub-
> stripes? If sub-stripes, would they start at su (=64KiB) distances, or 
> at single block (e.g. 4KiB) distances?

It starts packing files tightly into remaining free space when no
free aligned extents are availble for allocation in the AG.


Dave Chinner

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