|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] virtio-blk throughput |
Date: | Mon, 13 Feb 2012 07:48:25 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Lightning/1.0b2 Thunderbird/3.1.15 |
On 02/13/2012 05:23 AM, Stefan Hajnoczi wrote:
On Sat, Feb 11, 2012 at 9:57 AM, Prateek Sharma<address@hidden> 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
[Prev in Thread] | Current Thread | [Next in Thread] |