linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Ewen McNeill <xfs@ewen.mcneill.gen.nz>
Cc: linux-xfs@vger.kernel.org
Subject: Re: Rationale for hardware RAID 10 su, sw values in FAQ
Date: Thu, 28 Sep 2017 11:39:49 +1000	[thread overview]
Message-ID: <20170928013949.GF3666@dastard> (raw)
In-Reply-To: <c7ade829-9385-c517-581b-8dc73def5693@mcneill.gen.nz>

On Thu, Sep 28, 2017 at 12:36:39PM +1300, Ewen McNeill wrote:
> Hi Dave,
> 
> On 27/09/17 17:33, Dave Chinner wrote:
> >On Wed, Sep 27, 2017 at 02:56:16PM +1300, Ewen McNeill wrote:
> >>As a suggestion the FAQ section [hint at reason for RAID10 sw=N/2]
> >
> >This assumes the reader understands exactly how RAID works and how
> >the different types of RAID affect IO performance. The FAQ simply
> >tries to convey how to get it right without going into the
> >complicated reasons for doing it that way.
> 
> Fair enough.
> 
> However, as a "sysadmin searching for answers" it is.... difficult
> to judge the up-to-date-ness and accuracy of "use these magic
> values" tuning information without some insight into why and thus
> whether those values (a) are still applicable with modern
> software/hardware or (b) applicable in one's own situation.
> Particularly so when one has already read N different variations on
> recommendations, all without justification, some with conflicting
> (or confused) advice.

Yeah, searching for information doesn't help these days - engines
like google are bloody terrible at finding relevant, useful answers
to technical questions these days....

> If the FAQ isn't the right place to even hint at the reasons, then
> it would at least be very helpful if the FAQ said "see this
> $REFERENCE for more information" and said $REFERENCE had some more
> "behind the scenes" information.

*nod*

> >https://git.kernel.org/pub/scm/fs/xfs/xfs-documentation.git/tree/admin/XFS_Performance_Tuning/filesystem_tunables.asciidoc
> >
> >You'll see the section about all this reads: [TODO]
> >because nobody (well, me, really) has had the time to write
> >everything down that is needed to cover this topic sufficiently...
> 
> Perhaps the perfect is the enemy of the good here.

It always is :)

> Would it help if
> I were to write up some text covering:
> 
> - key storage alignment tuning aims (avoid work amplification, eg
> RMW; avoid hot spots; increase parallelism)
> 
> - summary of physical storage technology concerns (4K sectors, seek
> latency, SSD erase blocks)
> 
> - summary of considerations for RAID levels (1 - none; 0 - hot
> spots; 5/6 RMW, hot spots; 10 - hot spots; stripe size/width)
> 
> - summary of storage virtualisation considerations on alignment (eg, LVM)
> 
> - high level advice on determining su/sw given the above, and short
> rationale for each formula
> 
> - some observations on unit confusion (sunit/su swidth/sw, values
> supplied in 512 byte sectors / kB versus reported in usually 4kB
> blocks)
> 
> I'm obviously not an expert in filesystem layout optimisation.  But
> I have many years sysadmin experience dealing with lots of types of
> storage, and can write a couple of pages of text on the "background"
> bits next time I have a free moment.  The more advanced tunables
> could remain "todo" until there's time for the perfect version...

That sounds like an excellent idea. The documentation always ends up
more useful to end users and admins when it is written by a user
rather than a developer.

> (No promises when, but "October" seems plausible if this would be useful.)

Sounds good to me.

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

  reply	other threads:[~2017-09-28  1:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-26  8:54 Rationale for hardware RAID 10 su, sw values in FAQ Ewen McNeill
2017-09-27  0:43 ` Dave Chinner
2017-09-27  1:56   ` Ewen McNeill
2017-09-27  4:33     ` Dave Chinner
2017-09-27 23:36       ` Ewen McNeill
2017-09-28  1:39         ` Dave Chinner [this message]
2017-09-28 10:53         ` Emmanuel Florac
2017-09-28 11:07           ` Dave Chinner
2017-12-19  2:19         ` Ewen McNeill
2017-12-20 22:29           ` Dave Chinner
2018-02-06  1:56             ` Storage considerations for XFS layout documentation (was Re: Rationale for hardware RAID 10 su, sw values in FAQ) Ewen McNeill

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=20170928013949.GF3666@dastard \
    --to=david@fromorbit.com \
    --cc=linux-xfs@vger.kernel.org \
    --cc=xfs@ewen.mcneill.gen.nz \
    /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;
as well as URLs for NNTP newsgroup(s).