|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] Default cache mode |
Date: | Wed, 29 Jun 2011 07:08:18 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 |
On 06/29/2011 06:59 AM, Kevin Wolf wrote:
Hi, I think we have touched this topic before during some IRC discussions or somewhere deep in a mailing list thread, but I think it hasn't been discussed on the list. Our default cache mode of cache=writethrough is extremely conservative and provides absolute safety at the cost of performance,
Thinking twice about this, shouldn't we just move to a simplified model:-drive file=foo.img,cache=[on|off],hd0 -device virtio-blk-pci,drive=hd0,wce=1
As long as we advertise wce and wce can be toggled from the guest, I don't think the default is all that important. I think cache=on is the right default for most common use cases.
Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |