<div dir="ltr">Hi,<div><br></div><div>I&#39;m new with DRBD. I&#39;m trying to setup dual primary nodes (VMs with virtio-net of bonded of dual 10GbE links) with following resource config.</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">resource db {<br>    on db-1 {<br>        volume 0 {<br>            device       /dev/drbd0 minor 0;<br>            disk         /dev/vdc1;<br>            meta-disk    internal;<br>        }<br>        address          ipv4 <a href="http://10.10.130.9:7788">10.10.130.9:7788</a>;<br>    }<br>    on db-2 {<br>        volume 0 {<br>            device       /dev/drbd0 minor 0;<br>            disk         /dev/vdc1;<br>            meta-disk    internal;<br>        }<br>        address          ipv4 <a href="http://10.10.130.10:7788">10.10.130.10:7788</a>;<br>    }<br>    options {<br>        on-no-data-accessible io-error;<br>    }<br>    net {<br>        protocol           C;<br>        allow-two-primaries yes;<br>        after-sb-0pri    discard-zero-changes;<br>        after-sb-1pri    discard-secondary;<br>        after-sb-2pri    disconnect;<br>        sndbuf-size       1M;<br>        rcvbuf-size       2M;<br>        max-buffers      131072;<br>        max-epoch-size   20000;<br>        cram-hmac-alg    sha1;<br>        shared-secret    db;<br>    }<br>    disk {<br>        on-io-error      detach;<br>        disk-flushes      no;<br>        disk-barrier      no;<br>        resync-rate       1G;<br>        al-extents       257;<br>        c-plan-ahead       8;<br>        c-fill-target    25M;<br>        c-max-rate        1G;<br>        c-min-rate       100M;<br>    }<br>    startup {<br>        wfc-timeout       30;<br>        outdated-wfc-timeout  20;<br>        degr-wfc-timeout  30;<br>        become-primary-on both;<br>    }<br>}</blockquote></div><div><br></div><div>I have tried to change some of variables, but no matter I have done, the performance is just around 70MB/s like dd result below.</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[root@db-1 ~]# dd if=/dev/zero of=/dev/drbd0 bs=4194304 count=1000<br>1000+0 records in<br>1000+0 records out<br>4194304000 bytes (4.2 GB) copied, 61.7918 s, 67.9 MB/s</blockquote></div><div><br></div><div>The same test to the backing storage can give aroud 700MB/s performance. What should I do with this case?</div><div><br></div><div>Best regards,</div><div><br></div></div>