← Back to team overview

openstack team mailing list archive

Re: Provisioning performance in Essex

 

On May 6, 2012, at 11:48 PM, Salman A Baset wrote:

> Hello folks,
> 
> I was looking into the provisioning process in OpenStack. If force_raw_images flag is set to False, the provisioning process looks like:
> 
> (1) Copy the image 
> (2) Create a copy of the copied image to an appropriate flavor name
> (3) Start the VM
> 
> while if it is set to True, the provisioning process looks like:
> 
> (1) Copy the image
> (2) Convert image to raw
> (3) Create a copy of the converted raw image to an appropriate flavor name
> (4) Start the VM
> 
> For the former, copying the image to a flavor name is a redundant process. Can that be eliminated? Any thoughts?
> 
> 

The copy is to resize the image to the size requested by the user.  Are you suggesting that it could be streamed from glance and resized to the proper size on the fly?  It seems like that would be possible although it would probably make future launches of the same instances of a different size a bit slower.

Vish


References