<div dir="ltr">Hi<div><br></div><div>Maybe there is some virtual hardware added by vsphere. Could you compare the vmx files for the two VMs? Are the same?</div><div><br></div><div>Cheers</div><div><br></div><div>Ruben</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 8, 2013 at 6:33 PM, <span dir="ltr"><<a href="mailto:chenxiang@aquala-tech.com" target="_blank">chenxiang@aquala-tech.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I have a working 3.8.3 setup, with 1 front end running Ubuntu 12.04, which<br>
also exposes two LUN's via iSCSI TGT for the ESXi node to be used as<br>
datastores. I was able to setup VMFS datastore in OpenNebula, register<br>
images, and instantiate VM's.<br>
<br>
Then I did a IO performance from within the VM, with two test cases:<br>
<br>
(1) With vSphere Client, I created a Ubuntu 12.04 VM with 15 GB disk,<br>
install iozone inside the VM, and tested for write throughput. The VM was<br>
installed onto the iSCSI datastore, and the write throughput I got was<br>
about 75 MBps.<br>
<br>
(2) Copied the above-mentioned VMDK to the front end, and registered it as<br>
an images in OpenNebula. Created VM template with exactly the same CPU,<br>
memory, network, and the above-mentioned image, and instantiated the VM.<br>
Again, ran iozone to test for write throughput, and the result was only<br>
about 20 MBps.<br>
<br>
The question was, both VM had identical disk images, and were running on<br>
the same storage. Why the one instantiated by OpenNebula exhibited bad IO<br>
performance?<br>
<br>
Below is the VM template in OpenNebula:<br>
<br>
CPU="1"<br>
DISK=[<br>
IMAGE="VMW-Ubuntu-12.04-Perf",<br>
IMAGE_UNAME="oneadmin" ]<br>
GRAPHICS=[<br>
TYPE="vnc" ]<br>
INPUT=[<br>
BUS="usb",<br>
TYPE="mouse" ]<br>
MEMORY="1024"<br>
NAME="VMW-Ubuntu-12.04-Perf"<br>
NIC=[<br>
NETWORK="VMW-LAN",<br>
NETWORK_UNAME="oneadmin" ]<br>
OS=[<br>
ARCH="x86_64",<br>
BOOT="hd" ]<br>
RAW=[<br>
TYPE="kvm" ]<br>
RAW=[<br>
DATA="<devices><controller type='scsi' index='0'<br>
model='lsilogic'/></devices>",<br>
TYPE="vmware" ]<br>
TEMPLATE_ID="18"<br>
VCPU="1"<br>
<br>
<br>
Thanks a lot.<br>
<br>
Chen Xiang<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div><div>-- </div><div>Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013</div></div><div>-- </div></div>Ruben S. Montero, PhD<br>
Project co-Lead and Chief Architect<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula</div>
</div>