[DRBD-user] DRBD slow sync

Anže Vidmar anze.vidmar at interseek.si
Tue May 20 13:24:46 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.


1) I've changed the UTP cable from 2m cross --> 10m regular UTP
2) changed the syncer rate setting to 50M (as described below)
3) run "drbdadm adjust r0" on both nodes.

And you know what... the sync is flying with 30M/s now :)

Thank you all for your help!

best regards,

Anze

Stefan Löfgren wrote:
> Hi!
> Have you tried this in you drbd.conf?
> 
>   syncer {
>     rate 20M;
>   }
> 
> This was a bit of a supprise to me too. But this helped me... ;)
> Also I noticed that the sync might get slow anyway. And became faster
> again with:
> 
> drbdadm adjust r0
> 
> Even if there was no changes in the config...
> 
> /Stefan
> 
> 
> ---------- Original Message -----------
> From: [UTF-8?]Anže Vidmar <anze.vidmar at interseek.si>
> To: drbd-user at linbit.com
> Sent: Mon, 19 May 2008 11:56:24 +0200
> Subject: [DRBD-user] DRBD slow sync
> 
>> hello list!
>>
>> I've setup a fresh install of DRBD + OCFS2 on the machine with the 
>> following properties:
>>
>> OS: (Bluewhite64 12) Linux 2.6.23.9-2
>> ARCH: x86_64
>> CPU:8 x Intel(R) Xeon(R) CPU E5430  @ 2.66GHz
>> eth0 = 1Gb
>> DRBD version =  8.2.5
>>
>> The problem is that DRBD sync in very slooooow, around 315k/s. There 
>> is no way I can speed-up the process. The storage with OCFS2 is 3.2T 
>> large and it's build on hardware RAID5 + 1 spare.
>>
>> Here is what I've already did:
>>
>> - changed the UTP cable (cross and regular)
>> - tried with kernel that has DRBD included in, and kernel + DRBD module
>> - I've test the data transfer directly on eth1 - the transfer was 
>> normal aroung 75M/s, so the link between the secondary (eth1) NIC's 
>> is ok - played with ethtool - I've setup the card to 100/1000M,
>>  half/full duplex... No change - tweaking drbd.conf "net" 
>> parameters. No speed change at all.
>>
>> Anyone have any idea what might be causing the slow sync? Is this 
>> normal for the 1st time sync?
>>
>> Thank you.
>>
>> Anze
>> _______________________________________________
>> drbd-user mailing list
>> drbd-user at lists.linbit.com
>> http://lists.linbit.com/mailman/listinfo/drbd-user
> ------- End of Original Message -------
> 
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list