[openstack-dev] [Nova][Vmware]Bad Performance when creating a new VM

Gary Kotton gkotton at vmware.com
Wed Jan 8 08:31:00 UTC 2014


Hi,
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.
Please note that we are working on a number of things to improve this:

 1.  Image cache aging (blueprint is implemented and pending review)
 2.  Adding a Vmware glance datastore – which will greatly improve the copy process described above

Thanks
Gary

From: Ray Sun <xiaoquqi at gmail.com<mailto:xiaoquqi at gmail.com>>
Reply-To: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Date: Wednesday, January 8, 2014 4:30 AM
To: OpenStack Dev <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Subject: [openstack-dev] [Nova][Vmware]Bad Performance when creating a new VM

Stackers,
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.

Then I tried to use curl to upload a iso to vcenter directly.

curl -H "Expect:" -v --insecure --upload-file windows2012_server_cn_x64.iso "https://administrator:root123.@200.21.0.99/folder/iso/windows2012_server_cn_x64.iso?dcPath=dataCenter&dsName=datastore2<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>"

The average speed is 0.8 MB/s.

Finally, I tried to use vSpere web client to upload it, it's only 250 KB/s.

I am not sure if there any special configurations for web interface for vcenter. Please help.

Best Regards
-- Ray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140108/86ba441f/attachment.html>


More information about the OpenStack-dev mailing list