in reply to (OT) should i limit number of files in a directory
However you say you are on ext3. That filesystem uses an htree balanced tree for large directories, so it is internally already doing what you'd be trying to do.
That said, merlyn is right. There is a lot of hidden overhead to having a small file in the filesystem. If you just want to record the existence of a md5 hex sum digest, that is a perfect application for a database, BerkeleyDB, or DBM::Deep.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: (OT) should i limit number of files in a directory
by leocharre (Priest) on Sep 11, 2008 at 16:27 UTC | |
by tilly (Archbishop) on Sep 11, 2008 at 18:44 UTC | |
by Illuminatus (Curate) on Sep 11, 2008 at 16:47 UTC | |
by leocharre (Priest) on Sep 11, 2008 at 17:39 UTC | |
by Illuminatus (Curate) on Sep 12, 2008 at 14:55 UTC |