On 03/07/2010 09:09 PM, Asdo wrote:
Avi Kivity wrote:
On 03/07/2010 08:01 PM, Antoine Martin wrote:

Yes cache=none: "-drive file=./vm/var_fs,if=virtio,cache=none"

Side question: this is the right thing to do for raw partitions, right?

The rightest.

Isn't cache=writeback now safe on virtio-blk since 2.6.32?

Yes.

Doesn't it provide better performances?

No. The guest will do its own caching, so unless the guest is really short of memory, you aren't gaining much; and the copying will hurt.


Also that looks like a raw file to me, not a partition... do they follow the same optimization "rule"?

More or less.

--
Do not meddle in the internals of kernels, for they are subtle and quick to 
panic.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to