Recommended max. limit of number of files per directory?

Bruno Wolff III bruno at wolff.to
Tue Mar 24 19:45:31 UTC 2009


On Wed, Mar 25, 2009 at 01:02:27 +0800,
  howard chen <howachen at gmail.com> wrote:
> Hello,
> 
> In the past (i.e. Ext2), the performance of file system will get worse
> if too many files (e.g. > 10K) under same directory, is it still the
> same for Ext3?

If you turn on directory hashing it scales better but eventually
performance will still tank. You can use tune2fs to see how it is set and
change it if necessay.




More information about the Ext3-users mailing list