[lkml]   [2000]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: max file count exfs2

On 23-Jan-00 Gavin M. Roy wrote:
> Does anyone know the max file count per directory for exfs2? I browsed
> through the source, but I didn't see any max's defined. I have a
> project converting one text blob field in a db to individual files, and
> expect to need at least 1K files per directory. Any help is
> appreciated.

There's no hard limit, other than a max of 31998 sub-directories per directory.

On the other hand, performance drops approx. O(n^2) as you add entries to the
directory, depending on your access patterns. I wouldn't put more than 300-500
entries in a directory, but ~1000 may be OK for you. More than that gets very

If you really want to have huge directories, you may want to look at reiserfs,
which uses btrees to index the directories. People have been testing it with
millions of entries without too much performance degredation.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:56    [W:0.038 / U:0.704 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site