so, what changes should I make if I want use raw in openstack, I didn't find some configure option in nova.conf.sample<br><br>I also try to modify the source code in nova/virt/libvirt/utils.py, and didn't succeed<br>
<br>I noticed that the type of snapshot is same as the instance's image by default, does this right, and what about the type of model image that uploaded to glance, does it affect the disk type I use?<br><br>Thanks<br>
<br><div class="gmail_quote">On Tue, Apr 17, 2012 at 4:41 PM, Daniel P. Berrange <span dir="ltr"><<a href="mailto:berrange@redhat.com">berrange@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, Apr 17, 2012 at 04:23:04PM +0800, William Herry wrote:<br>
> Hi all<br>
><br>
> we plan to use openstack on our production,<br>
> we are not sure which disk type will be the better choice<br>
><br>
> I did a little test on qcow2 and it's performance looks good when I use<br>
> cache=writeback<br>
><br>
> can some one give us some advice, or some article,<br>
> cause for such common topic must be discussed before<br>
<br>
</div>Raw files or block devices will always have some performance advantage<br>
over qcow2, though I don't have figures to tell you just how much of<br>
a difference it will be. The performance gap is certainly much smaller<br>
than it used to be a few years back.<br>
<br>
The more important question is probably, do you actually need any of<br>
the other features that qcow2 gives over raw ? eg internal snapshots,<br>
external backing files, encryption, compression, etc ?  If you don't<br>
need any of these features, then there is no real point in choosing<br>
to use qcow2 over raw.<br>
<br>
REgards,<br>
Daniel<br>
<span class="HOEnZb"><font color="#888888">--<br>
|: <a href="http://berrange.com" target="_blank">http://berrange.com</a>      -o-    <a href="http://www.flickr.com/photos/dberrange/" target="_blank">http://www.flickr.com/photos/dberrange/</a> :|<br>
|: <a href="http://libvirt.org" target="_blank">http://libvirt.org</a>              -o-             <a href="http://virt-manager.org" target="_blank">http://virt-manager.org</a> :|<br>
|: <a href="http://autobuild.org" target="_blank">http://autobuild.org</a>       -o-         <a href="http://search.cpan.org/%7Edanberr/" target="_blank">http://search.cpan.org/~danberr/</a> :|<br>
|: <a href="http://entangle-photo.org" target="_blank">http://entangle-photo.org</a>       -o-       <a href="http://live.gnome.org/gtk-vnc" target="_blank">http://live.gnome.org/gtk-vnc</a> :|<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><font><span style="font-family:courier new,monospace;color:rgb(51,51,255)"><br>===========================</span><span style="font-family:courier new,monospace;color:rgb(51,51,255)"></span><br>
William Herry<br><br style="font-family:courier new,monospace;color:rgb(51,51,255)"><span style="font-family:courier new,monospace;color:rgb(0,0,0)">WilliamHerryChina@Gmail.com</span></font><font><span style="font-family:courier new,monospace;color:rgb(0,0,0)"></span><br>
</font><br>