From: Andrew Morton <akpm@osdl.org>
To: Grant Miner <mine0057@mrs.umn.edu>
Cc: linux-kernel@vger.kernel.org, reiserfs-list@namesys.com
Subject: Re: Filesystem Tests
Date: Tue, 5 Aug 2003 22:41:52 -0700 [thread overview]
Message-ID: <20030805224152.528f2244.akpm@osdl.org> (raw)
In-Reply-To: <3F306858.1040202@mrs.umn.edu>
Grant Miner <mine0057@mrs.umn.edu> wrote:
>
> I tested the performace of various filesystems with a mozilla build tree
> of 295MB, with primarily writing and copying operations. The test
> system is Linux 2.6.0-test2, 512MB memory, 11531.85MB partition for
> tests. Sync is run a few times throughout the test (for full script see
> bottom of this email). I ran mkfs on the partition before every test.
> Running the tests again tends to produces similar times, about +/- 3
> seconds.
>
> The first item number is time, in seconds, to complete the test (lower
> is better). The second number is CPU use percentage (lower is better).
>
> reiser4 171.28s, 30%CPU (1.0000x time; 1.0x CPU)
> reiserfs 302.53s, 16%CPU (1.7663x time; 0.53x CPU)
> ext3 319.71s, 11%CPU (1.8666x time; 0.36x CPU)
> xfs 429.79s, 13%CPU (2.5093x time; 0.43x CPU)
> jfs 470.88s, 6%CPU (2.7492x time 0.02x CPU)
But different filesystems will leave different amounts of dirty, unwritten
data in memory at the end of the test. On your machine, up to 200MB of
dirty data could be sitting there in memory at the end of the timing
interval. You need to decide how to account for that unwritten data in the
measurement. Simply ignoring it as you have done is certainly valid, but
is only realistic in a couple of scenarios:
a) the files are about the be deleted again
b) the application which your benchmark simulates is about to spend more
than 30 seconds not touching the disk.
This discrepancy is especially significant with ext3 which, in ordered data
mode, will commit all that data every five seconds. If the test takes more
than five seconds then ext3 can appear to take a _lot_ longer.
But it is somewhat artificial: that data has to be written out sometime.
Solutions to this inaccuracy are to make the test so long-running (ten
minutes or more) that the difference is minor, or to include the `sync' in
the time measurement.
And when benching things, please include ext2. It is the reference
filesystem, as it were. It tends to be the fastest, too.
next prev parent reply other threads:[~2003-08-06 5:40 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-06 2:30 Filesystem Tests Grant Miner
2003-08-06 3:47 ` Peter Chubb
2003-08-06 10:43 ` Oleg Drokin
2003-08-06 5:41 ` Andrew Morton [this message]
2003-08-06 10:35 ` Szakacsits Szabolcs
2003-08-09 1:09 ` Jamie Lokier
2003-08-09 5:12 ` Szakacsits Szabolcs
2003-08-09 9:33 ` Jamie Lokier
2003-08-09 9:18 ` Szakacsits Szabolcs
2003-08-09 16:19 ` Jamie Lokier
2003-08-10 21:03 ` Grant Miner
2003-08-12 8:27 ` Dieter Nützel
2003-08-06 14:06 ` Hans Reiser
2003-08-06 16:34 ` Diego Calleja García
2003-08-06 18:04 ` Mike Fedyk
2003-08-06 18:45 ` Diego Calleja García
2003-08-06 19:08 ` Mike Fedyk
2003-08-06 19:40 ` Diego Calleja García
2003-08-07 13:51 ` Hans Reiser
2003-08-07 0:55 ` Clemens Schwaighofer
2003-08-06 21:19 ` Andrew Morton
2003-08-06 21:25 ` ieee1394 (Firewire) driver problem Henrik Raeder Clausen
2003-08-07 12:55 ` Filesystem Tests Hans Reiser
2003-08-07 19:09 ` Diego Calleja García
2003-08-07 19:21 ` ahorn
2003-08-06 23:37 ` Timothy Miller
2003-08-06 23:47 ` Mike Fedyk
2003-08-07 0:40 ` Timothy Miller
2003-08-07 13:55 ` jlnance
2003-08-06 9:55 ` Felipe Alfaro Solana
2003-08-06 10:48 ` Paul Dickson
2003-08-06 11:39 ` Grant Miner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030805224152.528f2244.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mine0057@mrs.umn.edu \
--cc=reiserfs-list@namesys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox