<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;">Hi,<br><br>We
are setting up a drbd system use for XEN virtualization. The
performance we tested on VM is not ideal. The setup is like this
XEN+DRBD+LVM+SOFTWARE RAID 1. Is anyone have this similar setup? What
performance you can achive?<br><br>Here are the details of our setup:<br>Hardware:<br>CPU : Intel Core i7 3770 CPU <br>RAM : 32GB <br>Hard Drive : 2 x 2TB SATA3 Western Digital Hard Drive, Software RAID 1 setup <br>NIC : 2 Intel Gigabit Pro 1000CT PCIe. One is dedicate to DRBD direct link (cross over)<br><br>Software:<br>Ubuntu 12.04 for the host.<br>Centos 6.3 for the guest vm (Para virtualize) .<br>DRBD 8.4.3<br>Xen 4.1<br><br>drbd.conf :<br>global
{<br> usage-count no;<br>}<br>common {<br> protocol C;<br> startup {<br> degr-wfc-timeout 60;<br> wfc-timeout 30;<br> }<br><br> net {<br> allow-two-primaries; ### For Primary/Primary ###<br> after-sb-0pri
discard-zero-changes;<br> after-sb-1pri violently-as0p;<br> after-sb-2pri violently-as0p;<br> sndbuf-size 0;<br> }<br><br> syncer {<br> rate 100M;<br> verify-alg sha1;<br> }<br>}<br> <br>resource c6pv153 {<br> <br> disk /dev/vmVg/c6pv153;<br> device
/dev/drbd1;<br> meta-disk internal;<br><br> on server1 {<br> address 10.0.0.1:7789;<br> }<br> <br> on server2 {<br> address 10.0.0.2:7789;<br> }<br>}<br><br><br>dd command use for the test:<br>dd bs=1M count=1024 if=/dev/zero of=test conv=fdatasync<br><br>The dd result we can get is around 30MB/s - 34MB/s<br><br>If we run the test on the host in DRBD + LVM partition. We could get 75MB/s - 78MB/s<br><br>Is there any way we can improve it without adding/changing hardward?<br><br>I saw someone using this kind of setup XEN+<span
style="font-weight:bold;">LVM+DRBD</span>+SOFTWARE RAID 1, will that make any different?<br><br></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;"><br></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;">Regards</div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;">Louis<br></div> <div class="reselectable" style="visibility:hidden;"><div role="document" tabindex="0" class="messagepane "> <div class="message content"> </div> </div></div> <div id="slot_RS"><div id="RS"> </div></div><div id="slot_RS2"><div id="RS2"> </div></div>
<div style="position: absolute; top: -5000px;"> </div><div style="width: 426px; left: 261px; top: 44.5px; z-index: 0;" class="yui3-widget yui3-overlay yui3-autocompletewidget yui3-acwidget yui3-widget-positioned yui3-widget-stacked yui3-acwidget-hidden"><div role="listbox" style="display: block; overflow: auto; max-height: 300px;" id="ac-to-results" class="ac-results yui3-acwidget-content yui3-widget-stdmod"><ul role="presentation"><li class="yui3-acwidget-selected" role="option"><span class="ac-value"><span></span><em class="email" dir="ltr"></em></span><span title="" data-action="ac-remove-item" data-ac-sc="0" data-ac-email-field-id="490" data-ac-id="232" data-ac-email="drbd-user@lists.linbit.com" class="ac-remove-item"></span><br></li></ul></div></div></div></body></html>