From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266275AbUH0PtT (ORCPT ); Fri, 27 Aug 2004 11:49:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266349AbUH0Psy (ORCPT ); Fri, 27 Aug 2004 11:48:54 -0400 Received: from daq3.if.pw.edu.pl ([194.29.174.23]:32896 "HELO milosz.na.pl") by vger.kernel.org with SMTP id S266275AbUH0Ppm (ORCPT ); Fri, 27 Aug 2004 11:45:42 -0400 From: Bartlomiej Zolnierkiewicz Reply-To: bzolnier@milosz.na.pl To: Justin Piszcz Subject: Re: A few filesystem benchmarks w/ReiserFS4 vs Other Filesystems Date: Fri, 27 Aug 2004 17:45:41 +0200 User-Agent: KMail/1.6.2 Cc: linux-kernel@vger.kernel.org References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408271745.41722.bzolnier@elka.pw.edu.pl> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Friday 27 August 2004 16:39, Justin Piszcz wrote: > Are balanced b-trees better for removing many files over dancing onces? > See rm -rf benchmark. > > # -------------------------------------------------------------------- # > Filesystems to test: > # -------------------------------------------------------------------- # > Each file system was created with fdisk to be +1024MB. > # -------------------------------------------------------------------- # > With default initilization commands: mkfs.fs /dev/hdb[1-7] > # -------------------------------------------------------------------- # > Filesystem Size Used Avail Use% Mounted on > /dev/hdb1 962M 20K 913M 1% /fs/ext2 > /dev/hdb2 962M 17M 897M 2% /fs/ext3 > /dev/hdb3 977M 33M 945M 4% /fs/reiser3 > /dev/hdb5 929M 144K 929M 1% /fs/reiser4 > /dev/hdb6 973M 256K 973M 1% /fs/jfs > /dev/hdb7 973M 144K 972M 1% /fs/xfs Sorry to say this but your testing procedure is flakey because outer disk tracks are much faster so you should repeat all tests using different filesystems on i.e. only /dev/hdb1. The other thing is to get caching out of picture - you should do reboots between tests - create fs, reboot, test, create fs... cycle. PS my mail account is temporary defunct so please use Reply-To: > # -------------------------------------------------------------------- # > Untar the Linux 2.6.8.1 tarball on each file system. > # -------------------------------------------------------------------- # > ext2 | 46.88 sec @ 10% cpu > ext3 | 44.44 sec @ 12% cpu > jfs | 57.36 sec @ 15% cpu > rs3 | 37.03 sec @ 23% cpu > rs4 | 27.42 sec @ 42% cpu > xfs | 49.74 sec @ 17% cpu > # -------------------------------------------------------------------- # > Execute rm -rf linux-2.6.8.1 on each file system. > # -------------------------------------------------------------------- # > ext2 | 10.26 sec @ 22% cpu > ext3 | 10.02 sec @ 25% cpu > jfs | 26.67 sec @ 27% cpu > rs3 | 03.22 sec @ 74% cpu > rs4 | 25.58 sec @ 50% cpu <- What happened to reiserfs4 here? > xfs | 12.51 sec @ 47% cpu > # -------------------------------------------------------------------- # > Create a 500MB file with dd to each filesystem with 1MB blocks. > # -------------------------------------------------------------------- # > ext2 | 15.72 sec @ 26% cpu > ext3 | 17.04 sec @ 31% cpu > jfs | 29.57 sec @ 25% cpu > rs3 | 15.21 sec @ 27% cpu > rs4 | 23.96 sec @ 23% cpu <- What happened to reiserfs4 here? > xfs | 19.07 sec @ 29% cpu