From: "Keld Jørn Simonsen" <keld@dkuug.dk>
To: Peter Grandi <pg_lxra@lxra.for.sabi.co.UK>
Cc: Linux RAID <linux-raid@vger.kernel.org>
Subject: Re: performance problems with raid10,f2
Date: Wed, 2 Apr 2008 23:13:15 +0200 [thread overview]
Message-ID: <20080402211315.GA7899@rap.rap.dk> (raw)
In-Reply-To: <18408.64635.201923.65782@tree.ty.sabi.co.uk>
On Tue, Mar 25, 2008 at 01:22:03PM +0000, Peter Grandi wrote:
> >>>> I have a 4 drive array with 1 TB Hitachi disks, formatted
> >>>> as raid10,f2 I had some strange observations: 1. while
> >>>> resyncing I could get the raid to give me about 320 MB/s in
> >>>> sequential read, which was good. After resync had been
> >>>> done, and with all 4 drives active, I only get 115 MB/s.
>
> [ ... ]
>
> >> Is this with, or without, your patch to avoid "read-balancing"
> >> for raid10/far layouts? It sounds like it is without that
> >> patch ????
>
> > I tried both without the patch and with the patch, with almost
> > same resulte.
>
> That could be the usual issue with apparent pauses in the stream
> of IO requests to the array component devices, with the usual
> workaround of trying 'blockdev --setra 65536 /dev/mdN' and see if
> sequential reads improve.
Yes, that did it!
> > Is resync building some table, and could that be it? Or could
> > it be some time of inode traffic?
>
> One good way to see what is actually happening is to use either
> 'watch iostat -k 1 2' and look at the load on the individual MD
> array component devices, or use 'sysctl vm/block_dump=1' and look
> at the addresses being read or written.
Good advice. I added your info to the wiki.
best regards
keld
next prev parent reply other threads:[~2008-04-02 21:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-14 23:11 performance problems with raid10,f2 Keld Jørn Simonsen
2008-03-20 17:28 ` Keld Jørn Simonsen
2008-03-25 5:13 ` Neil Brown
2008-03-25 10:36 ` Keld Jørn Simonsen
2008-03-25 13:22 ` Peter Grandi
2008-04-02 21:13 ` Keld Jørn Simonsen [this message]
2008-04-03 20:20 ` Peter Grandi
2008-04-04 8:03 ` Keld Jørn Simonsen
2008-04-05 17:31 ` Peter Grandi
2008-04-05 18:46 ` Keld Jørn Simonsen
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=20080402211315.GA7899@rap.rap.dk \
--to=keld@dkuug.dk \
--cc=linux-raid@vger.kernel.org \
--cc=pg_lxra@lxra.for.sabi.co.UK \
/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).