From: Matthieu Patou <mat@matws.net>
To: linux-raid@vger.kernel.org
Subject: Random IO with md raid
Date: Sat, 05 Dec 2009 01:31:22 +0300 [thread overview]
Message-ID: <4B198DBA.5000906@matws.net> (raw)
Hello,
I'm reviewing one new server with a 3ware 9690 controller where I've got
a couple of sata drives connected.
In order to see how software raid behave in comparaison with a the raid
controller I setup 3 volume:
* 1 raid 1 volume of 2 1TB hard drive
* 2 single volume of 1 TB hard drive each
I assemble the 2 single volume in a raid 1 volume
Both are formatted in XFS mounted noatime and nobarrier.
Sequentials reads and writes are quite similar between software raid and
3ware raid.
But when it comes to random writes and random reads I find something
strange.
The memory is 1G so I made iozone use 2G file with 4k block
On 3ware (in operation by second)
Random read: 193
Random write: 1232
On md
Random read: 178
Random write: 361
First I am bit worried that I can manage to get such good random result
with the 3ware card I guess I am seeing some cache effect (there is 256
MB on the card)
Also I'm surprised that the software raid is not able to take advantage
of this cache effect in the same proportion (1 to 4).
I've been searching internet for tips on raid tunning but it turns out
it's mostly for sequential access (ie. like readahead).
Does anyone has an any idea ?
Matthieu.
next reply other threads:[~2009-12-04 22:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-04 22:31 Matthieu Patou [this message]
2009-12-05 14:20 ` Random IO with md raid Asdo
2009-12-07 22:59 ` Matthieu Patou
2009-12-09 16:36 ` Goswin von Brederlow
2009-12-14 9:06 ` Matthieu Patou
2009-12-14 10:13 ` Michael Evans
2009-12-16 11:32 ` 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=4B198DBA.5000906@matws.net \
--to=mat@matws.net \
--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).