From: John Robinson <john.robinson@anonymous.org.uk>
To: Seth Jennings <spartacus06@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Help please: 2-5 tps on write with 98% iowait
Date: Wed, 25 Jan 2012 19:03:02 +0000 [thread overview]
Message-ID: <4F2051E6.1020203@anonymous.org.uk> (raw)
In-Reply-To: <CAG-w=x54HyGxnjSHjBCpqYXvOOwpWd4dOHCJBYTTuvPHu_ViCA@mail.gmail.com>
On 25/01/2012 18:15, Seth Jennings wrote:
[...]
> write /home:
>
> dd if=/dev/zero of=zeroes
> <ctrl-c>
> 208385+0 records in
> 208384+0 records out
> 106692608 bytes (107 MB) copied, 27.6739 s, 3.9 MB/s
[...]
> so writing is aweful (2-5 tps per disk with 98% iowait?!).
>
> write /dev/sdc1 (non-raid part in /dev/sdc)
>
> dd if=/dev/zero of=zeroes bs=4096 count=100000
> 100000+0 records in
> 100000+0 records out
> 409600000 bytes (410 MB) copied, 2.64131 s, 155 MB/s
[...]
> so writing to non-raid partition of one of the disks is good.
You should be comparing apples with apples. Try the single drive test
again without bs=4096, the md test again with bs=4096, then both again
with bs=64K, bs=192K, bs=1M.
Cheers,
John.
next prev parent reply other threads:[~2012-01-25 19:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-25 18:15 Help please: 2-5 tps on write with 98% iowait Seth Jennings
2012-01-25 19:03 ` John Robinson [this message]
2012-01-25 19:04 ` Doug Dumitru
2012-01-26 20:21 ` Stan Hoeppner
2012-01-26 21:57 ` Trevor Cordes
2012-01-27 2:18 ` Stan Hoeppner
2012-01-27 2:38 ` Roger Heflin
2012-01-27 2:42 ` Seth Jennings
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=4F2051E6.1020203@anonymous.org.uk \
--to=john.robinson@anonymous.org.uk \
--cc=linux-raid@vger.kernel.org \
--cc=spartacus06@gmail.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