linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Robinson <john.robinson@anonymous.org.uk>
To: Bernd Schubert <bs_lists@aakef.fastmail.fm>
Cc: Linux RAID <linux-raid@vger.kernel.org>
Subject: Re: Typical RAID5 transfer speeds
Date: Sat, 19 Dec 2009 11:43:20 +0000	[thread overview]
Message-ID: <4B2CBC58.5020902@anonymous.org.uk> (raw)
In-Reply-To: <200912190205.04407.bs_lists@aakef.fastmail.fm>

On 19/12/2009 01:05, Bernd Schubert wrote:
> On Saturday 19 December 2009, Matt Tehonica wrote:
>> I have a 4 disk RAID5 using a 2048K chunk size and using XFS
> 
> 4 disks is a bad idea. You should have 2^n data disks, but you have 2^1 + 1 = 
> 3 data disks. As parity information are calculated in the power of two and 
> blocks are written in the power of two

Sorry, but where did you get that from? p = d1 xor d2 xor d3 has nothing 
to do with powers of two, and I'm sure blocks are written whenever they 
need to be, not in powers of two.

> you probably have read operations, 
> when you only want to write.

That will depend on how much data you're trying to write. With 3 data 
discs and a 2M chunk size, writes in multiples of 6M won't need reads. 
Writing a 25M file would therefore write 4 stripes and need to read to 
do the last 1M. With 4 data discs, it'd be 8M multiples, and you'd write 
3 stripes and need a read to do the last 1M. No difference.

Cheers,

John.


  parent reply	other threads:[~2009-12-19 11:43 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-19  0:37 Typical RAID5 transfer speeds Matt Tehonica
2009-12-19  1:05 ` Bernd Schubert
2009-12-19  8:30   ` Thomas Fjellstrom
2009-12-19  9:38     ` Michael Evans
2009-12-19 11:43   ` John Robinson [this message]
2009-12-19 19:18     ` Leslie Rhorer
2009-12-21 13:06       ` Goswin von Brederlow
2009-12-19 21:35 ` Roger Heflin
2009-12-20  4:21   ` Michael Evans
2009-12-20  9:55     ` Thomas Fjellstrom
2009-12-20 14:53       ` Andre Tomt
2009-12-20 16:03         ` Thomas Fjellstrom
2009-12-20 18:28     ` Roger Heflin
2009-12-21  1:18       ` Michael Evans
2009-12-21  1:50         ` Richard Scobie
2009-12-21 11:30           ` Asdo
2009-12-21 18:28             ` Richard Scobie
2009-12-20 10:04 ` Erwan MAS
2009-12-20 10:31   ` Keld Jørn Simonsen
2009-12-20 15:25 ` Andre Tomt

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=4B2CBC58.5020902@anonymous.org.uk \
    --to=john.robinson@anonymous.org.uk \
    --cc=bs_lists@aakef.fastmail.fm \
    --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 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).