linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "George Spelvin" <linux@horizon.com>
To: linux-raid@vger.kernel.org
Cc: linux@horizon.com
Subject: RAID6 syncing at 24 MB/s?
Date: 18 Apr 2012 00:35:40 -0400	[thread overview]
Message-ID: <20120418043540.19923.qmail@science.horizon.com> (raw)

I'm putting together a 7x2TB RAID6 for a home media server, and after
encountering a fun kernel bug building the array (old kernel, a new one
fixed it), I fot things working, but now notice that each disk is syncing
at 23.8 MB/s.  hdparm -t reports they can do well over 100 MB/s each,
and the processor, while only an i3, is spending about 20% of one core
in the raid6 task.

Basicall, it was created with:
mdadm -C -l 6 -n 7 -c 128 -b internal /dev/md0 /dev/sd[b-h]
(The kernel bug was in 2.6.35, and was triggered by forgetting the
"/dev/md0"; one of the RAID ioctls it tries confused up the /dev/sd
driver quite thoroughly)

It's an Intel chipset motherboard with a jmicros 2xSATA+PATA chip,
and one port on a SiI3132 plug-in card.  And mostly cheap Caviar green
EARS drives (yes, I know about the lack of TLER).  Note that I didn't
partition the drives, so there's no risk of a 4K-unaligned partition.

A friend with his own Linux media server said he saw the exact same speed
building his RAID6 array.

The speed_limit_max is set to the default, the system is idle, and the
resultant md drive is not mounted.

Is there a web page somewhere with speed tuning suggestions?


Thank you!

             reply	other threads:[~2012-04-18  4:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-18  4:35 George Spelvin [this message]
2012-04-18  4:47 ` RAID6 syncing at 24 MB/s? Jack Wang
2012-04-18  5:05 ` NeilBrown
2012-04-18  5:22   ` George Spelvin
2012-04-18  5:37     ` NeilBrown

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=20120418043540.19923.qmail@science.horizon.com \
    --to=linux@horizon.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).