<div dir="ltr"><div><div><br><br><br>On Sun, Jul 6, 2014 at 2:47 PM, Nhan Cao <<a href="mailto:nhanct92@gmail.com">nhanct92@gmail.com</a>> wrote:<br>><br>> hi<br>> i see cache=none in /var/lib/instance/uuid-xx/libvirt.xml.<br>
> how i set other default value such as: writethrough, writeback...<br>> thanks<br><br></div>/etc/nova/nova.conf:<br><br># Specific cachemodes to use for different disk types e.g:<br># "file=directsync","block=none" (list value)<br>
#disk_cachemodes=<br><br></div><div>See nova/virt/libvirt/driver.py.<br><br></div><div><br></div>...Juerg<br><br><div><div><br>><br>> 2014-07-06 19:36 GMT+07:00 Gary Kotton <<a href="mailto:gkotton@vmware.com">gkotton@vmware.com</a>>:<br>
><br>>> Hi,<br>>> This should be set by default. Please see <a href="http://www.pixelbeat.org/docs/openstack_libvirt_images/">http://www.pixelbeat.org/docs/openstack_libvirt_images/</a><br>>> This may help<br>
>> Thanks<br>>> Gary<br>>><br>>> From: Nhan Cao <<a href="mailto:nhanct92@gmail.com">nhanct92@gmail.com</a>><br>>> Date: Sunday, July 6, 2014 at 3:31 PM<br>>> To: Gary Kotton <<a href="mailto:gkotton@vmware.com">gkotton@vmware.com</a>><br>
>> Cc: "<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>" <<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>><br>>> Subject: Re: [Openstack] Openstack image boot slow<br>
>><br>>> hi,<br>>> thank for reply.<br>>> how i set cache of libvirt in nova.conf ?<br>>><br>>><br>>> 2014-07-06 19:26 GMT+07:00 Gary Kotton <<a href="mailto:gkotton@vmware.com">gkotton@vmware.com</a>>:<br>
>>><br>>>> Hi,<br>>>> The first boot is usually slow as the image needs to be cached. From that moment on it should be a little quicker.<br>>>> Thanks<br>>>> gary<br>>>><br>
>>> From: Nhan Cao <<a href="mailto:nhanct92@gmail.com">nhanct92@gmail.com</a>><br>>>> Date: Sunday, July 6, 2014 at 3:06 PM<br>>>> To: "<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>" <<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>><br>
>>> Subject: [Openstack] Openstack image boot slow<br>>>><br>>>> hi guys,<br>>>> i created an images follow tutorial:<br>>>> <a href="http://docs.openstack.org/image-guide/content/centos-image.html">http://docs.openstack.org/image-guide/content/centos-image.html</a><br>
>>> but when i run it on my openstack lab, it boot very slow.<br>>>> can you tell me some tips to optimize image.<br>>>> Thanks!<br>>><br>>><br>><br>><br>> _______________________________________________<br>
> Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>> Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
> Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>><br></div></div></div>