Skip to contentSkip to conversation

raid5 grow reshaping speed is unchangeable

DISCUSSION Cody Yellan 4 participants 4 messages Dec 27, 2007 – Dec 28, 2007 MD RAID

lore
Share & tools
lore
#0 lore raw

I had a 4x500GB SATA2 array, md0. I added one 500GB drive and reshaping began at ~2500K/sec. Changing /proc/sys/dev/raid/speed_limit_m{in,ax} or /sys/block/md0/md/sync_speed_m{in,ax} had no effect. I shut down all unnecessary services and the array is offline (not mounted). I have read that the throttling code is "fragile" (esp. with regard to raid5) but does this make sense? I will wait (in)patiently for it to finish, but I do wonder why the configuration parameters have no effect. This is a dual quad 2GHz Xeon machine with 8GB of memory running RHEL5. Is this the maximum speed?

#1 lore raw

----- Message from [email protected] ---------
Date: Wed, 26 Dec 2007 21:22:42 -0800
From: Cody Yellan <[email protected]>

Quoted 10 lines

I had a 4x500GB SATA2 array, md0. I added one 500GB drive and reshaping began at ~2500K/sec. Changing /proc/sys/dev/raid/speed_limit_m{in,ax} or /sys/block/md0/md/sync_speed_m{in,ax} had no effect. I shut down all unnecessary services and the array is offline (not mounted). I have read that the throttling code is "fragile" (esp. with regard to raid5) but does this make sense? I will wait (in)patiently for it to finish, but I do wonder why the configuration parameters have no effect. This is a dual quad 2GHz Xeon machine with 8GB of memory running RHEL5. Is this the maximum speed?

----- End message from [email protected] -----

Certainly not. I've personally used a similar setup with >80MB/s reshape speeds.
There must be some other limiting factor.
Try simultanous dd's from the drives, if that doesn't work as fast as it should there might be some bus contention?

========================================================================
# _ __ _ __ http://www.nagilum.org/ \n icq://69646724 #
# / |/ /__ ____ _(_) /_ ____ _ [email protected] \n +491776461165 #
# / / _ / _ / / / // / ' \ Amiga (68k/PPC): AOS/NetBSD/Linux #
# /_/|_/\_,_/\_, /_/_/\_,_/_/_/_/ Mac (PPC): MacOS-X / NetBSD /Linux #
# /___/ x86: FreeBSD/Linux/Solaris/Win2k ARM9: EPOC EV6 #
========================================================================

----------------------------------------------------------------
cakebox.homeunix.net - all the machine one needs..

#2 lore raw
In reply to Cody Yellan
Quoted 11 lines · Cody Yellan

I had a 4x500GB SATA2 array, md0. I added one 500GB drive and reshaping began at ~2500K/sec. Changing /proc/sys/dev/raid/speed_limit_m{in,ax} or /sys/block/md0/md/sync_speed_m{in,ax} had no effect. I shut down all unnecessary services and the array is offline (not mounted). I have read that the throttling code is "fragile" (esp. with regard to raid5) but does this make sense? I will wait (in)patiently for it to finish, but I do wonder why the configuration parameters have no effect. This is a dual quad 2GHz Xeon machine with 8GB of memory running RHEL5. Is this the maximum speed?

Something else going on, I do better than that adding drives on USB!

I don't have a clue what the issue is, and I don't see anything in your information which looks unusual.

Signature · 3 lines
Bill Davidsen <[email protected]>
 "Woe unto the statesman who makes war without a reason that will still
 be valid when the war is over..." Otto von Bismark 
#3 lore raw
Quoted 12 lines
Quoted 10 lines · Cody Yellan

I had a 4x500GB SATA2 array, md0. I added one 500GB drive and reshaping began at ~2500K/sec. Changing /proc/sys/dev/raid/speed_limit_m{in,ax} or /sys/block/md0/md/sync_speed_m{in,ax} had no effect. I shut down all unnecessary services and the array is offline (not mounted). I have read that the throttling code is "fragile" (esp. with regard to raid5) but does this make sense? I will wait (in)patiently for it to finish, but I do wonder why the configuration parameters have no effect. This is a dual quad 2GHz Xeon machine with 8GB of memory running RHEL5. Is this the maximum speed?

Are you running a non-standard /sys/block/md5/md/stripe_cache_size?

I found when running a kernel of about that vintage on FC6 (which I guess became RHEL5), that with a stripe_cache_size of 16384, resyncs dropped down to about the speed you are seeing.

This changed back to more normal speeds with a later kernel, but I do not recall which.

Regards,

Richard