> Amusingly, there IS directory hashing available for ext2 and ext3, and
> it is just as fast as reiserfs hashed directories. See:
> http://people.nl.linux.org/~phillips/htree/paper/htree.html
You learn something new every day. So, with that in mind - what has reiserfs got that ext2 doesn't?
- tail merging, giving much more efficient space usage for lots of small
files.
- B*Tree allocation offering ``a 1/3rd reduction in internal
fragmentation in return for slightly more complicated insertions and
deletion algorithms'' (from the htree paper).
- online resizing in the main kernel (ext2 needs a patch -
http://ext2resize.sourceforge.net/).
- Resizing does not require the use of `ext2prepare' run on the
filesystem while unmounted to resize over arbitrary boundaries.
- directory hashing in the main kernel
On the flipside, ext2 over reiserfs:
- support for attributes without a patch or 2.4.19-pre4+ kernel
- support for filesystem quotas without a patch
- there is a `dump' command (but it's useless, because it hangs when you
run it on mounted filesystems - come on, who REALLY unmounts their
filesystems for a nightly dump? You need a 3 way mirror to do it
while guaranteeing filesystem availability...)
I'd be very interested in seeing postmark results without the hierarchical directory structure (which an unpatched postfix doesn't support), with about 5000 mailboxes with and without the htree patch (or with the htree patch but without that directory indexed, if that is possible).
-- Sam Vilain, sam@vilain.net WWW: http://sam.vilain.net/ 7D74 2A09 B2D3 C30F F78E GPG: http://sam.vilain.net/sam.asc 278A A425 30A9 05B5 2F13Try to be the best of what you are, even if what you are is no good. ASHLEIGH BRILLIANT - 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/