[Openstack] Openstack image boot slow

Juerg Haefliger juergh at gmail.com
Mon Jul 7 07:17:48 UTC 2014


On Sun, Jul 6, 2014 at 2:47 PM, Nhan Cao <nhanct92 at gmail.com> wrote:
>
> hi
> i see cache=none in /var/lib/instance/uuid-xx/libvirt.xml.
> how i set other default value such as: writethrough, writeback...
> thanks

/etc/nova/nova.conf:

# Specific cachemodes to use for different disk types e.g:
# "file=directsync","block=none" (list value)
#disk_cachemodes=

See nova/virt/libvirt/driver.py.


...Juerg


>
> 2014-07-06 19:36 GMT+07:00 Gary Kotton <gkotton at vmware.com>:
>
>> Hi,
>> This should be set by default. Please see
http://www.pixelbeat.org/docs/openstack_libvirt_images/
>> This may help
>> Thanks
>> Gary
>>
>> From: Nhan Cao <nhanct92 at gmail.com>
>> Date: Sunday, July 6, 2014 at 3:31 PM
>> To: Gary Kotton <gkotton at vmware.com>
>> Cc: "openstack at lists.openstack.org" <openstack at lists.openstack.org>
>> Subject: Re: [Openstack] Openstack image boot slow
>>
>> hi,
>> thank for reply.
>> how i set cache of libvirt in nova.conf ?
>>
>>
>> 2014-07-06 19:26 GMT+07:00 Gary Kotton <gkotton at vmware.com>:
>>>
>>> Hi,
>>> The first boot is usually slow as the image needs to be cached. From
that moment on it should be a little quicker.
>>> Thanks
>>> gary
>>>
>>> From: Nhan Cao <nhanct92 at gmail.com>
>>> Date: Sunday, July 6, 2014 at 3:06 PM
>>> To: "openstack at lists.openstack.org" <openstack at lists.openstack.org>
>>> Subject: [Openstack] Openstack image boot slow
>>>
>>> hi guys,
>>> i created an images follow tutorial:
>>> http://docs.openstack.org/image-guide/content/centos-image.html
>>> but when i run it on my openstack lab, it boot very slow.
>>> can you tell me some tips to optimize image.
>>> Thanks!
>>
>>
>
>
> _______________________________________________
> Mailing list:
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140707/36ca2be0/attachment.html>


More information about the Openstack mailing list