linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Majed B." <majedb@gmail.com>
To: "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: Re: Write-intent bitmap decreases or increase performance of RAID5?
Date: Thu, 1 Jul 2010 23:30:26 +0300	[thread overview]
Message-ID: <AANLkTilnBWCGHUgQnmrzSzpo7TRYSedBVUZEOHKI4MmG@mail.gmail.com> (raw)
In-Reply-To: <20100701064044.GB6058@localhost>

How much RAM does your machine have?

Write to the disk an amount that is larger than the amount of RAM and
see if you get the same result.

Also you can use hdparm to flush the caches before running dd the 2nd time.

2010/7/1 Shaochun Wang <scwang@ios.ac.cn>
>
> On Wed, Jun 30, 2010 at 07:54:55AM +0200, Mikael Abrahamsson wrote:
> > On Wed, 30 Jun 2010, Roman Mamedov wrote:
> >
> > >  dd if=/dev/zero of=zerofile bs=1M count=2048 conv=fdatasync,notrunc
> >
> > To be a bit more sure about accurate measurement, make sure the amount of
> > data you're transferring is twice the amount of RAM in the machine, the
> > above is only 2 gigs of data.
> As suggested, I did the test again and got the following result:
>
>        -bash-4.1$ sudo dd if=/dev/zero of=test.dd bs=1M count=5000 conv=fdatasync,notrunc
>        Password:
>        5000+0 records in
>        5000+0 records out
>        5242880000 bytes (5.2 GB) copied, 63.497 s, 82.6 MB/s
>
>        -bash-4.1$ sudo dd if=/dev/zero of=test.dd bs=1M count=5000 conv=fdatasync,notrunc
>        5000+0 records in
>        5000+0 records out
>        5242880000 bytes (5.2 GB) copied, 18.1033 s, 290 MB/s
>
> I don't know why the second dd becomes 290MB/s and the first 82.6MB/s.
>
> --
> Shaochun Wang(王绍春) <scwang@ios.ac.cn>
> State Key Laboratory of Computer Science,
> Institute of Software,
> Chinese Academy of Sciences
> --
> 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



--
      Majed B.
--
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:[~2010-07-01 20:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-29 20:11 Write-intent bitmap decreases or increase performance of RAID5? Shaochun Wang
2010-06-30  5:18 ` Roman Mamedov
2010-06-30  5:54   ` Mikael Abrahamsson
2010-06-30  5:59     ` Roman Mamedov
2010-06-30  6:58       ` Mikael Abrahamsson
2010-06-30  8:23         ` Roman Mamedov
2010-06-30 18:31           ` CoolCold
2010-07-05  0:11         ` Bill Davidsen
2010-07-01  6:40     ` Shaochun Wang
2010-07-01 20:30       ` Majed B. [this message]
2010-07-01 20:50         ` Roman Mamedov
2010-07-05  0:14         ` Bill Davidsen
2010-07-01 20:49       ` Roman Mamedov
2010-07-02 11:13         ` John Robinson
2010-07-05  0:17         ` Bill Davidsen

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=AANLkTilnBWCGHUgQnmrzSzpo7TRYSedBVUZEOHKI4MmG@mail.gmail.com \
    --to=majedb@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).