linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: thomas62186218@aol.com
Cc: linux-raid@vger.kernel.org
Subject: Re: Software RAID 6 initial sync very slow
Date: Mon, 02 Jun 2008 08:35:09 -0400	[thread overview]
Message-ID: <4843E8FD.8000601@tmr.com> (raw)
In-Reply-To: <8CA91F18992AC9E-1724-EAF@webmail-ne13.sysops.aol.com>

thomas62186218@aol.com wrote:
> Hi all,
>
> I am debating between hardware or software RAID for a high-performance 
> Linux storage server. One area of concern in my initial mdadm tests 
> concerns sync speed. My setup is as follows:
>
> Linux Fedora 7 x64
> 12 x 1TB Hitachi 1TB SATAII drives connected via LSI SAS3801E PCIe HBA
> Dual 2.5GHz quad-core Xeon
> 8GB RAM
>
> My first test was to create a RAID 6 md device, 128K chunk, with all 
> 12 drives. The sync is currently underway at a very slow 30MB/sec, 
> with mdadm estimating this as a 9hr process. With an Adaptec 5805 RAID 
> card tested, I performed the RAID 6 initial sync with the same 12 
> drives in just under 5 hours. Meanwhile, our total CPU usage during 
> mdadm syncing is at 5%, so there's plenty of CPU not being used.
>
> Why is the sync so slow? This concerns me not only because initial 
> sync time is important, but because this may be indicative of slow 
> sync times in the event of a drive failure.

Two things will limit this, chunk size and max speed set in the 
/sys/block/mdNN/md/sync_speed_max setting. What you are seeing does 
sound slow.

-- 
Bill Davidsen <davidsen@tmr.com>
  "Woe unto the statesman who makes war without a reason that will still
  be valid when the war is over..." Otto von Bismark 



  parent reply	other threads:[~2008-06-02 12:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-01 11:26 Software RAID 6 initial sync very slow thomas62186218
2008-06-01 20:37 ` Richard Scobie
2008-06-02 12:35 ` Bill Davidsen [this message]
2008-06-02 19:18   ` thomas62186218
2008-06-03  1:08     ` Richard Scobie
2008-06-03  5:11     ` Neil Brown
2008-06-03 19:47     ` 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=4843E8FD.8000601@tmr.com \
    --to=davidsen@tmr.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=thomas62186218@aol.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).