[Fedora] Re: Alternatives to du

Tony Nelson tonynelson at georgeanelson.com
Tue Apr 10 19:50:59 UTC 2007


At 6:06 PM +0100 4/10/07, Alan Cox wrote:
>> Unfortunately, in this case, the directory structure is what it is.  I
>> can't change it without a massive amount of pain.
>
>Then you won't get sane performance. The ext3 directory hash does what it
>can to improve performance in this case but you'll probably find most of
>your extra overhead (compared to users with sane directory structures) is
>simply down to filename lookup and directory scanning overhead.

Does the volume in question have the dir_index feature set?  Note,
according to man tune2fs, e2fsck -D will need to be run to make the
filesystem sane again.
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the users mailing list