From: Michael Monnerie <michael.monnerie@is.it-management.at>
To: xfs@oss.sgi.com
Subject: Re: XFS peculiar behavior
Date: Wed, 23 Jun 2010 17:04:55 +0200 [thread overview]
Message-ID: <201006231704.55273@zmi.at> (raw)
In-Reply-To: <87bpb2avxg.fsf@basil.nowhere.org>
[-- Attachment #1.1: Type: Text/Plain, Size: 1189 bytes --]
On Mittwoch, 23. Juni 2010 Andi Kleen wrote:
> I don't know if it's the only reason, but XFS does a lot of data
> structure locking and updates per allocation group, so spreading
> to multiple AGs gives better scalability to many CPUs.
This only helps if there are metadata operations, right? So in the case
where you have one big database "file" of 50GB, it should be ordered
sector-by-sector to get the maximum performance, and minimize disk-head
movement.
And I don't believe XFS would scatter a single big file around several
AGs, as far as I know even all files within the same dir are grouped
within a single AG. The AG "scattering" is done for separate dirs only.
> Also I suppose it's good to avoid hot spots on the underlying
> device.
A database file is staying on the same place "forever" and will be
overwritten all the time, so it doesn't matter for the "hot spot" case.
--
mit freundlichen Grüssen,
Michael Monnerie, Ing. BSc
it-management Internet Services
http://proteger.at [gesprochen: Prot-e-schee]
Tel: 0660 / 415 65 31
// Wir haben im Moment zwei Häuser zu verkaufen:
// http://zmi.at/langegg/
// http://zmi.at/haus2009/
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2010-06-23 15:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-23 7:37 XFS peculiar behavior Yannis Klonatos
2010-06-23 10:16 ` Michael Monnerie
2010-06-23 10:24 ` Andi Kleen
2010-06-23 15:04 ` Michael Monnerie [this message]
2010-06-23 16:21 ` Eric Sandeen
2010-06-23 23:17 ` Dave Chinner
2010-06-24 14:11 ` Yannis Klonatos
2010-06-24 15:21 ` Eric Sandeen
2010-06-24 15:35 ` Yannis Klonatos
2010-06-25 0:58 ` Dave Chinner
2010-06-25 0:46 ` Dave Chinner
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=201006231704.55273@zmi.at \
--to=michael.monnerie@is.it-management.at \
--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