ext4 and extremely slow filesystem traversal

Vincent Caron vcaron at bearstech.com
Wed Mar 13 09:19:52 UTC 2013


On 13/03/2013 03:52, Theodore Ts'o wrote:
>
> Did you sort results from readdir() by inode number?  i.e., such as
> what the following LD_PRELOAD hack does?
> 
> https://git.kernel.org/cgit/fs/ext2/e2fsprogs.git/tree/contrib/spd_readdir.c?h=maint

  I don't think I tried this specific hack, I'm having a go right now.
Is is still useful if each directory only holds a few inodes ?


>>   Right now I don't even know how to analyze my filesystem further.
>> Sorry for not being able to describe it more accurately. I'm in search
>> for any advice or direction to improve this situation. While keeping
>> using ext4 of course :).
> 
> Try running "e2fsck -fv /dev/XXX" and send me the output.
> 
> Also useful would be the output of "e2freefrag /dev/XXX" and "dumpe2fs -h"

  Information attached. Dumpfs said: dumpe2fs 1.42.5 (29-Jul-2012).

  Thanks for your help !
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: e2freefrag.txt
URL: <http://listman.redhat.com/archives/ext3-users/attachments/20130313/1c357408/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: e2fsck-fv.txt
URL: <http://listman.redhat.com/archives/ext3-users/attachments/20130313/1c357408/attachment-0001.txt>


More information about the Ext3-users mailing list