Re: RAID1 resync speed in 2.6.0

From: Måns Rullgård
Date: Tue Jan 06 2004 - 06:04:38 EST


mru@xxxxxx (Måns Rullgård) writes:

> I just set up a largish (~100 GB) RAID1 array under Linux 2.6.0. Now,
> /proc/mdstat is happily telling me that the resync will be completed
> in 3700 minutes. This seems terribly slow to me. At first, it
> wouldn't work at all, complaining about "bio too big", so I changed
> RESYNC_BLOCK_SIZE to 32k.

I found it. It's a raid1 on top of raid0. Apparently the raid1
resync considered the I/O from the raid0 devices to the physical disks
as normal I/O and reduced the speed. I increased the min rate in
/proc/... and now it's resyncing at 40 MB/s. Much better.

--
Måns Rullgård
mru@xxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/