linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Terrence Martin <tmartin@physics.ucsd.edu>
To: me@heyjay.com, linux-raid@vger.kernel.org
Subject: Re: Which raid card to buy for Sarge
Date: Thu, 01 Apr 2004 11:31:27 -0800	[thread overview]
Message-ID: <406C6E0F.2000607@physics.ucsd.edu> (raw)
In-Reply-To: <013101c417e8$fa7fd670$6405a8c0@a30>

me@heyjay.com wrote:

>----- Original Message ----- 
>From: "Jeff Garzik" <jgarzik@pobox.com>
>To: <me@heyjay.com>
>Cc: <linux-raid@vger.kernel.org>
>Sent: Wednesday, March 31, 2004 11:58 PM
>Subject: Re: Which raid card to buy for Sarge
>
>
>  
>
>>98% cpu doing just raid 1?  That sounds highly strange, even on an older
>>CPU.
>>
>>Typically RAID1 doesn't stress the cpu as much as PCI bus bandwidth and
>>the drives...
>>
>>    
>>
>
>Sorry, I was unclear.  Currently (without raid) my process maxes out my cpu.
>If I move to raid won't I have performance problems?  Maybe all the work
>happens at the PCI bus
>
>Jay
>
>-
>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
>
>  
>

AFAIK there is no additional calculations on RAID1 so little or no CPU, 
as long as you make sure your drivers are not in an IDE master/slave 
relationship you will get equivalent performance to a single drive 
system, but with redundancy.

This assumes that the RAID array is not recovering at the time of course 
or doing an integrity check (after an unclean shutdown).

In general though I would not expect Linux software RAID1  to have any 
additional CPU cost over a single drive.

As an aside alone the 99% CPU utilization is perhaps not a good measure 
of your system load or capacity. You should also look at how much IO 
your process produces and also the total load on the system (how much 
processes are waiting to execute).  Most processes if they do any 
significant IO are bound by that, not the CPU. If your process does 
little or no IO I would not expect any RAID config to have any impact at 
all, even RAID5.

see vmstat(8) and uptime(1)

Terrence

  reply	other threads:[~2004-04-01 19:31 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-31 15:47 Which raid card to buy for Sarge me
2004-03-31 16:15 ` Luca Berra
2004-03-31 16:43   ` me
2004-03-31 16:58     ` Måns Rullgård
2004-03-31 18:03       ` Ralph Paßgang
2004-03-31 19:50         ` Mark Hahn
2004-03-31 20:19           ` Richard Scobie
2004-04-01  9:07             ` KELEMEN Peter
2004-04-04  4:47               ` Richard Scobie
2004-04-09 11:16                 ` KELEMEN Peter
2004-04-09 13:07                   ` Which raid card to buy for SargeD Yu Chen
2004-04-09 21:52                     ` KELEMEN Peter
2004-03-31 20:42           ` Which raid card to buy for Sarge Ralph Paßgang
2004-03-31 20:59             ` Jeff Garzik
2004-03-31 21:39             ` Guy
2004-04-01  4:49           ` Brad Campbell
2004-04-01  4:51             ` seth vidal
2004-04-01  5:01               ` Brad Campbell
2004-04-01  5:39                 ` Guy
2004-04-01  5:51                   ` Brad Campbell
2004-04-01  5:29             ` Guy
2004-04-01  5:54               ` Jeff Garzik
2004-04-01  5:44             ` Jeff Garzik
2004-04-01  5:56               ` Brad Campbell
2004-04-01  7:49                 ` Sandro Dentella
2004-04-01  8:03                   ` Brad Campbell
2004-04-01  8:07                   ` Jeff Garzik
2004-04-16 14:25             ` Nick Maynard
2004-04-16 15:09               ` Måns Rullgård
2004-04-16 16:29                 ` Nick Maynard
2004-04-16 17:44                   ` Måns Rullgård
2004-04-16 22:34                   ` jlewis
2004-04-01  4:24 ` me
2004-04-01  4:57   ` Clemens Schwaighofer
2004-04-01  5:34     ` Jeff Garzik
2004-04-01  6:39       ` Clemens Schwaighofer
2004-04-01  5:58   ` Jeff Garzik
2004-04-01 12:52     ` me
2004-04-01 19:31       ` Terrence Martin [this message]
2004-04-02  4:46         ` me

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=406C6E0F.2000607@physics.ucsd.edu \
    --to=tmartin@physics.ucsd.edu \
    --cc=linux-raid@vger.kernel.org \
    --cc=me@heyjay.com \
    /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).