public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Valerie Henson <val_henson@linux.intel.com>
To: linux-kernel@vger.kernel.org, ext2-devel@lists.sourceforge.net
Cc: Zach Brown <zach.brown@oracle.com>,
	"Theodore Ts'o" <tytso@mit.edu>,
	Arjan van de Ven <arjan@linux.intel.com>,
	Mingming Cao <cmm@us.ibm.com>
Subject: [BENCHMARK] fswide dirty bit for ext2
Date: Tue, 28 Mar 2006 22:57:25 -0800	[thread overview]
Message-ID: <20060329065724.GD16173@goober> (raw)

I am working on a file system wide dirty bit for ext2.  This allows
you to skip a full fsck if you crash while the file system is not
being actively modified.

Zach Brown was kind enough to run a few benchmarks comparing various
versions of ext2 and ext3.  Results:

           ext2   ext2r *ext2fw*   ext3  ext3wb
kuntar    17.86   19.59   17.58   21.10   30.60
postmark   6.41    6.57    8.48   30.87   15.47
tiobench  34.11   34.96   34.26   34.00   34.06

ext2: ext2: 4k blocks, noatime
ext2r: ext2: 4k blocks, noatime, reservations
ext2fw: ext2: 4k blocks, noatime, reservations, fswide
ext3: ext3: 4k blocks, 256m journal, noatime
ext3wb: ext3: 4k blocks, 256m journal, noatime, data=writeback
kuntar: expanding a cached uncompressed kernel tarball and syncing
postmark: postmark: numbers = 10000, transactions = 10000
tiobench: tiobench: 16 threads, 256m size

The summary is that ext2+fswide bit is the same as plain ext2 except
30% slower on postmark.  Slower postmark is expected given the orphan
inode list requires at least two writes to either the superblock or
another inode per file removal.  An obvious improvement would be
per-block group orphan inode lists, which would require a non-trivial
but not frightening patch to fsck. (This might also be ported to
ext3.) Other ideas?

I split out the ext2 reservations port into its own patch.
ext2+reservations alone is strangely slower than ext2+fswide on one
benchmark; I did some preliminary debugging but didn't find anything
obvious wrong as yet.  The patches are available for anyone who wants
to track this down themselves before I get around to it.

Patches against 2.6.16-rc5-mm3 here:

Fswide bit (includes reservations):

http://infohost.nmt.edu/~val/patches/fswide_shorter_patch

Reservations only:

http://infohost.nmt.edu/~val/patches/resv_only_patch

-VAL

             reply	other threads:[~2006-03-29  6:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-29  6:57 Valerie Henson [this message]
2006-03-30 20:18 ` [Ext2-devel] [BENCHMARK] fswide dirty bit for ext2 Mingming Cao

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=20060329065724.GD16173@goober \
    --to=val_henson@linux.intel.com \
    --cc=arjan@linux.intel.com \
    --cc=cmm@us.ibm.com \
    --cc=ext2-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tytso@mit.edu \
    --cc=zach.brown@oracle.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