All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Brown <david.brown@hesbynett.no>
To: linux-raid@vger.kernel.org
Subject: Re: raid1 mirror optimizations
Date: Wed, 26 Jan 2011 22:08:58 +0100	[thread overview]
Message-ID: <ihq2ha$q0k$1@dough.gmane.org> (raw)
In-Reply-To: <g6v518-37d.ln1@oberon.scorpius.lan>

On 26/01/11 17:37, Oliver Brakmann wrote:
> On 2011-01-26 16:39, Roberto Spadim wrote:
>> i don't know what layout does, but, does raid1 have layout?
>
> No, only raid10 has different layouts.  For an explanation, see David's
> mail, or take a look at the Wikipedia entry for non-standard RAID
> levels, it illustrates the idea of the different layouts quite well,
> IMO: http://en.wikipedia.org/wiki/Non-standard_RAID_levels#Linux_MD_RAID_10
>

There are also different layouts for raid5 and raid6, though I don't 
think they make much difference unless you are doing something odd like 
trying to make your mdadm raid5/6 layout exactly match that of some 
hardware raid controller.  There are also special layouts that are used 
as intermediary steps in converting between raid5 and raid6 - you won't 
want to touch these.

So raid10 is the only level with /useful/ layout options.  The different 
options can make a measurable speed difference, with the best choice 
depending on the load.  The "far 2" layout is, I think, the best choice 
for common ready-heavy loads.



  reply	other threads:[~2011-01-26 21:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-25 18:56 raid1 mirror optimizations Roberto Spadim
2011-01-25 20:19 ` Oliver Brakmann
2011-01-26 15:39   ` Roberto Spadim
2011-01-26 16:37     ` Oliver Brakmann
2011-01-26 21:08       ` David Brown [this message]
2011-01-26  9:49 ` David Brown
2011-01-26 14:18   ` Roberto Spadim

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='ihq2ha$q0k$1@dough.gmane.org' \
    --to=david.brown@hesbynett.no \
    --cc=linux-raid@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.