From: Dave Chinner <david@fromorbit.com>
To: Eric Sandeen <sandeen@sandeen.net>
Cc: xfs@oss.sgi.com, Jan Wagner <jwagner@kurp.hut.fi>
Subject: Re: mkfs.xfs with a 9TB realtime volume hangs
Date: Sun, 11 Jan 2009 21:35:28 +1100 [thread overview]
Message-ID: <20090111103528.GA8071@disturbed> (raw)
In-Reply-To: <49690F73.1070908@sandeen.net>
On Sat, Jan 10, 2009 at 03:13:23PM -0600, Eric Sandeen wrote:
> Jan Wagner wrote:
> > Hi,
> >
> > I have a RAID0 with 11x750GB+1x1TB components in the following
> > partitionable-md test setup
> >
> > root@abidal:~# cat /proc/partitions | grep md
> > 254 0 9035047936 md_d0
> > 254 1 124983 md_d0p1
> > 254 2 1828125 md_d0p2
> > 254 3 1953125 md_d0p3
> > 254 4 9031141669 md_d0p4
> >
> > Essentially, four partitions: 128MB, ~1.9GB, 2GB, 9TB. I'd like to use the
> > 1.9GB partition for xfs and put a realtime subvolume onto the same raid0
> > onto the 9TB partition. The partition tables are GDT instead of MBR to be
> > able to have >=2TB partitions.
>
> Sorry for the slow/no reply. It seems to be doing many calculations in
> rtinit, haven't sorted out what yet, but it's not likely hung, it's
> workin hard. :)
>
> If you give it a larger extsize it should go faster (if the larger
> extsize is acceptable for your use...)
>
> I tried a 4t realtime volume:
>
> mkfs.xfs -dfile,name=fsfile,size=1g -rfile,name=rtfile,size=4t,extsize=$SIZE
>
> for a few different extent sizes, and got
>
> extsize time
> ------- ----
> 512k 0.3s
> 256k 0.7s
> 128k 1.9s
> 64k 8.4s
> 32k 25.4s
> 16k 129.4s
>
> With the default 4k extent size this takes forever (the man page claims
> default is 64k, maybe this got broken at some point).
It got changed a few years back by Nathan, IIRC. I bet the time
being taken a result of the blow-out in bitmap size caused by reducing
the extent size. Given it is non-linear, it may have something to do
with cache sizes as well. e.g buftarg hashes not large enough.
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2009-01-11 10:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-14 10:41 mkfs.xfs with a 9TB realtime volume hangs Jan Wagner
2009-01-10 21:13 ` Eric Sandeen
2009-01-11 10:35 ` Dave Chinner [this message]
2009-01-11 13:46 ` Eric Sandeen
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=20090111103528.GA8071@disturbed \
--to=david@fromorbit.com \
--cc=jwagner@kurp.hut.fi \
--cc=sandeen@sandeen.net \
--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