From: Michael Monnerie <michael.monnerie@is.it-management.at>
To: xfs@oss.sgi.com
Subject: Re: xfs open questions
Date: Wed, 28 Jan 2009 09:37:19 +0100 [thread overview]
Message-ID: <200901280937.23743@zmi.at> (raw)
In-Reply-To: <497F130F.4010107@sandeen.net>
[-- Attachment #1.1: Type: text/plain, Size: 4454 bytes --]
On Dienstag 27 Januar 2009 Eric Sandeen wrote:
> I think that's all correct. It's basically this: stripe unit is
> per-disk, sripe width is unit*data_disks. And then there's the added
> bonus of the differing units on su/sw vs. sunit/swidth. :)
Yes, it's always fun to have it complicated.
> I'd love to be able to update these pdf files, but despite asking for
> the source document several times over a couple months, nothing has
> been provided. Unfortunately 'til then it's up to SGI to update them
> and the community can't help much (SGI: hint, hint).
SGI, do you read that? Your users want to do your work, you should be
happy 'bout that!
> > Documentation says some backup tools can't handle 64bit Inodes, are
> > there problems with other programs as well?
>
> Potentially, yes:
> http://sandeen.net/wordpress/?p=9
OK, so is there anything really problematic? I did already mount with
inode64, is there a way back?
> I would not get overly concerned with AG count; newer mkfs.xfs has
> lower defaults (i.e. creates larger AGs, 4 by default, even for a 2T
> filesystem) but to some degree what's "best" depends both on the
> storage underneath and the way the fs will be used.
>
> But with defaults, your 2T/4AG filesystem case above would grow to
> 3T/6AGs, which is fine for many cases.
I used 40 AG's, so it will be 60 then.
> Hm it's unfortunate that there are no units on that number. Easy to
> fix.
For who? Are you one of the devs?
> This is to avoid all metadata landing on a single disk; similar to
> how mkfs.ext3 wants to use "stride" in its one geometry-tuning knob.
I find the concept good, just the doc about it should be better/clearer.
And why didn't they choose to specify # of disks, swidth has to be a
multiple of sunit anyway? With su=65536,sw=3 it's at least clearer.
> The defaults were recently moved to be lower (4 by default). Files
> in new subdirs are rotated into new AGs, all other things being equal
> (space available, 64-bit-inode allocator mode). To be honest I don't
> have a good answer for you on when you'd want more or fewer AGs,
> although AGs are parallel independent chunks of the fs to large
> degree, so in some cases, more AGs may help certain kinds of parallel
> operations. Perhaps others can chime in a bit more on this tuning
Nobody?
> > - PostgreSQL
> > The PostgreSQL database creates a directory per DB. From the docs I
> > read that this creates all Inodes within the same AG. But wouldn't
> > it be better for performance to have each table on a different AG?
> > This could be manually achieved manually, but I'd like to hear if
> > that's better or not.
>
> Hm, where in the docs, just to be clear?
I meant the XFS docs - you said it again "files in the same dir are kept
in the same AG". I wasn't clear enough on that. PostgreSQL creates a new
DB in a new dir, but all tables etc. are just new files within that dir,
which is probably not exactly what one wants. I can imagine it helps to
stop the DB, "cp" all files to an extra dir once, to get them
distributed over the AG's, and then "mv" them back so just the dir entry
is moved but the files stays at that other AG. Or does that sound silly?
> Note how the AG rotors around my 4 AGs in the filesystem. If the fs
> is full and aged, it may not behave exactly this way.
Does anybody have experience with an aged XFS? I've had the problem with
reiserfs, that it became slow after a certain point. It took ages to
search within a directory of MP3's containing 50.000 entries in many
directories.
> I don't have specific experience w/ PostgreSQL but if you have
> specific questions or performance problems that you run into, we can
> probably help.
Just the idea from above, to cp & mv all files once after creating to
distribute among AG's. There was just a general discussion whether XFS
is good for postgres or not. Could have been there's that "super-trick"
to speed up things by a factor of 1000... ;-)
> All good questions, thanks.
:-)
mfg zmi
--
// Michael Monnerie, Ing.BSc ----- http://it-management.at
// Tel: 0660 / 415 65 31 .network.your.ideas.
// PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4
// Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 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:[~2009-01-28 8:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-27 8:28 xfs open questions Michael Monnerie
2009-01-27 13:58 ` Eric Sandeen
2009-01-28 8:37 ` Michael Monnerie [this message]
2009-01-28 9:30 ` Mark Goodwin
2009-01-28 15:10 ` Eric Sandeen
2009-01-29 5:27 ` Mark Goodwin
2009-01-29 22:39 ` Christoph Hellwig
2009-01-28 17:04 ` Christoph Hellwig
2009-01-27 23:03 ` Michael Monnerie
2009-01-28 4:16 ` Russell Cattelan
2009-01-28 8:52 ` Michael Monnerie
2009-01-28 14:52 ` Russell Cattelan
2009-01-28 15:09 ` Russell Cattelan
2009-01-28 20:22 ` invalidated gpg signatures (was: Re: xfs open questions) Martin Steigerwald
2009-01-28 20:37 ` Iustin Pop
2009-01-28 22:44 ` Martin Steigerwald
2009-01-29 18:01 ` Michael Monnerie
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=200901280937.23743@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