On Tue, Apr 22, 2003 at 11:51:42PM -0400, Sergio Pereira wrote:
> I'm trying to know how big the tree can be using ext3 on linux
> redhat 9.0. How many files can I have in the same directory? is
> there any limit for that?
Not really, as far as absolute limits are concerned. The entire
directory must be smaller than 2 gigabytes. That being said, unless
you are using a kernel with the new (and somewhat experimental) htree
extensions, there is a performance penalty with bigger directories, so
depending on how often you are accessing or scanning the large
directory, you may be happier if you use a bushier tree and avoid
directories with a huge number of entries. (i.e., something like
/afs/athena/user/t/y/tytso, /afs/athena/h/a/hartmans, etc.)
- Ted