From: jim owens <jowens@hp.com>
To: mark delfman <markdelfman@googlemail.com>
Cc: Bill Davidsen <davidsen@tmr.com>,
Linux RAID Mailing List <linux-raid@vger.kernel.org>
Subject: Re: MD performance options: More CPU’s or more Hz’s?
Date: Wed, 04 Nov 2009 14:09:43 -0500 [thread overview]
Message-ID: <4AF1D177.6020200@hp.com> (raw)
In-Reply-To: <66781b10911040926i20ebdc5x27fa113562705890@mail.gmail.com>
mark delfman wrote:
> I think this is a great point... i had not thought of the extra two
> chunks of data being written... BUT, not sure if in this case it is
> the limiter as we are using 12 drives.
Disclaimer... I'm a filesystem guy not a raid guy, so someone
who is may say I'm completely wrong.
IMO 12 drives actually makes raid6 performance much worst.
Think it through, raid0 writes are substripe granularity,
raid6 must either write all 12 (10 data, 2 check) stripes
at once or if you write 1 stripe, read 9 data stripes to
build and write the 2 check stripes.
The problem is even if you have a good application sending
writes in the 10-stripe-length-multiples of the set, the
kernel layers may chunk it and deliver it to md in smaller
random sizes.
Unless it is a single stream writing and md buffers the
whole stripe set, writes will cause md reads.
And you will never have a single stream from a filesystem
because metadata will be updated at some point. You can
minimize that by only doing overwrites. Allocating writes
are terrible in all filesystems because a lot of metadata
has to be modified. Metadata writes are also a performance
killer because they are small (usually under 1 stripe) and
always cause seeks.
> the hardware does bottleneck at around 1.6GBs for writes (reaches this
> with 8 / 9 drives).
So compare at 8 drives using raw writes of 6-stripe-lengths
where raid0 uses a 4 transfers for each 3 raid6 transfers.
jim
next prev parent reply other threads:[~2009-11-04 19:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-04 9:49 MD performance options: More CPU’s or more Hz’s? mark delfman
2009-11-04 12:08 ` Sujit K M
2009-11-04 12:19 ` mark delfman
2009-11-04 14:05 ` Bill Davidsen
2009-11-04 14:34 ` mark delfman
2009-11-04 15:41 ` jim owens
2009-11-04 15:45 ` jim owens
2009-11-04 15:56 ` jim owens
2009-11-04 17:26 ` mark delfman
2009-11-04 19:09 ` jim owens [this message]
2009-11-05 12:34 ` MD performance options: More CPUs or more Hzs? Goswin von Brederlow
2009-11-04 14:39 ` MD performance options: More CPU’s or more Hz’s? John Hughes
2009-11-09 17:24 ` Bill Davidsen
2009-11-09 17:37 ` John Hughes
2009-11-04 15:01 ` MD performance options: More CPUs or more Hzs? Goswin von Brederlow
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=4AF1D177.6020200@hp.com \
--to=jowens@hp.com \
--cc=davidsen@tmr.com \
--cc=linux-raid@vger.kernel.org \
--cc=markdelfman@googlemail.com \
/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).