All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andras Korn <korn@raidlist.elan.rulez.org>
To: linux-raid@vger.kernel.org
Subject: Re: RAID10: how much does chunk size matter? Can partial chunks be written?
Date: Sat, 5 Jan 2013 08:44:07 +0100	[thread overview]
Message-ID: <20130105074406.GB16375@hellgate> (raw)
In-Reply-To: <50E777DC.1060804@hardwarefreak.com>

On Fri, Jan 04, 2013 at 06:46:20PM -0600, Stan Hoeppner wrote:

> >> 1.  What filesystem are you using?
> > 
> > The filesystem is the "application": it's zfsonlinux. I'm putting it on
> > RAID10 instead of using the disks natively because I want to encrypt it
> > using LUKS, and encrypting each disk separately seemed wasteful of CPU (I
> > only have 3 cores).
> 
> I just love when the other shoe drops and it turns out to be a size 13
> boot... filled with lead.
> 
> Any reason why you intentionally omitted these critical details from
> your initial post?

Yes: I thought I was asking a theoretical question, not for advice on tuning
my specific setup, and thought - apparently correctly, I might add :) - that
including these details would only get everyone sidetracked into trying to
optimise for a specific application. I don't have a specific application
with a specific access pattern because I have to run all sorts of
applications on this box, on top of this array, simultaneously.

But meanwhile I think I have received an answer: the fact that zfs uses
blocks of 128k or less does not automatically mean that write performance
would suffer on a 512k-chunk RAID10 array because the Linux RAID10
implementation, very sensibly, doesn't insist on writes being aligned to
chunk boundaries.

So thanks.

-- 
                     Andras Korn <korn at elan.rulez.org>
         Reality is merely an illusion, albeit a very persistent one.

  reply	other threads:[~2013-01-05  7:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-04 17:54 RAID10: how much does chunk size matter? Can partial chunks be written? Andras Korn
2013-01-04 22:51 ` Stan Hoeppner
2013-01-04 23:41   ` Andras Korn
2013-01-05  0:27     ` Chris Murphy
2013-01-05  0:46     ` Stan Hoeppner
2013-01-05  7:44       ` Andras Korn [this message]
2013-01-05  1:30     ` Chris Murphy
2013-01-05  8:15     ` Andras Korn
2013-01-05 18:57       ` Chris Murphy
2013-01-05 21:01         ` Andras Korn
2013-01-04 23:43 ` Peter Grandi

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=20130105074406.GB16375@hellgate \
    --to=korn@raidlist.elan.rulez.org \
    --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.