On 02/13/2012 05:23 AM, Stefan Hajnoczi wrote:
On Sat, Feb 11, 2012 at 9:57 AM, Prateek Sharma<prateek3...@gmail.com>  wrote:
$QEMU  -cpu core2duo,+vmx  -drive file=$VM_PATH,if=virtio,aio=native
-drive file=viotest.img,if=virtio,index=2

-drive cache=none is typically used for good performance when the
image is on a local disk.  Try that and I think you'll see an
improvement.

We should throw a bug on aio=native, cache != none.

linux-aio blocks on io_submit if the caching mode isn't O_DIRECT and that will kill performance.

Regards,

Anthony Liguori


Stefan



Reply via email to