linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Keld Jørn Simonsen" <keld@dkuug.dk>
To: Jon Nelson <jnelson-linux-raid@jamponi.net>
Cc: Tomasz Chmielewski <mangoo@wpkg.org>,
	Linux-Raid <linux-raid@vger.kernel.org>
Subject: Re: Awful Raid10,f2 performance
Date: Mon, 2 Jun 2008 20:30:04 +0200	[thread overview]
Message-ID: <20080602183004.GD7990@rap.rap.dk> (raw)
In-Reply-To: <cccedfc60806020809t73794ce6w539c6b0d247a264f@mail.gmail.com>

On Mon, Jun 02, 2008 at 10:09:46AM -0500, Jon Nelson wrote:
> i can't show you raw write values, but I can show you raw read values
> (after dropping the caches):
> 
> >From dstat, this shows disks sdb, sdc, and sdd values in read (space)
> write format, with the total on the end.
> 
> Thus:
> 
>   70M    0 :  71M    0 :  72M    0 : 213M    0
>   71M    0 :  70M    0 :  69M    0 : 210M    0
>   71M    0 :  73M    0 :  74M    0 : 217M    0
> 
> shows that I'm getting 70+- MB/s on each disk, combined to 210 to 217MB/s.
> These are read values.
> 
> I created a logical volume (50G), dropped the caches again, and issued:
> 
> dd if=/dev/zero of=/dev/raid/test bs=64k
> 
> and got from 100 to 150MB/s sustained write speeds.
> NOTE: this is with a bitmap (internal)
> Without a bitmap (removed for this test), I get a much more consistent
> 130-150MB/s.

70 MB/s sounds like as expected.

> dd reports a mere 70MB/s when complete.
> When using oflag=direct, I get about 100MB/s combined, with a
> "reported" speed of 51.9MB/s.
> Since I'm using 3x drives, my total I/O is going to be about 2x what dd "sees".
> 
> Does that help?

It does not explain a 7 MB/s rate.

the 52 MB/s writing seems as expected - maybe a bit slow, but not very
slow. I do not know is a 3-disk raid10,f2 has specific performance
problems.

You could try the command (md3 being my raid)

blockdev --setra 65536 /dev/md3 

It solved some performance problems for me.

Best regards
keld

  reply	other threads:[~2008-06-02 18:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-02 14:11 Awful Raid10,f2 performance Jon Nelson
2008-06-02 14:53 ` Tomasz Chmielewski
2008-06-02 15:09   ` Jon Nelson
2008-06-02 18:30     ` Keld Jørn Simonsen [this message]
2008-12-15 13:33     ` Jon Nelson
2008-12-15 21:38       ` Neil Brown
2008-12-16  2:47         ` Jon Nelson
2008-12-16  4:03           ` Keld Jørn Simonsen
2008-12-16  4:28             ` Jon Nelson
2008-12-16 10:10               ` Keld Jørn Simonsen
2008-12-16 15:26                 ` Jon Nelson
2008-12-16 15:53                   ` Jon Nelson
2008-12-16 22:01                     ` 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=20080602183004.GD7990@rap.rap.dk \
    --to=keld@dkuug.dk \
    --cc=jnelson-linux-raid@jamponi.net \
    --cc=linux-raid@vger.kernel.org \
    --cc=mangoo@wpkg.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).