Hi, Abel Gordon: The CPU info of host is as follows:
Physical CPU: 2 Core Per Phy CPU: 6 HT: enabled According to your advice, I have finished another benchmark which ensures vcpus (32) is more than the cpu cores of host (24). The Results showed that the dataplane enabled did have obvious advantage over non-dataplane under Random write mode too. 1. Environment: a). Qemu 1.4 master branch b). kernel: 3.5.0-2.fc17.x86_64 c). virtual disks location: the same local SATA harddisk with ext4 fs d). Main Testing VM: os: win2003 server/raw, disk1: raw/non-dataplane/10G/NTFS, disk2: raw/dataplane/10G/NTFS, vcpu: 8 (the limit of win203 server ) ./x86_64-softmmu/qemu-system-x86_64 -enable-kvm -smp 8 -name win2003 -M pc-0.15 -m 1024 -boot c -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -monitor stdio -drive file=/home/win2003.img,if=none,format=raw,cache=none,id=drive0 -chardev spicevmc,id=charchannel2,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel2,id=channel2,name=com.redhat.spice.0 -chardev pty,id=charchannel3 -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel3,id=channel3,name=arbitrary.virtio.serial.port.name -usb -device usb-tablet,id=input0 -spice port=3007,addr=186.100.8.121,disable-ticketing -vga qxl -global qxl.vram_size=67108864 -device AC97,id=sound0,bus=pci.0,addr=0x4 -device virtio-blk-pci,drive=drive0,bus=pci.0,addr=0x6,bootindex=1 -drive id=drive1,if=none,cache=none,format=raw,file=/home/data.img -device virtio-blk-pci,drive=drive1,bus=pci.0,addr=0x7 -drive id=drive2,if=none,cache=none,format=raw,file=/home/data2.img,aio=native -device virtio-blk-pci,drive=drive2,bus=pci.0,addr=0x8,scsi=off,x-data-plane=on,config-wce=off e). Other 3 VMs: os: win2003 server/raw, disk: raw/non-dataplane/10G/NTFS, vcpu: 8 ./x86_64-softmmu/qemu-system-x86_64 -enable-kvm -smp 8 -name win2006 -M pc-0.15 -m 1024 -boot c -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -monitor stdio -drive file=/home/win2006.img,if=none,format=raw,cache=none,id=drive0 -chardev spicevmc,id=charchannel2,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel2,id=channel2,name=com.redhat.spice.0 -chardev pty,id=charchannel3 -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel3,id=channel3,name=arbitrary.virtio.serial.port.name -usb -device usb-tablet,id=input0 -spice port=3010,addr=186.100.8.121,disable-ticketing -vga qxl -global qxl.vram_size=67108864 -device AC97,id=sound0,bus=pci.0,addr=0x4 -device virtio-blk-pci,drive=drive0,bus=pci.0,addr=0x6,bootindex=1 -drive id=drive1,if=none,cache=none,format=raw,file=/home/data_2006.img -device virtio-blk-pci,drive=drive1,bus=pci.0,addr=0x7 2. Testing Tool And Testing Params: a). Only IOMeter App Running in all the 4 VMs, and no other IO in Host (Dom0) b). 100% Random, 0% Read, 16K data size, 50 outstanding IO c). Main Testing VM: testing of two disks separately, not simultaneously, both for 15 minutes e). Other 3 VMs: make IO pressure continuously 3. Testing Results: IOPS_dataplane IOPS_non_dataplane MBPS_dataplane MBPS_non_dataplane 201.4612 74.0764 3.147832 1.157444 > -----邮件原件----- > 发件人: Abel Gordon [mailto:ab...@il.ibm.com] > 发送时间: 2013年4月7日 19:42 > 收件人: Zhangleiqiang > 抄送: Luohao (brian); Haofeng; qemu-devel@nongnu.org; Stefan Hajnoczi; > Stefan Hajnoczi > 主题: Re: [Qemu-devel] 答复: 答复: question about performance of dataplane > > > > qemu-devel-bounces+abelg=il.ibm....@nongnu.org wrote on 07/04/2013 > 02:31:20 > PM: > > > From: Zhangleiqiang <zhangleiqi...@huawei.com> > > To: Stefan Hajnoczi <stefa...@redhat.com>, > > Cc: Zhangleiqiang <zhangleiqi...@huawei.com>, Stefan Hajnoczi > > <stefa...@gmail.com>, "Luohao \(brian\)" <brian.luo...@huawei.com>, > > "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>, Haofeng > <haof...@huawei.com> > > Date: 07/04/2013 02:31 PM > > Subject: [Qemu-devel] 答复: 答复: question about performance of > dataplane > > Sent by: qemu-devel-bounces+abelg=il.ibm....@nongnu.org > > > > Hi, Stefan: > > > > Follow your advice, I have finished the benchmarks with multiple > > vcpu (smp) and parallel I/O workloads. > > The results still show that the performance of disk with > > dataplane enabled did not have advantage over non-dataplane under > > Random write mode. But under the Sequence write mode, the former has > > obvious advantage. > > Hi, Leiqzhang > > Interesting numbers. How many cores the host has ? was HT enabled ? > Did you try to see what happens when you run more than 1 guest and when > you create at least 1 VCPU per core in the host ?