[Top] [All Lists]

Re: XFS unlink still slow on 3.1.9 kernel ?

To: xfs@xxxxxxxxxxx
Subject: Re: XFS unlink still slow on 3.1.9 kernel ?
From: Richard Ems <richard.ems@xxxxxxxxxxxxxxxxx>
Date: Wed, 15 Feb 2012 13:07:45 +0100
In-reply-to: <20120214194535.GB7399@xxxxxxxxxxxxx>
References: <4F394116.8080200@xxxxxxxxxxxxxxxxx> <20120214000924.GF14132@dastard> <4F3A5440.409@xxxxxxxxxxxxxxxxx> <20120214194535.GB7399@xxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120129 Thunderbird/10.0.1
On 02/14/2012 08:45 PM, Christoph Hellwig wrote:
> On Tue, Feb 14, 2012 at 01:32:00PM +0100, Richard Ems wrote:
>>> You won't if the directory traversal is seek bound and that is the
>>> limiting factor for performance.
>> *Seek bound*? *When* is the directory traversal *seek bound*?
> You read the inode for the directory first, then the external attribute
> block for the ACLs, then if the directory isn't tiny you'll start reading
> directory blocks, the more the larger the directory is, and if the
> filesystem is close to beeing full they often will be non-contiguous.
> Then you read the inode for each file/directory in it, then the external
> attribute block, then the extent list, and so on.

Ok, got it.

Many thanks,

Richard Ems       mail: Richard.Ems@xxxxxxxxxxxxxxxxx

Cape Horn Engineering S.L.
C/ Dr. J.J. Dómine 1, 5º piso
46011 Valencia
Tel : +34 96 3242923 / Fax 924

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