Re: XFS unlink still slow on 3.1.9 kernel ?

Richard Ems
2012-02-13T18:49:04Z

On 02/13/2012 07:10 PM, Christoph Hellwig wrote:
> On Mon, Feb 13, 2012 at 07:06:44PM +0100, Richard Ems wrote:
>> So
>>
>> 1. use kernels > 3.2, if XFS partition was not created using "-i size=1024"
>
> Yes.
>
>> 2. if XFS partition was created using "-i size=1024", kernels < 3.2 will
>> also be fast while unlinking files with out of line attributes
>
> Exactly.
>
> For workloads like yours creating the large inodes (probably only with
> 512 byte inodes, though) will be preferably if you have a choice, as it
> should be even faster.
>

I already updated to 3.2.4 and started the same "find dir" command again
that previously took 100 min to run. It has been running now for over 30
min ...

Should this "find" run time also improve ?
Or will only unlink run time improve ?
I expect both of them to change similarly, or not? Wrong assumption?

Do I have to mount the XFS partition with some new/old/special option?

Thanks again,
Richard