Hi all,<br><br>I am trying to test 8.3.0 and experiencing funny thing - the background sync rate does not react as it was on 8.2.6.<br>I can remember there was a discussion regarding this recently. From what I saw I understand we should look at the second number - that is avg Bytes transfered within some time interval (~10 sec.). But with 8.3.0 it seems to be different - looks like it is now the overall average rate or something?<br>
<br>Could someone explain if anything has changed here?<br><br># drbdsetup /dev/drbd2 show<br>disk {<br>
        size                    0s _is_default; # bytes<br>        on-io-error             detach;<br>        fencing                 resource-only;<br>        max-bio-bvecs           0 _is_default;<br>}<br>net {<br>        timeout                 60 _is_default; # 1/10 seconds<br>

        max-epoch-size          512;<br>        max-buffers             512;<br>        unplug-watermark        128 _is_default;<br>        connect-int             2; # seconds<br>        ping-int                2; # seconds<br>

        sndbuf-size             0; # bytes<br>        ko-count                0 _is_default;<br>        cram-hmac-alg           &quot;sha1&quot;;<br>        shared-secret           &quot;1-5d20ce93389e273d-1&quot;;<br>        after-sb-0pri           discard-younger-primary;<br>

        after-sb-1pri           discard-secondary;<br>        after-sb-2pri           call-pri-lost-after-sb;<br>        rr-conflict             call-pri-lost;<br>        ping-timeout            10; # 1/10 seconds<br>}<br>

syncer {<br>        rate                    30720k; # bytes/second<br>        after                   0;<br>        al-extents              1801;<br>        verify-alg              &quot;sha1&quot;;<br>}<br>protocol C;<br>

_this_host {<br>        device                  &quot;/dev/drbd2&quot;;<br>        disk                    &quot;/dev/VolGroup00/data&quot;;<br>        meta-disk               &quot;/dev/VolGroup00/drbd_meta&quot; [ 2 ];<br>

        address                 ipv4 <a href="http://192.167.30.39:7790/" target="_blank">192.167.30.39:7791</a>;<br>}<br>_remote_host {<br>        address                 ipv4 <a href="http://192.167.30.43:7790/" target="_blank">192.167.30.43:7791</a>;<br>

}<br><br># cat /proc/drbd<br>version: 8.3.0 (api:88/proto:86-89)<br>GIT-hash: 9ba8b93e24d842f0dd3fb1f9b90e8348ddb95829 build by <a href="mailto:root@example.com" target="_blank">root@example.com</a>, 2009-02-12 00:59:39<br>
 2: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C r---<br>    ns:29724672 nr:0 dw:4 dr:29725269 al:1 bm:1814 lo:55 pe:4 ua:64 ap:0 ep:1 wo:b oos:22704224<br>        [==========&gt;.........] sync&#39;ed: 56.7% (22172/51200)M<br>
        finish: 0:09:11 speed: 41,040 (27,120) K/sec<br><br># drbdsetup /dev/drbd2 syncer -r 60M<br> 2: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C r---<br>    ns:30854848 nr:0 dw:4 dr:30855125 al:1 bm:1883 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:21573952<br>
        [==========&gt;.........] sync&#39;ed: 58.9% (21068/51200)M<br>        finish: 0:06:12 speed: 57,856 (27,328) K/sec<br><br># drbdsetup /dev/drbd2 syncer -r 50K<br> 2: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C r---<br>
    ns:32710496 nr:0 dw:4 dr:32710773 al:1 bm:1996 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:19718304<br>        [===========&gt;........] sync&#39;ed: 62.4% (19256/51200)M<br>        finish: 13:41:35 speed: 384 (27,836) K/sec<br>
<br># drbdsetup /dev/drbd2 syncer -r 1M<br> 2: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C r---<br>    ns:32727040 nr:0 dw:4 dr:32727317 al:1 bm:1997 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:19701760<br>        [===========&gt;........] sync&#39;ed: 62.5% (19240/51200)M<br>
        finish: 5:12:43 speed: 1,012 (27,000) K/sec<br><br>