Re: ext2fs: do directories ever shrink?

Peter Mutsaers (plm@xs4all.nl)
13 Jul 1998 07:39:03 +0200


>> On Mon, 13 Jul 1998 00:39:27 +0100 (BST), alan@lxorguk.ukuu.org.uk
>> (Alan Cox) said:

>> Maybe on disk. But somehow at up to 50000 files no slowdown is
>> noticeable when adding or looking up files. This is one of the areas
>> where I saw big difference in performance between FreeBSD UFS and
>> Linux ext2fs.

AC> Interesting. Is this compared to Linux 2.0 or 2.1 - ie is it
AC> smart caching or have they got something clever added on the
AC> UFS directory structure we should look at

I've been running both lately, I'm not sure anymore. But I think it
was 2.0. In general I noticed quite some speedups when going from 2.0
to 2.1. I'll do some more benchmarks later w.r.t. creating & deleting
huge number of files and doing lookups in such large directories.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html