[openstack-dev] [Nova][Vmware]Bad Performance when creating a new VM
Gary Kotton
gkotton at vmware.com
Wed Jan 8 14:53:03 UTC 2014
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:09 PM
To: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Subject: Re: [openstack-dev] [Nova][Vmware]Bad Performance when creating a new VM
Gary,
Thanks. Curretly, our upload speed is in the normal range?
[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
Best Regards
-- Ray
On Wed, Jan 8, 2014 at 4:31 PM, Gary Kotton <gkotton at vmware.com<mailto:gkotton at vmware.com>> wrote:
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
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org<mailto:OpenStack-dev at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140108/afc6b366/attachment.html>
More information about the OpenStack-dev
mailing list