<div dir="ltr">There are two ways to configure the re-sync rate, the old (static) and the new (dynamic) method.<div><br><div>If you prefer using the old method, set '<span style="color:rgb(0,0,0)">c-plan-ahead 0' to disable the dynamic re-sync rate controller and then use 'resync-rate rate' to statically set the sync rate speed (man drbd.conf for more). Don't forget to remove any remaining "c-*" entries from resource config file.</span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)">If you wish to experiment with the dynamic sync rate controller which is enabled by default both in DRBD8.4 and DRBD9, then use the following blog post as a reference...</span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><a href="https://www.linbit.com/drbd-and-the-sync-rate-controller-part-3/">https://www.linbit.com/drbd-and-the-sync-rate-controller-part-3/</a> <br></div><div><br></div><div>For both methods, use 'max-buffers' to throttle the process as described in the post you mentioned earlier.</div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)">G.</span></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 6 Apr 2020 at 06:29, Rick Gutierrez <<a href="mailto:xserverlinux@gmail.com" target="_blank">xserverlinux@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi , here again, i'm trying something i found in the list<br>
<a href="https://lists.linbit.com/pipermail/drbd-user/2018-October/024571.html" rel="noreferrer" target="_blank">https://lists.linbit.com/pipermail/drbd-user/2018-October/024571.html</a><br>
<br>
version: 8.4.11-1 (api:1/proto:86-101)<br>
GIT-hash: 66145a308421e9c124ec391a7848ac20203bb03c build by<br>
mockbuild@, 2018-11-03 01:26:55<br>
0: cs:SyncSource ro:Primary/Primary ds:UpToDate/Inconsistent C r-----<br>
ns:5135424 nr:0 dw:0 dr:5137552 al:0 bm:0 lo:0 pe:59 ua:0 ap:0<br>
ep:1 wo:d oos:1392034268<br>
[>....................] sync'ed: 0.4% (1359408/1364360)M<br>
finish: 90:33:02 speed: 4,260 (3,552) K/sec<br>
<br>
but I don't get a noticeable improvement, when I copy a file between<br>
the two servers I get speeds of 55MB<br>
<br>
any idea?<br>
<br>
El vie., 3 abr. 2020 a las 9:55, Rick Gutierrez<br>
(<<a href="mailto:xserverlinux@gmail.com" target="_blank">xserverlinux@gmail.com</a>>) escribió:<br>
><br>
> hi list, i am installing drbd 8.4.x in centos 7 in a couple of boxes,<br>
> i need to replicate my mail server, but i am having speed problems in<br>
> the replication, i have tried different options within the<br>
> configuration and without success.<br>
><br>
> I have my network at 1gb ethernet, my switch is cisco 2960-S, I am<br>
> replicating 1.3TB on 7200RPM disks, but the speed is terrible, very<br>
> slow.<br>
><br>
> version of rpm<br>
> drbd84-utils-9.6.0-1.el7.elrepo.x86_64<br>
> kmod-drbd84-8.4.11-1.1.el7_6.elrepo.x86_64<br>
> drbd84-utils-sysvinit-9.6.0-1.el7.elrepo.x86_64<br>
><br>
> my setting:<br>
><br>
> disk {<br>
><br>
> c-plan-ahead 0;<br>
> on-io-error detach;<br>
> no-disk-flushes ;<br>
> no-disk-barrier;<br>
> c-min-rate 90M;<br>
> c-max-rate 120M;<br>
><br>
> net {<br>
><br>
> allow-two-primaries;<br>
><br>
> cram-hmac-alg sha1;<br>
><br>
> shared-secret "C2qz2wsx";<br>
><br>
> max-buffers 36k;<br>
><br>
> sndbuf-size 1024k ;<br>
><br>
> rcvbuf-size 2048k;<br>
><br>
> }<br>
><br>
> any idea?<br>
><br>
> --<br>
> rickygm<br>
><br>
> <a href="http://gnuforever.homelinux.com" rel="noreferrer" target="_blank">http://gnuforever.homelinux.com</a><br>
<br>
<br>
<br>
-- <br>
rickygm<br>
<br>
<a href="http://gnuforever.homelinux.com" rel="noreferrer" target="_blank">http://gnuforever.homelinux.com</a><br>
_______________________________________________<br>
Star us on GITHUB: <a href="https://github.com/LINBIT" rel="noreferrer" target="_blank">https://github.com/LINBIT</a><br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
<a href="https://lists.linbit.com/mailman/listinfo/drbd-user" rel="noreferrer" target="_blank">https://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
</blockquote></div>