Re: Mercurial 0.3 vs git benchmarks

From: Florian Weimer
Date: Wed Apr 27 2005 - 15:58:41 EST


* Thomas Glanzmann:

>> Directory hashing slows down operations that do linear sweeps through
>> the filesystem reading every single file, simply because without
>> dir_index, there is likely to be a correlation between inode order and
>> directory order, whereas with dir_index, readdir() returns entries in
>> hash order.
>
> thank you for the awareness training. Than mutt should be slower, too.
> Maybe I should repeat that tests.

Benchmarks are actually a bit tricky because as far as I can tell,
once you hash the directories, they are tainted even if you mount your
file system with ext2.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/