[DRBD-user] slow sync speed

Oleksiy Evin o.evin at onefc.com
Wed Oct 17 11:17:32 CEST 2018

If I'm not wrong, the "syncer" section has been deprecated somewhere around 8.4.0 drbd version.  Based on the logs you provided the version you use is 8.4.10, so I don't think that should have any speed impact. But I'm glad you've got it resolved.  


-----Original Message-----
From: Adam Weremczuk <adamw at matrixscience.com>
To: Robert Altnoeder <robert.altnoeder at linbit.com>
Cc: drbd-user at lists.linbit.com
Subject: Re: [DRBD-user] slow sync speed
Date: Wed, 17 Oct 2018 10:05:10 +0100

"Max-buffers 8k" appear to be the sweet spot for me.I'm now getting 145-150 MB/s transfer rates between nodes which I'm happy with.The biggest problem was I didn't have "syncer" section defined at all.
Currently my fully working and behaving config looks like below:
global { usage-count no; }common { protocol C; }resource r0 {   disk {     on-io-error detach;     no-disk-flushes;     no-disk-barrier;     c-plan-ahead 0;   }   net {     max-buffers 8k;   }   syncer {     rate 150M;     al-extents 6400;   }   on lion {     device /dev/drbd0;     disk /dev/sdb1;     address;     meta-disk internal;   }   on tiger {     device /dev/drbd0;     disk /dev/sdb1;     address;     meta-disk internal;   }}
On 11/10/18 15:06, Robert Altnoeder wrote:On 10/11/2018 03:56 PM, Oleksiy Evin wrote:Try to remove the following:
c-fill-target 24M;c-min-rate 80M;c-max-rate 720M;
sndbuf-size 1024k;rcvbuf-size 2048k;
Then gradually increase max-buffers from 4K to 12K checking its impactto the sync speed. Make sure you have the same config on both nodesand apply the changes with "drbdadm adjust all" on both nodes too.

_______________________________________________drbd-user mailing listdrbd-user at lists.linbit.comhttp://lists.linbit.com/mailman/listinfo/drbd-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20181017/5da20aeb/attachment.htm>

More information about the drbd-user mailing list