linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Keld Jørn Simonsen" <keld@dkuug.dk>
To: Justin Piszcz <jpiszcz@lucidpixels.com>
Cc: "Conway S. Smith" <beolach@gmail.com>, linux-raid@vger.kernel.org
Subject: Re: (was: Re: md: raid5 vs raid10 (f2,n2,o2) benchmarks [w/10 raptors])
Date: Wed, 25 Jun 2008 20:48:38 +0200	[thread overview]
Message-ID: <20080625184838.GB21707@rap.rap.dk> (raw)
In-Reply-To: <20080403100246.GA16459@rap.rap.dk>

On Thu, Apr 03, 2008 at 12:02:46PM +0200, Keld Jørn Simonsen wrote:
> On Wed, Apr 02, 2008 at 01:49:44PM -0400, Justin Piszcz wrote:
> > 
> > 
> > On Wed, 2 Apr 2008, Justin Piszcz wrote:
> > 
> > >
> > >
> > >On Wed, 2 Apr 2008, Conway S. Smith wrote:
> 
> I have referenced both of your benchmaks in the wiki on performance. So
> now I just hope that your URLs will live forever. I also took down some
> of your recomendations there. 
> 
> I note that raid10,f2 has a much higher cpu load than raid10,n2 or
> raid10,o2. How come? it is 31-38 % for f2, where n2 and o2 is around 15 %.

I found a reason for this, it seems that CPU usage and IO speed are very
related, so because the raid10,f2 has about double the IO performance
for sequential reading, it also has about double the cpu use.

Justin's benchmark is on http://home.comcast.net/~jpiszcz/20080329-raid/

Another of Justin's benchmarks also reveals the relation between
IO rate and CPU use:
http://home.comcast.net/~jpiszcz/raid/20080528/raid-levels.html

Why does IO use that much CPU? Is it mostly moving around the data from
the kernel to the user space? Does it matter here whether one is running
a 32 bit or a 64 bit system?

It seems like the RAM bus can be a bottleneck. I read that DDR-400
can have a peak performance of 1600 MB/s. If this is halved on 32 bit OS
then this is 800 MB/s. And you need to both read and write when you move
things around. So that is 400 MB/s... And you need to still be able to 
read in from the disk controller at 330 MB/s. For 64 bit systems this is
a max around 400 MB/s - given that there is a flow from the disk
controller to system disk buffers, then from kernel buffers to user
buffers and then from user buffers to some processing. Or am I wrong
here?

Best regards
Keld
--
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

  parent reply	other threads:[~2008-06-25 18:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-02  4:26 (was: Re: md: raid5 vs raid10 (f2,n2,o2) benchmarks [w/10 raptors]) Beolach
2008-04-02 12:16 ` Justin Piszcz
2008-04-02 14:02   ` Conway S. Smith
2008-04-02 17:44     ` Justin Piszcz
2008-04-02 17:49       ` Justin Piszcz
2008-04-03 10:02         ` Keld Jørn Simonsen
2008-04-03 10:26           ` Justin Piszcz
2008-06-25 18:48           ` Keld Jørn Simonsen [this message]
2008-06-25 19:09             ` David Lethe
2008-06-25 19:31               ` Justin Piszcz
2008-06-25 19:44               ` Keld Jørn Simonsen
2008-04-03  0:52       ` Dan Williams

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=20080625184838.GB21707@rap.rap.dk \
    --to=keld@dkuug.dk \
    --cc=beolach@gmail.com \
    --cc=jpiszcz@lucidpixels.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).