Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Chris Mason <chris.mason@fusionio.com>
To: Bernd Schubert <bernd.schubert@itwm.fraunhofer.de>,
	"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: raid6: rmw writes all the time?
Date: Thu, 23 May 2013 09:11:18 -0400	[thread overview]
Message-ID: <20130523131118.4907.45217@localhost.localdomain> (raw)
In-Reply-To: <knl3ke$n7t$1@ger.gmane.org>

Quoting Bernd Schubert (2013-05-23 08:55:47)
> Hi all,
> 
> we got a new test system here and I just also tested btrfs raid6 on 
> that. Write performance is slightly lower than hw-raid (LSI megasas) and 
> md-raid6, but it probably would be much better than any of these two, if 
> it wouldn't read all the during the writes. Is this a known issue? This 
> is with linux-3.9.2.

Hi Bernd,

Any time you do a write smaller than a full stripe, we'll have to do a
read/modify/write cycle to satisfy it.  This is true of md raid6 and the
hw-raid as well, but their reads don't show up in vmstat (try iostat
instead).

So the bigger question is where are your small writes coming from.  If
they are metadata, you can use raid1 for the metadata.

-chris


  reply	other threads:[~2013-05-23 13:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-23 12:55 raid6: rmw writes all the time? Bernd Schubert
2013-05-23 13:11 ` Chris Mason [this message]
2013-05-23 13:22   ` Bernd Schubert
2013-05-23 13:34     ` Chris Mason
2013-05-23 19:33       ` Bernd Schubert
2013-05-23 19:37         ` Chris Mason
2013-05-23 19:45           ` Bernd Schubert
2013-05-23 20:33             ` Chris Mason
2013-05-24  8:35               ` Bernd Schubert
2013-05-24 12:40                 ` Chris Mason
2013-05-23 13:41     ` Bob Marley
2013-05-23 16:30       ` Bernd Schubert

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=20130523131118.4907.45217@localhost.localdomain \
    --to=chris.mason@fusionio.com \
    --cc=bernd.schubert@itwm.fraunhofer.de \
    --cc=linux-btrfs@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