From: Stewart Smith <stewart@flamingspork.com>
To: Angelo McComis <angelo@mccomis.com>, xfs@oss.sgi.com
Subject: Re: XFS use within multi-threaded apps
Date: Tue, 19 Oct 2010 15:24:24 +1100 [thread overview]
Message-ID: <87eibm4xon.fsf@willster.local.flamingspork.com> (raw)
In-Reply-To: <AANLkTi=w1o8EF6-M7o8Qi9VpY-10m+MCR8U+K1_Aze=g@mail.gmail.com>
On Mon, 18 Oct 2010 09:42:04 -0400, Angelo McComis <angelo@mccomis.com> wrote:
> I have a use case where I'd like to forward the use of XFS. This is for
> large (multi-GB, say anywhere from 5GB to 300GB) individual files, such as
> what you'd see under a database's data file / tablespace.
The general advice from not only those of us who hack on database
systems for a living (and hobby), but those that also run it in
production on more systems than you'll ever be able to count is this for
database system performance tuning (i.e. after making your SQL not
completely nuts)
Step 1) Use XFS.
Nothing, and I do mean nothing comes close to reliability and consistent
performance.
We've seen various benchmarks where X was faster.... most of the
time. Then suddenly your filesystem takes a mutex for 15 seconds and
you're database performance goes down the crapper.
> My database vendor (who, coincidentally markets their own filesystems and
> operating systems) says that there are certain problems under XFS with
> specific mention of corruption issues, if a single root or the metadata
> become corrupted, the entire filesystem is gone, and it has performance
> issues on a multi-threaded workload, caused by the single root filesystem
> for metadata becoming a bottleneck.
XFS has anything but performance problems on multithreaded
workloads. It is *the* best of the Linux filesystems
(actually... possibly any file system anywhere) for multithreaded
IO. You can either benchmark it or go and read the source - check out
the direct IO codepaths and what locks get taken (or rather, what locks
aren't taken).
Generally speaking, most DBMSs don't do much filesystem metadata
operations, the most common being extending the data file. So what you
really care about is multithreaded direct IO performance, scalability
and reliability.
> This feedback from the vendor is surely taken with a grain of salt as they
> have marketing motivations of their own product to consider.
If the vendor is who I suspect, and the filesystem being pushed is
starting with two letters down the alphabet than XFS... I
wouldn't. While a great file system for a number of applications, it is
nowhere near ready for big database IO loads - to the extent that last I
heard it still wasn't being recommended for the various DBs I care about
(at least by the DB support guys).
--
Stewart Smith
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2010-10-19 4:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-18 13:42 XFS use within multi-threaded apps Angelo McComis
2010-10-19 1:12 ` Dave Chinner
2010-10-19 4:24 ` Stewart Smith [this message]
2010-10-20 12:00 ` Angelo McComis
2010-10-23 19:56 ` Peter Grandi
2010-10-23 20:59 ` Angelo McComis
2010-10-23 21:01 ` Angelo McComis
2010-10-24 2:13 ` Stan Hoeppner
2010-10-24 18:22 ` Michael Monnerie
2010-10-24 23:08 ` Dave Chinner
2010-10-25 3:12 ` Stan Hoeppner
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=87eibm4xon.fsf@willster.local.flamingspork.com \
--to=stewart@flamingspork.com \
--cc=angelo@mccomis.com \
--cc=xfs@oss.sgi.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