linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: Linux Raid Study <linuxraid.study@gmail.com>
Cc: Robin Hill <robin@robinhill.me.uk>, linux-raid@vger.kernel.org
Subject: Re: iostat with raid device...
Date: Thu, 14 Apr 2011 07:00:11 +1000	[thread overview]
Message-ID: <20110414070011.68691ab5@notabene.brown> (raw)
In-Reply-To: <BANLkTiknrqo7CxGBnWamSh6U5qKY+59xqg@mail.gmail.com>

On Wed, 13 Apr 2011 11:21:52 -0700 Linux Raid Study
<linuxraid.study@gmail.com> wrote:

> Let me reword previous email...
> 
> I tried to change stripe_cache_size as following and tried values
> between 16 to 4096
> echo 512 > /sys/block/md0/md/stripe_cache_size
> 
> But, I'm not seeing too much difference in performance. I'm running on
> 2.6.27sh kernel.

I wouldn't expect much difference.

> 
> Any ideas...

On what exactly?
What exactly are you doing, what exactly are the results?  What exactly don't
you understand?

Detail help.

NeilBrown



> 
> Thanks for your help...
> 
> On Tue, Apr 12, 2011 at 12:36 PM, Linux Raid Study
> <linuxraid.study@gmail.com> wrote:
> > Hello Neil,
> >
> > For the benchmarking purpose, I've configured array of ~30GB.
> > stripe_cache_size is 1024 (so 1M).
> >
> > BTW, I'm using Windows copy (robocopy) utility to test perf and I
> > believe block size it uses is 32kB. But since everything gets written
> > thru VFS, I'm not sure how to change stripe_cache_size to get optimal
> > performance with this setup...
> >
> > Thanks.
> >
> > On Mon, Apr 11, 2011 at 7:51 PM, NeilBrown <neilb@suse.de> wrote:
> >> On Mon, 11 Apr 2011 18:57:34 -0700 Linux Raid Study
> >> <linuxraid.study@gmail.com> wrote:
> >>
> >>> If I use --assume-clean in mdadm, I see performance is 10-15% lower as
> >>> compared to the case wherein this option is not specified. When I run
> >>> without --assume_clean, I wait until mdadm prints "recovery_done" and
> >>> then run IO benchmarks...
> >>>
> >>> Is perf drop expected?
> >>
> >> No.  And I cannot explain it.... unless the array is so tiny that it all fits
> >> in the stripe cache (typically about 1Meg).
> >>
> >> There really should be no difference.
> >>
> >> NeilBrown
> >>
> >

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2011-04-13 21:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-08 19:55 iostat with raid device Linux Raid Study
2011-04-08 22:05 ` Roberto Spadim
2011-04-08 22:10   ` Linux Raid Study
2011-04-08 23:46 ` NeilBrown
2011-04-09  0:40   ` Linux Raid Study
2011-04-09  8:50     ` Robin Hill
2011-04-11  8:32       ` Linux Raid Study
2011-04-11  9:25         ` Robin Hill
2011-04-11  9:36           ` Linux Raid Study
2011-04-11  9:53             ` Robin Hill
2011-04-11 10:18               ` NeilBrown
2011-04-12  1:57                 ` Linux Raid Study
2011-04-12  2:51                   ` NeilBrown
2011-04-12 19:36                     ` Linux Raid Study
2011-04-13 18:21                       ` Linux Raid Study
2011-04-13 21:00                         ` NeilBrown [this message]

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=20110414070011.68691ab5@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=linuxraid.study@gmail.com \
    --cc=robin@robinhill.me.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).