linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roman Mamedov <roman@rm.pp.ru>
To: Mikael Abrahamsson <swmike@swm.pp.se>
Cc: Shaochun Wang <scwang@ios.ac.cn>,
	"linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: Re: Write-intent bitmap decreases or increase performance of RAID5?
Date: Wed, 30 Jun 2010 11:59:27 +0600	[thread overview]
Message-ID: <20100630115927.090751dd@natsu> (raw)
In-Reply-To: <alpine.DEB.1.10.1006300729150.8623@uplift.swm.pp.se>

[-- Attachment #1: Type: text/plain, Size: 842 bytes --]

On Wed, 30 Jun 2010 07:54:55 +0200 (CEST)
Mikael Abrahamsson <swmike@swm.pp.se> 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.

This is not necessary. See the dd man page about the conv=fdatasync switch.
You can even test with just 256 MB this way, and still get an extremely
accurate result.

Three consecutive runs with "count=256" on a machine with 4GB of RAM:
268435456 bytes (268 MB) copied, 4.76846 s, 56.3 MB/s
268435456 bytes (268 MB) copied, 4.79682 s, 56.0 MB/s
268435456 bytes (268 MB) copied, 4.79307 s, 56.0 MB/s

-- 
With respect,
Roman

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-06-30  5:59 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 [this message]
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.
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=20100630115927.090751dd@natsu \
    --to=roman@rm.pp.ru \
    --cc=linux-raid@vger.kernel.org \
    --cc=scwang@ios.ac.cn \
    --cc=swmike@swm.pp.se \
    /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).