[DRBD-user] DRBD sync very slow, High CPU on secondary

Bart Coninckx bart.coninckx at telenet.be
Wed Oct 1 17:03:32 CEST 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi,

I have DRBD 0.7.22 running on two SLES 10 SP1 servers. The partitions for DRBD are located on a LVM volume. While doing the initial sync, it seems that this is very slow:

0: cs:SyncSource st:Primary/Secondary ld:Consistent
    ns:598700 nr:0 dw:0 dr:601844 al:0 bm:36 lo:0 pe:198 ua:786 ap:0
        [>...................] sync'ed:  0.1% (604824/605408)M
        finish: 215:02:54 speed: 708 (684) K/sec

I use dedicated gigabit NICs for this, having tried a straight and crossed cable and a switch. "ethtool" reports 1000 Mbits. Filecopies with SCP go beyond 80 MB/sec. 
The "rate" parameter in drbd.conf is at 33M, which I derived from the drbd.org site.

I do get this in the secondary node:

Cpu0  :  0.0%us,  0.3%sy,  0.0%ni,  0.0%id, 99.3%wa,  0.0%hi,  0.3%si,  0.0%st
Cpu1  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu2  :  0.0%us,  0.0%sy,  0.0%ni,  0.0%id,100.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu3  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st

Which seems to indicate that twee CPUs are at 100%. 

Anyone any idea as to why? 

Thank you!


Bart








More information about the drbd-user mailing list