openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #21622
Re: [OpenStack] How to speed up the instance launch time?
On 03/06/2013 02:46 PM, Mark Lehrer wrote:
>
>> are make in the compute node. So all this takes long an dis proportional to
>> the image size. Is there any way to speed up this process? Is a SAN based
>> backend the only way to go?
>
> No, but if you have multiple compute nodes you will want to have them
> all share /var/lib/nova/instances on a fast NFS server. Make sure
> that your glance machine is as fast as possible too. I also mount
> /tmp from /dev/shm which makes the snapshot process more tolerable,
> but obviously this will require machines with lots of RAM to spare.
>
> The change I made that helped the most was to disable NBD. You have
> to do this in /etc/init/nova-compute.conf and just comment out the
> modprobe nbd line.
Was that to disable injection at startup?
That can be done through config in grizzly
by setting libvirt_injection_partition=-2
thanks,
Pádraig.
Follow ups
References