<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div><br></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Ray Sun <<a href="mailto:xiaoquqi@gmail.com">xiaoquqi@gmail.com</a>><br><span style="font-weight:bold">Reply-To: </span> "OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br><span style="font-weight:bold">Date: </span> Wednesday, January 8, 2014 4:09 PM<br><span style="font-weight:bold">To: </span> "OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br><span style="font-weight:bold">Subject: </span> Re: [openstack-dev] [Nova][Vmware]Bad Performance when creating a    new VM<br></div><div><br></div><div><div><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">
Gary,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">
Thanks. Curretly, our upload speed is in the normal range?</div></div></div></div></span><div><br></div><div>[Gary] #hrs for a 7G file is far too long. For testing I have a 1G image. This takes about 2 minutes to upload to the cache. Please note that I am running on a virtual setup so thing take far longer than they would if it was bare metal</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div><div><div class="gmail_extra"><br clear="all"><div><font face="courier new,monospace">Best Regards<br>
-- Ray</font></div><br><br><div class="gmail_quote">On Wed, Jan 8, 2014 at 4:31 PM, Gary Kotton <span dir="ltr">
<<a href="mailto:gkotton@vmware.com" target="_blank">gkotton@vmware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div>Hi,</div><div>In order for the VM to be booted the image needs to be on a datastore accessible by the host. By default the data tore will not have the image. This is copied from glance tot he datastore. This is most probably where the problem is. This may take a while
 depending on the connectivity between the openstack setup and  your backbend datastore. Once you have done this you will see a directory on the datastore called vmware_base. This will contain that image. From then on it should be smooth sailing. </div><div>Please note that we are working on a number of things to improve this:</div><ol><li>Image cache aging (blueprint is implemented and pending review)</li><li>Adding a Vmware glance datastore – which will greatly improve the copy process described above
</li></ol><div>Thanks</div><div>Gary</div><div><br></div><span><div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none"><span style="font-weight:bold">From: </span>Ray Sun <<a href="mailto:xiaoquqi@gmail.com" target="_blank">xiaoquqi@gmail.com</a>><br><span style="font-weight:bold">Reply-To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br><span style="font-weight:bold">Date: </span>Wednesday, January 8, 2014 4:30 AM<br><span style="font-weight:bold">To: </span>OpenStack Dev <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br><span style="font-weight:bold">Subject: </span>[openstack-dev] [Nova][Vmware]Bad Performance when creating a new VM<br></div><div><div class="h5"><div><br></div><div><div><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">
Stackers,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">
I tried to create a new VM using the driver VMwareVCDriver, but I found it's very slow when I try to create a new VM, for example, 7GB Windows Image spent 3 hours.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">
Then I tried to use curl to upload a iso to vcenter directly.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default"><div class="gmail_default"><font face="arial,helvetica,sans-serif">curl -H "Expect:" -v --insecure --upload-file windows2012_server_cn_x64.iso "<a href="https://urldefense.proofpoint.com/v1/url?u=https://administrator:root123.%40200.21.0.99/folder/iso/windows2012_server_cn_x64.iso?dcPath%3DdataCenter%26dsName%3Ddatastore2&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=eH0pxTUZo8NPZyF6hgoMQu%2BfDtysg45MkPhCZFxPEq8%3D%0A&m=lhA2fUha%2FtHWjSl8QcZq5lQ9MSETFSwBcyKMNtXnhx0%3D%0A&s=e4e18c64b88329d7c54cdaef299e186aa13f2dd63f37654a0171a70d70b42cd3" target="_blank">https://administrator:root123.@200.21.0.99/folder/iso/windows2012_server_cn_x64.iso?dcPath=dataCenter&dsName=datastore2</a>"</font></div><div style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small">The average speed is 0.8 MB/s.</div><div style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small">Finally, I tried to use vSpere web client to upload it, it's only 250 KB/s.</div><div style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small">I am not sure if there any special configurations for web interface for vcenter. Please help.</div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div><font face="courier new,monospace">Best Regards<br>
-- Ray</font></div></div></div></div></div></div></span></div><br>
_______________________________________________<br>
OpenStack-dev mailing list<br><a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br><a href="https://urldefense.proofpoint.com/v1/url?u=http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=eH0pxTUZo8NPZyF6hgoMQu%2BfDtysg45MkPhCZFxPEq8%3D%0A&m=9a6QiCBNYRRJYDjh9SisIB0JUGIlDmd5rmicgbmlEVw%3D%0A&s=2323d9a1eee95934422fcce0089a81480b96a8acf29badb57e47d81fda353394" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br><br></blockquote></div><br></div></div></div></span></body></html>