lkml.org 
[lkml]   [2004]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: RAID1 resync speed in 2.6.0
Date
mru@kth.se (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@kth.se

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

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.027 / U:0.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site