All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Keld Jørn Simonsen" <keld@dkuug.dk>
To: Peter Grandi <pg_lxra@lxra.for.sabi.co.UK>
Cc: Linux RAID <linux-raid@vger.kernel.org>
Subject: Re: striping of a 4 drive raid10
Date: Sun, 27 Jan 2008 22:43:08 +0100	[thread overview]
Message-ID: <20080127214308.GA14643@rap.rap.dk> (raw)
In-Reply-To: <18332.58743.852744.907807@tree.ty.sabi.co.UK>

On Sun, Jan 27, 2008 at 08:11:35PM +0000, Peter Grandi wrote:
> >>> On Sun, 27 Jan 2008 20:33:45 +0100, Keld Jørn Simonsen
> >>> <keld@dkuug.dk> said:
> 
> keld> Hi I have tried to make a striping raid out of my new 4 x
> keld> 1 TB SATA-2 disks. I tried raid10,f2 in several ways:
> 
> keld> 1: md0 = raid10,f2 of sda1+sdb1, md1= raid10,f2 of sdc1+sdd1, md2 = raid0
> keld>    of md0+md1
> keld> 2: md0 = raid0 of sda1+sdb1, md1= raid0 of sdc1+sdd1, md2 = raid01,f2
> keld>    of md0+md1
> keld> 3: md0 = raid10,f2 of sda1+sdb1, md1= raid10,f2 of sdc1+sdd1, chunksize of 
> keld>    md0 =md1 =128 KB,  md2 = raid0 of md0+md1 chunksize = 256 KB
> keld> 4: md0 = raid0 of sda1+sdb1, md1= raid0 of sdc1+sdd1, chunksize
> keld>    of md0 = md1 = 128 KB, md2 = raid01,f2 of md0+md1 chunksize = 256 KB
> 
> These stacked RAID levels don't make a lot of sense.
> 
> keld> 5: md0= raid10,f4 of sda1+sdb1+sdc1+sdd1
> 
> This also does not make a lot of sense. Why have four mirrors
> instead of two?

My error, I did mean f2.

Anyway 4 mirrors would make the disk 2 times faster than 2 disks, and given disk
prices these days this could make a lot of sense.

> Instead, try 'md0 = raid10,f2' for example. The first mirror of
> will be striped across the outer half of all four drives, and
> the second mirrors will be rotated in the inner half of each
> drive.
> 
> Which of course means that reads will be quite quick, but writes
> and degraded operation will be slower.
> 
> Consider this post for more details:
> 
>   http://www.spinics.net/lists/raid/msg18130.html

Thanks for the reference.

There is also more in the original article on possible layouts of what
is now known as raid10,f2

http://marc.info/?l=linux-raid&m=107427614604701&w=2

including performance enhancements due to use of the faster outer
sectors, and smaller average seek times because you can seek on only
half the disk.

best regards
keld
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2008-01-27 21:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-27 19:33 striping of a 4 drive raid10 Keld Jørn Simonsen
2008-01-27 20:11 ` Peter Grandi
2008-01-27 21:43   ` Keld Jørn Simonsen [this message]
2008-01-27 20:20 ` Neil Brown
     [not found]   ` <479E1FD0.4000702@tmr.com>
2008-01-28 19:03     ` Keld Jørn Simonsen
     [not found] ` <18332.58858.191866.347099@notabene.brown>
2008-01-27 20:48   ` Keld Jørn Simonsen
2008-01-27 21:57     ` Neil Brown
2008-01-28 18:24     ` Bill Davidsen

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=20080127214308.GA14643@rap.rap.dk \
    --to=keld@dkuug.dk \
    --cc=linux-raid@vger.kernel.org \
    --cc=pg_lxra@lxra.for.sabi.co.UK \
    /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.