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.  

//OE

-----Original Message-----
From: Adam Weremczuk <ad...@matrixscience.com>
To: Robert Altnoeder <robert.altnoe...@linbit.com>
Cc: drbd-user@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 
192.168.200.1:7788;     meta-disk internal;   }   on tiger {     device 
/dev/drbd0;     disk /dev/sdb1;     address 192.168.200.2:7788;     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@lists.linbit.comhttp://lists.linbit.com/mailman/listinfo/drbd-user

_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to