Hello,<br><br>Have two DELL PE R410, RAID 10 15K rpm Seagate SAS disks. Both servers are connected via 1Gb link.<br><br>Testing performance with bonnie++.<br>On a RAW device I get: ~240MB/s Read and ~390MB/s Write<br>On DRBD device with Secondary DRBD host connected: ~80MB/s Read and ~340MB/s Write<br>
On DRBD without Secondary DRBD host connected: ~245MB/s Read and ~340Write<br><br>Why I get so bad Read performance on DRBD device with Secondary host connected ? Per documentation all reads should be made l<br><br>OS: CentOS 5.6 x86_64<br>
DRBD: 8.3.10<br><br>Configuration:<br>============================================================<br>global { <br> usage-count no; <br>}<br>resource repdata {<br> protocol C;<br> startup { <br> wfc-timeout 0; <br>
degr-wfc-timeout 100; <br> }<br> disk { <br> on-io-error detach; <br> no-disk-barrier;<br> no-disk-flushes;<br> }<br> net {<br> max-buffers 8000;<br> max-epoch-size 8000;<br> unplug-watermark 16;<br>
sndbuf-size 0;<br> cram-hmac-alg "sha1"; <br> shared-secret "secret"; <br> data-integrity-alg "crc32c"; <br> }<br> syncer {<br> cpu-mask 4095;<br> rate 85M;<br> verify-alg "crc32c";<br>
csums-alg "crc32c";<br> }<br> on secondary {<br> device /dev/drbd0;<br> disk /dev/sda9;<br> address <a href="http://10.10.1.141:7788">10.10.1.141:7788</a>;<br> meta-disk internal;<br> }<br> on primary {<br>
device /dev/drbd0;<br> disk /dev/sda8;<br> address <a href="http://10.10.1.142:7788">10.10.1.142:7788</a>;<br> meta-disk internal;<br> }<br>}<br>============================================================<br>
<br>Thank you<br>--<br>Maxim Ianoglo<br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>