[DRBD-user] 8.3.0 and background sync rate changes

Maros Timko timkom at gmail.com
Wed Feb 25 19:08:13 CET 2009

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi all,

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.
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?

Could someone explain if anything has changed here?

# drbdsetup /dev/drbd2 show
disk {
        size                    0s _is_default; # bytes
        on-io-error             detach;
        fencing                 resource-only;
        max-bio-bvecs           0 _is_default;
}
net {
        timeout                 60 _is_default; # 1/10 seconds
        max-epoch-size          512;
        max-buffers             512;
        unplug-watermark        128 _is_default;
        connect-int             2; # seconds
        ping-int                2; # seconds
        sndbuf-size             0; # bytes
        ko-count                0 _is_default;
        cram-hmac-alg           "sha1";
        shared-secret           "1-5d20ce93389e273d-1";
        after-sb-0pri           discard-younger-primary;
        after-sb-1pri           discard-secondary;
        after-sb-2pri           call-pri-lost-after-sb;
        rr-conflict             call-pri-lost;
        ping-timeout            10; # 1/10 seconds
}
syncer {
        rate                    30720k; # bytes/second
        after                   0;
        al-extents              1801;
        verify-alg              "sha1";
}
protocol C;
_this_host {
        device                  "/dev/drbd2";
        disk                    "/dev/VolGroup00/data";
        meta-disk               "/dev/VolGroup00/drbd_meta" [ 2 ];
        address                 ipv4
192.167.30.39:7791<http://192.167.30.39:7790/>
;
}
_remote_host {
        address                 ipv4
192.167.30.43:7791<http://192.167.30.43:7790/>
;
}

# cat /proc/drbd
version: 8.3.0 (api:88/proto:86-89)
GIT-hash: 9ba8b93e24d842f0dd3fb1f9b90e8348ddb95829 build by root at example.com,
2009-02-12 00:59:39
 2: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C r---
    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
        [==========>.........] sync'ed: 56.7% (22172/51200)M
        finish: 0:09:11 speed: 41,040 (27,120) K/sec

# drbdsetup /dev/drbd2 syncer -r 60M
 2: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C r---
    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
        [==========>.........] sync'ed: 58.9% (21068/51200)M
        finish: 0:06:12 speed: 57,856 (27,328) K/sec

# drbdsetup /dev/drbd2 syncer -r 50K
 2: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C r---
    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
        [===========>........] sync'ed: 62.4% (19256/51200)M
        finish: 13:41:35 speed: 384 (27,836) K/sec

# drbdsetup /dev/drbd2 syncer -r 1M
 2: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C r---
    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
        [===========>........] sync'ed: 62.5% (19240/51200)M
        finish: 5:12:43 speed: 1,012 (27,000) K/sec
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090225/5903ec4a/attachment.htm>


More information about the drbd-user mailing list