Hi Regads, please help me.<br>I'm inexperienced with drbd, for testing purpose I have created two virtual machine with drbd 8.4.0(and 8.3.9.12) on the same pc, it's run very well.<br>The probelm is the speed sync rate, it does not exceed 100 k/Sec.<br>
tests were performed with the Vmware NAT and Vmware Bridge connection.<br>The hard disk is a ssd, and it write to 300mb/sec.<br>Why my sync rate is very slow?<br>NC and Iperf are very fast transfert file, why drbd is slow??<br>
<br>PLEASE HELP ME<br><br><div><br></div><div><br></div><div><br><b>This is my drbd config:</b><br><br>common {<br> protocol C;<br> startup {<br> degr-wfc-timeout 0; #wait forever<br>
}<br>
disk {<br> on-io-error detach;<br> fencing dont-care;<br> }<br> syncer {<br> rate 33M;<br> al-extents 1801; #def 127 (must be a prime number)<br>
verify-alg md5;<br> }<br> net {<br> sndbuf-size 512k;<br> timeout 60 ;<br> connect-int 10 ;<br>
ping-int 10 ;<br> ko-count 10;<br> max-epoch-size 257;<br> }<br> }<br><br>resource r0 {<br> on master {<br>
volume 0 {<br> device /dev/drbd0;<br> disk /dev/sdb5;<br> flexible-meta-disk internal;<br> }<br> address <a href="http://192.168.139.132:7789" target="_blank">192.168.139.132:7789</a>;<br>
}<br> on slave {<br> volume 0 {<br> device /dev/drbd0;<br> disk /dev/sdb5;<br> flexible-meta-disk internal;<br> }<br>
address <a href="http://192.168.139.133:7789" target="_blank">192.168.139.133:7789</a>;<br> }<br>}<br><br><b>This is drbd transfert:</b><br>Every 2.0s: cat /proc/drbd Wed Nov 30 11:49:36 2011<br>
<br>version: 8.4.0 (api:1/proto:86-100)<br>GIT-hash: 28753f559ab51b549d16bcf487fe625d5919c49c build by dag@Build64R6, 2011-08-12 09:40:17<br>0: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C r-----<br> ns:35646712 nr:0 dw:68 dr:35651401 al:8 bm:2179 lo:1 pe:3 ua:5 ap:0 ep:1 wo:b oos:19412724<br>
[>...................] sync'ed: 7.5% (18956/20472)M<br> finish: 0:04:39 speed: 69,528 (67,448) K/sec<br><br><b>This is iperf test:</b><br>Client connecting to 192.168.139.132, TCP port 5001<br>TCP window size: 85.3 KByte (default)<br>
------------------------------------------------------------<br>[ 3] local 192.168.139.133 port 26031 connected with 192.168.139.132 port 5001<br>[ 5] local 192.168.139.133 port 5001 connected with 192.168.139.132 port 15000<br>
[ ID] Interval Transfer Bandwidth<br>[ 3] 0.0-10.0 sec 1.26 GBytes 1.08 Gbits/sec<br>[ ID] Interval Transfer Bandwidth<br>[ 5] 0.0-10.0 sec 1.14 GBytes 977 Mbits/sec<br><br><br></div>