On Sun, Jul 6, 2014 at 2:47 PM, Nhan Cao <nhanc...@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 <gkot...@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 <nhanc...@gmail.com> >> Date: Sunday, July 6, 2014 at 3:31 PM >> To: Gary Kotton <gkot...@vmware.com> >> Cc: "openstack@lists.openstack.org" <openstack@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 <gkot...@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 <nhanc...@gmail.com> >>> Date: Sunday, July 6, 2014 at 3:06 PM >>> To: "openstack@lists.openstack.org" <openstack@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@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack