Maybe,you need to modify the nova/virt/libvirt.xml.template.In our tesing of nova and sheepdog,<br>if the libvirt.xml like follows,vm instance should be more effective:<br><disk type='network'><br>    <driver name="qemu" type="${disk_type}" io="threads" ioeventfd="on" cache="writeback" event_idx="off"/><br>    <source protocol="sheepdog" name="${disk_name}_root"><br>        <host name="127.0.0.1" port="7000"><br>    </source><br></disk>        <br><br>In addition,when we created 100 vms using sheepdog,then execute dd operation or iozone in vms at the same time,the sheepdog cluster always crashed.In my view,sheepdog should be more strong to handle the concurrency IO operations in vms.<br><br><br><div><sign signid="1"><div style="color:#909090;font-family:Arial Narrow;font-size:12px">------------------</div><div style="font-size:14px;font-family:Verdana;color:#000;"><div>
<div>Best Regards</div>
<div> </div>
<div>ZhangJialong</div></div></div></sign></div><div><qzone></qzone></div><div> </div><div> </div><div> </div><div style="font:Verdana normal 14px;color:#000;"><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div id="menu_sender"><b>From: </b> "harryxiyou"<harryxiyou@gmail.com>;</div><div><b>Date: </b> Fri, Jan 18, 2013 10:56 PM</div><div><b>To: </b> "Kazutaka Morita"<morita.kazutaka@gmail.com>; <wbr></div><div><b>Cc: </b> "openstack-dev"<openstack-dev@lists.launchpad.net>; "Liu Yuan"<namei.unix@gmail.com>; "sheepdog"<sheepdog@lists.wpkg.org>; "openstack"<openstack@lists.launchpad.net>; <wbr></div><div><b>Subject: </b> [Openstack] [Openstack-dev][Sheepdog]Add a new driver for OpenstackCinder like Sheepdog volumes</div></div><div> </div>Hi Morita and other developers,<br><br>If i add a QEMU/Libvirt driver(the same as Sheepdog volumes driver in<br>Openstack Cinder branch) to let Openstack Cinder support a new block-level<br>storage system, I should change following stuffs, right?<br><br>1, Add a driver file to the dir in Openstack Cinder branch(the same as<br>sheepdog.py),<br>      https://github.com/openstack/cinder/blob/master/cinder/volume/drivers<br>2, Change the file in Openstack Nova branch(Let libvirt attach HLFS volumes<br>to QEMU, the same as sheepdog),<br>      https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py<br><br>Do I should change/add any other files for Openstack? Cloud anyone give me<br>some suggestions?    Thanks in advance ;-)<br><br>-- <br>Thanks<br>Harry Wei<br><br>_______________________________________________<br>Mailing list: https://launchpad.net/~openstack<br>Post to     : openstack@lists.launchpad.net<br>Unsubscribe : https://launchpad.net/~openstack<br>More help   : https://help.launchpad.net/ListHelp<br></div>