From: Dave Chinner <david@fromorbit.com>
To: Stan Hoeppner <stan@hardwarefreak.com>
Cc: Dave Hall <kdhall@binghamton.edu>, "xfs@oss.sgi.com" <xfs@oss.sgi.com>
Subject: Re: xfs_fsr, sunit, and swidth
Date: Fri, 15 Mar 2013 22:45:38 +1100 [thread overview]
Message-ID: <20130315114538.GF6369@dastard> (raw)
In-Reply-To: <5142AE40.6040408@hardwarefreak.com>
On Fri, Mar 15, 2013 at 12:14:40AM -0500, Stan Hoeppner wrote:
> On 3/14/2013 9:59 AM, Dave Hall wrote:
> Looks good. 75% is close to tickling the free space fragmentation
> dragon but you're not there yet.
Don't be so sure ;)
>
> > Filesystem Inodes IUsed IFree IUse% Mounted on
> > /dev/sdb1 5469091840 1367746380 4101345460 26% /infortrend
>
> Plenty of free inodes.
>
> > # xfs_db -r -c freesp /dev/sdb1
> > from to extents blocks pct
> > 1 1 832735 832735 0.05
> > 2 3 432183 1037663 0.06
> > 4 7 365573 1903965 0.11
> > 8 15 352402 3891608 0.23
> > 16 31 332762 7460486 0.43
> > 32 63 300571 13597941 0.79
> > 64 127 233778 20900655 1.21
> > 128 255 152003 27448751 1.59
> > 256 511 112673 40941665 2.37
> > 512 1023 82262 59331126 3.43
> > 1024 2047 53238 76543454 4.43
> > 2048 4095 34092 97842752 5.66
> > 4096 8191 22743 129915842 7.52
> > 8192 16383 14453 162422155 9.40
> > 16384 32767 8501 190601554 11.03
> > 32768 65535 4695 210822119 12.20
> > 65536 131071 2615 234787546 13.59
> > 131072 262143 1354 237684818 13.76
> > 262144 524287 470 160228724 9.27
> > 524288 1048575 74 47384798 2.74
> > 1048576 2097151 1 2097122 0.12
>
> Your free space map isn't completely horrible given you're at 75%
> capacity. Looks like most of it is in chunks 32MB and larger. Those
> 14.8m files have a mean size of ~1.22MB which suggests most of the files
> are small, so you shouldn't be having high seek load (thus latency)
> during allocation.
FWIW, you can't really tell how bad the freespace fragmentation is
from the global output like this. All of the large contiguous free
space might be in one or two AGs, and the others might be badly
fragmented. Hence you need to at least sample a few AGs to determine
if this is representative of the freespace in each AG....
As it is, the above output raises alarms for me. What I see is that
the number of small extents massively outnumbers the large extents.
The fact that there are roughly 2.5 million extents smaller than 63
blocks and that there is only one freespace extent larger than 4GB
indicates to me that free space is substantially fragmented. At 25%
free space, that's 250GB per AG, and if the largest freespace in
most AGs is less than 4GB in length, then free space is not
contiguous. i.e. Free space appears to be heavily weighted towards
small extents...`
So, the above output would lead me to investigate the freespace
layout more deeply to determine if this is going to affect the
workload that is being run...
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:[~2013-03-15 11:45 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-13 18:11 xfs_fsr, sunit, and swidth Dave Hall
2013-03-13 23:57 ` Dave Chinner
2013-03-14 0:03 ` Stan Hoeppner
[not found] ` <514153ED.3000405@binghamton.edu>
2013-03-14 12:26 ` Stan Hoeppner
2013-03-14 12:55 ` Stan Hoeppner
2013-03-14 14:59 ` Dave Hall
2013-03-14 18:07 ` Stefan Ring
2013-03-15 5:14 ` Stan Hoeppner
2013-03-15 11:45 ` Dave Chinner [this message]
2013-03-16 4:47 ` Stan Hoeppner
2013-03-16 7:21 ` Dave Chinner
2013-03-16 11:45 ` Stan Hoeppner
2013-03-25 17:00 ` Dave Hall
2013-03-27 21:16 ` Stan Hoeppner
2013-03-29 19:59 ` Dave Hall
2013-03-31 1:22 ` Dave Chinner
2013-04-02 10:34 ` Hans-Peter Jansen
2013-04-03 14:25 ` Dave Hall
2013-04-12 17:25 ` Dave Hall
2013-04-13 0:45 ` Dave Chinner
2013-04-13 0:51 ` Stan Hoeppner
2013-04-15 20:35 ` Dave Hall
2013-04-16 1:45 ` Stan Hoeppner
2013-04-16 16:18 ` Dave Chinner
2015-02-22 23:35 ` XFS/LVM/Multipath on a single RAID volume Dave Hall
2015-02-23 11:18 ` Emmanuel Florac
2015-02-24 22:04 ` Dave Hall
2015-02-24 22:33 ` Dave Chinner
[not found] ` <54ED01BC.6080302@binghamton.edu>
2015-02-24 23:33 ` Dave Chinner
2015-02-25 11:49 ` Emmanuel Florac
2015-02-25 11:21 ` Emmanuel Florac
2013-03-28 1:38 ` xfs_fsr, sunit, and swidth 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=20130315114538.GF6369@dastard \
--to=david@fromorbit.com \
--cc=kdhall@binghamton.edu \
--cc=stan@hardwarefreak.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