mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* very slow RAID-1 resync
@ 2001-10-16  0:02 Jeffrey W. Baker
  2001-10-16  1:58 ` Mark Hahn
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Jeffrey W. Baker @ 2001-10-16  0:02 UTC (permalink / raw)
  To: linux-kernel

I just plugged in a new RAID-1(+0, 2 2-disk stripe sets mirrored) to a
2.4.12-ac3 machine.  The md code decided it was going to resync the mirror
at between 100KB/sec and 100000KB/sec.  The actual rate was 100KB/sec,
while the device was otherwise idle.  By increasing
/proc/.../speed_limit_min, I was able to crank the resync rate up to
20MB/sec, which is slightly more reasonable but still short of the
~60MB/sec this RAID is capable of.

So, two things: there is something wrong with the resync code that makes
it run at the minimum rate even when the device is idle, and why is the
resync proceeding so slowly?

raid1d and raid1syncd are barely getting any CPU time on this otherwise
idle SMP system.

There must be some optimization to mostly skip the sync on an array of new
drives, ja?

-jwb


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

end of thread, other threads:[~2001-10-19  4:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-16  0:02 very slow RAID-1 resync Jeffrey W. Baker
2001-10-16  1:58 ` Mark Hahn
2001-10-16  3:44   ` Neil Brown
2001-10-16  3:53     ` Jeffrey W. Baker
2001-10-16 11:40       ` Neil Brown
2001-10-19  4:21         ` Neil Brown
2001-10-16  3:43 ` Neil Brown
2001-10-16  3:52   ` Jeffrey W. Baker
2001-10-16  4:14     ` Neil Brown
2001-10-16  5:07 ` Peter T. Breuer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®