From: Robin Hill <robin@robinhill.me.uk>
To: linux-raid@vger.kernel.org
Subject: Re: Software RAID5 Horrible Write Speed On 3ware Controller!!
Date: Wed, 18 Jul 2007 13:51:16 +0100 [thread overview]
Message-ID: <20070718125116.GB29835@cthulhu.home.robinhill.me.uk> (raw)
In-Reply-To: <469DF8D3.8020908@theendofthetunnel.de>
[-- Attachment #1: Type: text/plain, Size: 1379 bytes --]
On Wed Jul 18, 2007 at 01:26:11PM +0200, Hannes Dorbath wrote:
> I think what you might be experiencing is that XFS can read su,sw values
> from the MD device and will automatically optimize itself, while it
> can't do that for the HW RAID device. It is absolutely essential to
> align your file system, to prevent implicit reads, needed for parity
> calculations.
>
> Set su to the stripe size you have configured in your controller (like
> 128K) and sw to 9 (for a 10 disk RAID 5 array).
>
Just to pick up on this one (as I'm about to reformat my array as XFS) -
does this actually work with a hardware controller? Is there any
assurance that the XFS stripes align with the hardware RAID stripes? Or
could you just end up offsetting everything so that every 128k chunk on
the XFS side of things fits half-and-half into two hardware raid chunks
(especially if the array has been partitioned)? In which case would
it be better (performance-wise) to provide the su,sw values or not?
I'm planning on doing some benchmarking first but thought I'd check
whether there's any definitive answers first.
Cheers,
Robin
--
___
( ' } | Robin Hill <robin@robinhill.me.uk> |
/ / ) | Little Jim says .... |
// !! | "He fallen in de water !!" |
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2007-07-18 12:51 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-18 10:23 Software RAID5 Horrible Write Speed On 3ware Controller!! Justin Piszcz
2007-07-18 10:49 ` Hannes Dorbath
2007-07-18 16:26 ` Justin Piszcz
2007-07-18 17:18 ` Bryan J. Smith
2007-07-18 10:59 ` Al Boldi
2007-07-18 12:01 ` Justin Piszcz
2007-07-18 11:05 ` Gabor Gombas
2007-07-18 11:19 ` Justin Piszcz
2007-07-18 11:26 ` Hannes Dorbath
2007-07-18 11:32 ` Justin Piszcz
2007-07-18 11:37 ` Hannes Dorbath
2007-07-18 11:38 ` Justin Piszcz
2007-07-18 12:51 ` Robin Hill [this message]
2007-07-18 14:26 ` Gabor Gombas
2007-07-18 11:17 ` Giuseppe Ghibò
2007-07-18 11:20 ` Justin Piszcz
2007-07-18 17:57 ` Bryan J. Smith
2007-07-18 11:26 ` Sander
2007-07-18 11:35 ` Justin Piszcz
2007-07-18 12:09 ` Sander
2007-07-18 12:19 ` Justin Piszcz
2007-07-18 13:32 ` Sander
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=20070718125116.GB29835@cthulhu.home.robinhill.me.uk \
--to=robin@robinhill.me.uk \
--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).