Messages in this thread |  | | Date | Wed, 2 May 2001 15:33:56 +0200 (CEST) | From | Ketil Froyn <> | Subject | Re: Maximum files per Directory |
| |
On Tue, 1 May 2001, Alan Cox wrote:
> > cyrus-imapd i ran into problems. > > At about 2^15 files the filesystem gave up, telling me that there cannot be > > more files in a directory. > > > > Is this a vfs-Issue or an ext2-issue? > > Bit of both. You exceeded the max link count, and your performance would have > been abominable too. cyrus should be using heirarchies of directories for > very large amounts of stuff.
That's not always best, is it? I've been testing a bit with reiserfs, and with LOTS of files, I lose performance with a lot of directories compared to putting all the files in one directory.
Of course, that is only read-performance. Write performance is enhanced (at least when creating new files) by splitting this into some more directories. So how you want to split this up depends whether your data is write-many-read-once or write-once-read-many or something in between. That is my experience with reiserfs, anyway.
Ketil
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |