linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sync speed strangeness and other advice
@ 2012-05-17 15:37 Marcus Sorensen
  2012-05-17 21:20 ` NeilBrown
  0 siblings, 1 reply; 2+ messages in thread
From: Marcus Sorensen @ 2012-05-17 15:37 UTC (permalink / raw)
  To: linux-raid

First off, I'm using the stock RHEL 6.2 kernel, so obviously not the
latest, but I want to get some input on a strange issue I'm seeing.
Maybe it rings a bell and someone knows a fix or a specific kernel to
try.

I have a few RAID 1 arrays that while resyncing refuse to use the
bandwidth allowed to them. I'm using an internal bitmap. My impression
was that the various sync speed settings are supposed to use all
available bandwidth, backing off if there is other system activity.
The disks are capable of syncing at 400MB/s, and my sync_speed_min is
set to 10000, sync_speed_max is set to 500000, yet they sync at
~80MB/s and iostat shows the disks as being mostly idle.  If I
increase sync_speed_min to 200000, the array happily complies and
resyncs at 200MB/s, no problem.

Also, I seem to have run into an issue similar to the following
thread, where failing a disk, then restarting the array and re-adding
the disk results in a full resync. I'll see if I can replicate via the
included instructions.

http://www.mail-archive.com/linux-raid@vger.kernel.org/msg08745.html

Last, I've been reading bits about a bad block bitmap, and if I'm
going to a newer kernel I want to make sure I'm not using one. My
understanding was that I have to use a new version of the mdadm
userspace utility to even create an array with a bad block bitmap, and
even then it's not on by default, correct?

Thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-17 21:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-17 15:37 sync speed strangeness and other advice Marcus Sorensen
2012-05-17 21:20 ` NeilBrown

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).