From: Joe Landman <joe.landman@gmail.com>
To: linux-raid@vger.kernel.org
Subject: Re: standard performance (write speed 20Mb/s)
Date: Wed, 27 Jul 2011 08:35:13 -0400 [thread overview]
Message-ID: <4E300601.4070306@gmail.com> (raw)
In-Reply-To: <4E2FE7DF.1020906@anonymous.org.uk>
On 07/27/2011 06:26 AM, John Robinson wrote:
> On 27/07/2011 11:22, Stan Hoeppner wrote:
>> On 7/27/2011 12:42 AM, Simon Matthews wrote:
>>> On Sun, Jul 17, 2011 at 5:11 AM, John Robinson
>>> <john.robinson@anonymous.org.uk> wrote:
>>>
>>>> Pretty poor. CentOS 5, Intel ICH10, md RAID 6 over 5 7200rpm 1TB
>>>> drives,
>>>> then LVM, then ext3:
>>>> # dd if=/dev/zero of=test bs=4096 count=262144
no
oflag=direct
or
sync
date
dd if=/dev/zero of=test bs=4096 count=262144 ...
sync
date
and then a difference between the time stamps ...
>>>> 262144+0 records in
>>>> 262144+0 records out
>>>> 1073741824 bytes (1.1 GB) copied, 2.5253 seconds, 425 MB/s
This is purely file cache performance you have measured, nothing else.
[...]
> Gentlemen, we've been round this loop before about 10 days ago. Pol's 20
> MB/s was poor because he was testing on an array with unaligned
Using a huge blocksize (anything greater than 1/10th ram) isn't terribly
realistic from an actual application point of view in *most* cases. A
few corner cases maybe, but not in most cases.
Testing on a rebuilding array gives you a small fraction of the
available bandwidth ... typically you will see writes (cached) perform
better than reads in these cases, but its not a measurement that tells
you much more than performance during a rebuild.
Unaligned perform is altogether too common, though for streaming access,
isn't normally terribly significant, as the first non-alignment access
cost is amortized against many sequential accesses. Its a bad thing for
more random workloads.
> partitions and a resync was running, my 425 MB/s was a bad test because
> it didn't use fdatasync or direct and I said dd was a bad test anyway,
> etc etc.
dd's not a terrible test. Its a very quick and dirty indicator of a
problem in the event of an issue, if used correctly. Make sure you are
testing IO sizes of 2 or more times ram size, with sync's at the end,
and use date stamps to verify timing.
bonnie++, the favorite of many people, isn't a great IO generator. Nor
is iozone, etc. The best tests are ones that match your use cases.
Finding these are hard.
We like fio, as we can construct models of use cases and run them again
and again. Cached, uncached, etc. Makes for very easy and repeatable
testing.
--
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics, Inc.
email: landman@scalableinformatics.com
web : http://scalableinformatics.com
http://scalableinformatics.com/sicluster
phone: +1 734 786 8423 x121
fax : +1 866 888 3112
cell : +1 734 612 4615
next prev parent reply other threads:[~2011-07-27 12:35 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-16 19:40 standard performance (write speed 20Mb/s) Pol Hallen
2011-07-17 4:26 ` Stan Hoeppner
2011-07-17 8:12 ` Pol Hallen
2011-07-17 12:11 ` John Robinson
2011-07-17 12:22 ` Iustin Pop
2011-07-17 12:51 ` John Robinson
2011-07-17 13:28 ` Iustin Pop
2011-07-18 9:04 ` John Robinson
2011-07-17 22:05 ` Stan Hoeppner
2011-07-27 5:42 ` Simon Matthews
2011-07-27 5:46 ` Roman Mamedov
2011-07-27 10:22 ` Stan Hoeppner
2011-07-27 10:26 ` John Robinson
2011-07-27 12:35 ` Joe Landman [this message]
2011-07-27 13:54 ` Stan Hoeppner
2011-07-17 23:03 ` Stan Hoeppner
2011-07-18 11:52 ` Pol Hallen
2011-07-21 17:07 ` standard performance (write speed ??Mb/s) - new raid5 array Pol Hallen
2011-07-22 0:05 ` Stan Hoeppner
2011-07-22 7:08 ` Pol Hallen
2011-07-22 8:13 ` Erwan Leroux
2011-07-17 16:48 ` standard performance (write speed 20Mb/s) Gordon Henderson
-- strict thread matches above, loose matches on Subject: below --
2011-07-18 12:03 Pol Hallen
2011-07-20 12:31 ` Stan Hoeppner
2011-07-20 20:02 ` Pol Hallen
[not found] ` <CADNH=7HR7euaWem0tpLxJfRe0hYnRP5fwxJ6MC5vJeNf=T=PzA@mail.gmail.com>
2011-07-21 0:02 ` Stan Hoeppner
2011-07-21 6:57 ` Mathias Burén
2011-07-21 8:55 ` Erwan Leroux
2011-07-21 15:06 ` Paweł Brodacki
2011-07-21 15:30 ` Erwan Leroux
2011-07-21 15:42 ` Erwan Leroux
2011-07-25 6:39 ` Paweł Brodacki
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=4E300601.4070306@gmail.com \
--to=joe.landman@gmail.com \
--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).