linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stan Hoeppner <stan@hardwarefreak.com>
To: Roman Mamedov <rm@romanrm.ru>
Cc: "Joachim Otahal (privat)" <Jou@gmx.net>, linux-raid@vger.kernel.org
Subject: Re: RAID5 with two drive sizes question
Date: Tue, 05 Jun 2012 15:36:29 -0500	[thread overview]
Message-ID: <4FCE6DCD.7030207@hardwarefreak.com> (raw)
In-Reply-To: <20120606015950.585d5454@natsu>

On 6/5/2012 2:59 PM, Roman Mamedov wrote:
> On Tue, 05 Jun 2012 21:41:39 +0200
> "Joachim Otahal (privat)" <Jou@gmx.net> wrote:
> 
>> Use only 750GB partitions, use the 3*250 GB loss at the end of each 1 TB 
>> drive for the fourth 750 GB, and RAID6 those 8*750. Result is 4.5 TB 
>> with a one-drive-loss tolerance and really bad performance.
>> I spare you the 500 GB partitions example which result in 4.5 TB with a 
>> one-drive-loss tolerance and really bad performance.
> 
> Except this would not make any sense even as a thought experiment. You don't
> want a configuration where two or more areas of the same physical disk need to
> be accessed in parallel for any read or write to the volume. And it's pretty
> easy to avoid that.

You make a good point but your backing argument is incorrect:  XFS by
design, by default, writes to 4 equal sized regions of a disk in parallel.

The problem here is running multiple RAID arrays, especially of
different RAID levels, on the same physical disk.  Under high IO load
you end up thrashing the heads due to excessive seeking as the access
patterns are very different between the arrays.  In some situations it
may not cause problems.  In others it can.

For a home type server with light IO load you probably won't have any
problems.  For anything with a high IO load, you don't want to do this
type of RAID setup.  Anyone with such an IO load already knows this,
which is why it's typically only hobbyists who would consider using such
a configuration.

-- 
Stan

  reply	other threads:[~2012-06-05 20:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-05 17:27 RAID5 with two drive sizes question Joachim Otahal (privat)
2012-06-05 17:39 ` Roman Mamedov
2012-06-05 19:41   ` Joachim Otahal (privat)
2012-06-05 19:59     ` Roman Mamedov
2012-06-05 20:36       ` Stan Hoeppner [this message]
2012-06-05 20:48         ` Joachim Otahal (privat)
2012-06-06  4:16         ` Roman Mamedov
2012-06-07  0:39           ` Stan Hoeppner

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=4FCE6DCD.7030207@hardwarefreak.com \
    --to=stan@hardwarefreak.com \
    --cc=Jou@gmx.net \
    --cc=linux-raid@vger.kernel.org \
    --cc=rm@romanrm.ru \
    /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).