howard chen
2009-Mar-24 17:02 UTC
Recommended max. limit of number of files per directory?
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? Since I have a web server which contains a lot of user uploaded photos, currently I have already create directory hierarchy to avoid the performance issue with the file system, but I want to know if any exact / tested figures? Thanks.
Bruno Wolff III
2009-Mar-24 19:45 UTC
Recommended max. limit of number of files per directory?
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.