public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Matthew Kirkwood <matthew@hairy.beasts.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Filesystem benchmarks: ext2 vs ext3 vs jfs vs minix
Date: 27 Mar 2002 15:09:19 +0100	[thread overview]
Message-ID: <p73y9ge3xww.fsf@oldwotan.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.33.0203271323330.24894-100000@sphinx.mythic-beasts.com.suse.lists.linux.kernel>

Matthew Kirkwood <matthew@hairy.beasts.org> writes:

> 		PostgreSQL
> 	tuning?	single	ir	mx-ir	oltp	mixed-oltp
> 		(sec)	(tps)	(sec)	(tps)	(sec)
> ext2	dd	1304.72	66.64	214.25	188.50	230.55
> 	dn	1288.31	65.93	209.57	234.08	213.75
> 	bn	1283.50	77.90	1867.71	192.43	226.77
> 
> ext3	dd	1303.84	66.87	212.49	66.06	361.04
> 	dn	1288.03	64.62	209.27	111.41	278.54
> 	bn	1285.32	65.98	1996.41	90.05	307.79

This is ext3 with ordered data? 

> minix	dd	1305.26	67.38	207.74	193.90	228.81
> 	dn	1331.27	67.14	210.07	223.70	214.33
> 	bn	1299.24	89.58	1988.31	231.17	231.17

Wow minix is faster than ext2 @)  That certainly looks strange. 

Any chance to test XFS too?

> 3. The journalled filesystems do have measurable overhead
>    for this workload.

Normally (non data journaling, noatime) journaling fs shouldn't have any
overhead for database load, because database files should be preallocated
and the database should do direct IO in/out the preallocated buffers
with the FS never doing any metadata writes, except for occassional inode
updates for mtime depending on what sync mode that DB uses (hmm, I guess a 
nomtime or verylazymtime or alwaysasyncmtime mount option could be helpful 
for that) 
 
That's the theory, but doesn't seem to be the case in your test. I guess
your test is not very realistic then. 

> 2. What does jfs do in the way of data journalling?  Is it
>    "ordered" or "writeback", in ext3-speak?  (I assume
>    fully journalled data would give much worse performance.)

Kind of ordered I believe.

-Andi

       reply	other threads:[~2002-03-27 14:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.33.0203271323330.24894-100000@sphinx.mythic-beasts.com.suse.lists.linux.kernel>
2002-03-27 14:09 ` Andi Kleen [this message]
2002-03-27 14:47   ` Filesystem benchmarks: ext2 vs ext3 vs jfs vs minix Matthew Kirkwood
2002-03-27 15:35     ` Michael Alan Dorman
2002-03-27 17:51     ` Andrew Morton
2002-03-28  0:04       ` Matthew Kirkwood
2002-03-28  0:29         ` Andrew Morton
2002-03-28  0:42           ` Matthew Kirkwood
2002-03-28 11:11         ` Matthew Kirkwood
2002-03-27 18:02     ` Andreas Dilger
2002-03-28  0:09       ` Matthew Kirkwood
2002-03-28  2:17       ` Mike Fedyk
2002-03-27 13:54 Matthew Kirkwood
2002-03-27 14:17 ` Florin Andrei

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=p73y9ge3xww.fsf@oldwotan.suse.de \
    --to=ak@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthew@hairy.beasts.org \
    /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