qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] raw diskimages


From: westlake
Subject: [Qemu-discuss] raw diskimages
Date: Thu, 7 Jul 2016 12:40:58 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0

is there a nice tweak for raw disk images? here i'm trying the following and i'm wondering if I should be using "aio=threads"

according to benchmarks online "aio=threads" scores better than aio=native when ioeventfd is set to on
http://wiki.qemu.org/Features-Done/VirtioIoeventfd

i'm trying to understand this new iothread replacement over x-data-plane as previously I was using x-data-plane and I'm trying to find the equivalent with iothread.. I just care for virtual disk i/o performance in general ( I know I am able to use raw disks, but here I am just going for raw disk images)

HD_PATH='/vm/file.bin"
VDA="-drive if=none,id=drive0,cache=none,aio=native,format=raw,file=${HD_PATH} -device virtio-blk,drive=drive0,scsi=off,config-wce=off,x-data-plane=on"

currently trying with the new iothread,
VDA="-drive if=none,id=drive0,cache=none,aio=threads,format=raw,file=${HD_PATH},index=0 -object iothread,id=iothread0 -device virtio-blk-pci,drive=drive0,scsi=off,
config-wce=off,iothread=iothread0,ioeventfd=on"

Any feedback I appreciate

thanks

QEMU 2.5.0 monitor - type 'help' for more information
(qemu) info block
info block
drive0 (#block131): /vm/file.bin (raw)
    Cache mode:       writeback, direct



reply via email to

[Prev in Thread] Current Thread [Next in Thread]