All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Rabbitson <rabbit@rabbit.us>
Cc: linux-raid@vger.kernel.org
Subject: Re: Raid1 replaced with raid10?
Date: Mon, 07 May 2007 09:02:51 +0200	[thread overview]
Message-ID: <463ECF1B.7000007@rabbit.us> (raw)
In-Reply-To: <17982.52772.893500.146509@notabene.brown>

Neil Brown wrote:
> On Monday May 7, rabbit@rabbit.us wrote:
>> Neil Brown wrote:
>>> On Friday May 4, davidsen@tmr.com wrote:
>>>> Peter Rabbitson wrote:
>>>>> Hi,
>>>>>
>>>>> I asked this question back in march but received no answers, so here it
>>>>> goes again. Is it safe to replace raid1 with raid10 where the amount of
>>>>> disks is equal to the amount of far/near/offset copies? I understand it
>>>>> has the downside of not being a bit-by-bit mirror of a plain filesystem.
>>>>> Are there any other caveats?
>>>>>   
>>> To answer the original question, I assume you mean "replace" as in
>>> "backup, create new array, then restore".
>>> You will get different performance characteristics.  Whether they
>>> better suit your needs or not will depend largely on your needs.
>> Hi Neil,
>> Yes I meant take an existing 2 drive raid1 array (non bootable data) and
>> put a raid10 array in its place. All my testing indicates that I get the
>> same write performance but nearly double the read speed (due to
>> interleaving I guess). It seemed to good to be true, thus I am asking
>> the question. Could you elaborate on your last sentence? Are there
>> downsides I could not think of? Thank you!
> 
> I would have thought that you need "far" or "offset" to improve read
> performance, and they tend to hurt write performance (though I haven't
> really measured "offset" much).
> 
> What layout are you using?
> 

Correct, I am using 'far' layout. The interleaving of the 'offset'
layout does not work too good for sequential reads, but far really
shines. Yes write performance is hurt by about 10%. Compared to 190%
gain in reads I can live with it.

  reply	other threads:[~2007-05-07  7:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-19 23:25 Raid1 replaced with raid10? Peter Rabbitson
2007-05-04 12:54 ` Peter Rabbitson
2007-05-04 15:07   ` Bill Davidsen
2007-05-07  4:15     ` Neil Brown
2007-05-07  6:49       ` Peter Rabbitson
2007-05-07  6:58         ` Neil Brown
2007-05-07  7:02           ` Peter Rabbitson [this message]
2007-05-07 21:22       ` Bill Davidsen
2007-05-07 21:29         ` Peter Rabbitson

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=463ECF1B.7000007@rabbit.us \
    --to=rabbit@rabbit.us \
    --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.