XFS unlink still slow on 3.1.9 kernel ?

Richard Ems richard.ems at cape-horn-eng.com
Mon Feb 13 12:48:58 CST 2012


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


-- 
Richard Ems       mail: Richard.Ems at Cape-Horn-Eng.com

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



More information about the xfs mailing list