Re: ext3/reiserfs: ext3fine, reiser got OOPS!

Chris Wedgwood (cw@f00f.org)
Mon, 6 Aug 2001 02:14:55 +1200


On Sun, Aug 05, 2001 at 03:16:40PM +0200, Nico Schottelius wrote:

Mount and delete.

reiserfs

I created 200000 empty files, and then deleted them.

In many cases (ie. lots of files in a small number of directories),
reiserfs is _much_ faster then ext2 and ext3.

This is fairly well established.

For example, on a rather humble machine (dual PIII 866) the time to
extract a while bunch of files, including compression time and delete
them (whilst the machine was doing other things):

cw:tty2@tapu(cw)$ /usr/bin/time tx archive/freedb/freedb-complete-20010617.tar.bz2
128.87user 152.89system 5:33.36elapsed 84%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (2141major+2086minor)pagefaults 0swaps

cw:tty2@tapu(cw)$ du -s freedb-complete-20010617/
1380821 freedb-complete-20010617

cw:tty2@tapu(cw)$ find freedb-complete-20010617/ -type f -print|wc -l
350065

cw:tty2@tapu(cw)$ ls -F freedb-complete-20010617/
COPYING blues/ country/ folk/ misc/ reggae/ soundtrack/
README classical/ data/ jazz/ newage/ rock/

<stress memory and cause swapping to purge much of page cache>

cw:tty2@tapu(cw)$ /usr/bin/time rm -rf freedb-complete-20010617/
0.68user 66.48system 3:22.71elapsed 33%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (111major+17minor)pagefaults 0swaps

Hot-cache, the delete time is about 15seconds from memory (I posted
results to the reiserfs list a few weeks back).

--cw
-
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/