Sync rates?
Hi,
I added a 120GB drive to a degraded raid 1 drive (well it's really 5 partitions all raid 1). I started last night (maybe 8pm) at this rate it will be done syncing in just under 24 hours. Is this sync rate expected? I would have thought 120GB wouldn't have taken that long, I'm running 7200RPM IDE drives on separate controllers, with an Athlon 3200.
Thanks
Jay
Quoted 7 lines · <[email protected]> writes:
Hi,
I added a 120GB drive to a degraded raid 1 drive (well it's really 5 partitions all raid 1). I started last night (maybe 8pm) at this rate it will be done syncing in just under 24 hours. Is this sync rate expected? I would have thought 120GB wouldn't have taken that long, I'm running 7200RPM IDE drives on separate controllers, with an Athlon 3200.
My raid1 over two 240GB raid0 arrays sync in about 3 hours. Maybe you are syncing all 5 partitions at the same time. That would be likely to cause a slowdown since the disk would be seeking quite a bit.
Signature · 7 lines
Måns Rullgård [email protected] - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines · Måns Rullgård
Quoted 1 line · <[email protected]> writes:
will be done syncing in just under 24 hours. Is this sync rate expected? I
Have you checked /proc/sys/dev/raid/speed_limit_min and _max ? These may need to be increased if you want the resync to be faster.
Quoted 1 line
Maybe you are syncing all 5 partitions at the same time.
Except the driver won't let that happen. It serializes resync of arrays that share the same physical components.
--
Paul
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines
Quoted 5 lines
Hi,
I added a 120GB drive to a degraded raid 1 drive (well it's really 5 partitions all raid 1). I started last night (maybe 8pm) at this rate it will be done syncing in just under 24 hours. Is this sync rate expected?
I
Quoted 1 line
Quoted 1 line
would have thought 120GB wouldn't have taken that long, I'm running
7200RPM
Quoted 5 lines
Quoted 1 line
IDE drives on separate controllers, with an Athlon 3200.
My raid1 over two 240GB raid0 arrays sync in about 3 hours. Maybe you are syncing all 5 partitions at the same time. That would be likely to cause a slowdown since the disk would be seeking quite a bit.
Indeed I did sync them all at the same time. But when I cat /proc/mdstat four partitions were delaying syncing while on performed a sync
Jay
----- Original Message -----
From: "Paul Clements" <[email protected]>
To: <[email protected]>
Sent: Thursday, May 06, 2004 2:40 PM
Subject: Re: Sync rates?
Quoted 3 lines · Måns Rullgård
Quoted 1 line · <[email protected]> writes:
will be done syncing in just under 24 hours. Is this sync rate expected?
I
Have you checked /proc/sys/dev/raid/speed_limit_min and _max ? These may need to be increased if you want the resync to be faster.
------
platinum:~# cat /proc/sys/dev/raid/speed_limit_min 1000 platinum:~# cat /proc/sys/dev/raid/speed_limit_max 200000
Are these acceptable?
Jay
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines · [email protected] wrote:
platinum:~# cat /proc/sys/dev/raid/speed_limit_min 1000 platinum:~# cat /proc/sys/dev/raid/speed_limit_max 200000 Are these acceptable?
Well, those values are in KB/s. And, your resync rate is about:
120000000 / ( 24 * 60 * 60 ) = 1388 KB/s
if my calculations are correct. I'd try bumping the min value up to say 10000 and see if that speeds things up. Is there much I/O activity on the system? That will slow down a resync quite a bit, too.
--
Paul
My machine was idle during the rebuild. When I say idle, I mean no one logged in, no user processes running (except me sshed into the box), no database, no I/O other than the rebuild.
While the rebuild was going on my system was debilitated, totally slow to respond to ssh commands
Jay
----- Original Message -----
From: "Paul Clements" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Thursday, May 06, 2004 2:59 PM
Subject: Re: Sync rates?
Quoted 20 lines
Quoted 5 lines · [email protected] wrote:
platinum:~# cat /proc/sys/dev/raid/speed_limit_min 1000 platinum:~# cat /proc/sys/dev/raid/speed_limit_max 200000 Are these acceptable?Well, those values are in KB/s. And, your resync rate is about:
120000000 / ( 24 * 60 * 60 ) = 1388 KB/s
if my calculations are correct. I'd try bumping the min value up to say 10000 and see if that speeds things up. Is there much I/O activity on the system? That will slow down a resync quite a bit, too.
--
Paul
----- Original Message ----- >
Quoted 8 lines
platinum:~# cat /proc/sys/dev/raid/speed_limit_min 1000 platinum:~# cat /proc/sys/dev/raid/speed_limit_max 200000Are these acceptable?
Jay
# echo -n 500000 > /proc/sys/dev/raid/speed_limit_max
That'll speed it up.