LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Very slow raid5 resync (https://www.linuxquestions.org/questions/linux-hardware-18/very-slow-raid5-resync-689783/)

alex6666 12-11-2008 04:32 AM

Very slow raid5 resync
 
Trying to create a raid5 array with 4 1.5TB disks.
The resync is very slow. (mdstat shows about 1500K/sec).

I have tried raising the speed_limit_min but nothing changes.
I have also tried to benchmark the disk. They seems to be ok.

The resync also takes very much cpu. Why is is so slow?

mesiol 12-11-2008 06:43 AM

Hi,

please check
/proc/sys/dev/raid/speed_limit_min and
/proc/sys/dev/raid/speed_limit_max

What do they say?

alex6666 12-11-2008 07:48 AM

[root@nb2 ~]# cat /proc/sys/dev/raid/speed_limit_min
100000
[root@nb2 ~]# cat /proc/sys/dev/raid/speed_limit_max
200000

alex6666 12-12-2008 08:27 AM

Solved!
 
I solved the problem by using a pci sata-controller instead of the onboard controller. Got the speed up to 27000Kb/sec.


All times are GMT -5. The time now is 06:33 PM.