From: Markus Stockhausen <stockhausen@collogia.de>
To: John Stoffel <john@stoffel.org>
Cc: "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: AW: [PATCH v3 5/6] md/raid5: activate raid6 rmw feature
Date: Sun, 24 Aug 2014 17:22:55 +0000 [thread overview]
Message-ID: <12EF8D94C6F8734FB2FF37B9FBEDD1735863FC91@EXCHANGE.collogia.de> (raw)
In-Reply-To: <21497.57016.978419.117894@quad.stoffel.home>
[-- Attachment #1: Type: text/plain, Size: 1419 bytes --]
> Von: John Stoffel [john@stoffel.org]
> Gesendet: Sonntag, 24. August 2014 14:46
> An: Markus Stockhausen
> Cc: linux-raid@vger.kernel.org
> Betreff: Re: [PATCH v3 5/6] md/raid5: activate raid6 rmw feature
> ...
> Also, how does the patch look when you have a simple 4 disk RAID6 array?
> I would hope that since the parity overhead is much higher, it would show
> more improvement as well.
Maybe I did not explain exactly what this patch is for. To boil it down to four
short and simple key facts.
- The current kernel implementation of RAID6 is very I/O expensive for small
changes. We always need to read all unchanged blocks of the same stripe,
recalulate the parity and write the new data block plus two parities. So a single
block change will produce n (number of disks) I/Os. The source code calls it
RCU - reconstruct write.
- With the patch we will only read the old data of the to be changed block & the
parities, recalculate the parities with the new data and rewrite everthing back. A
single block change will only have 6 I/Os regardless of the number of disks. It
is called RMW - read modify write.
- This patch will only kick in if you have 7 or more disks in a RAID6. And ONLY
if I/Os RMW < I/Os RCU. This should answer your question above.
- The more disks we have and the smaller the changed data is the more benefit
we will get from that patch.
Markus=
[-- Attachment #2: InterScan_Disclaimer.txt --]
[-- Type: text/plain, Size: 1650 bytes --]
****************************************************************************
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
Ãber das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.
Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln
Vorstand:
Kadir Akin
Dr. Michael Höhnerbach
Vorsitzender des Aufsichtsrates:
Hans Kristian Langva
Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.
Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln
executive board:
Kadir Akin
Dr. Michael Höhnerbach
President of the supervisory board:
Hans Kristian Langva
Registry office: district court Cologne
Register number: HRB 52 497
****************************************************************************
next prev parent reply other threads:[~2014-08-24 17:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-24 8:12 [PATCH v3 5/6] md/raid5: activate raid6 rmw feature Markus Stockhausen
2014-08-24 12:46 ` John Stoffel
2014-08-24 17:22 ` Markus Stockhausen [this message]
2014-08-25 3:06 ` AW: " John Stoffel
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=12EF8D94C6F8734FB2FF37B9FBEDD1735863FC91@EXCHANGE.collogia.de \
--to=stockhausen@collogia.de \
--cc=john@stoffel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox