[lfs-dev] kvm performance

Pierre Labastie pierre.labastie at neuf.fr
Mon Sep 23 14:06:20 PDT 2013

Le 23/09/2013 18:10, Bruce Dubbs a écrit :

> On the pdf of the above, it measured KVM I/O at about 60% of the host. 
> See pages 56-58.  That seems to be consistent with my results.
It is really amazing, because for the SBU benchmark, I consistently get not more than
a 10 % increase of the timings with qemu. I tried also Arch Ubuntu on the VM,
(everything -j1, with or without 'cache=writeback', on a qcow2 format.

On this host (core i5), I get 158 (+-2) s on the host and 170 (+-5) s on the WM.
Both with -j1 of course.

Here is the qemu command I use:

/usr/bin/qemu-system-x86_64 \
-monitor stdio \
-smp 4 -cpu Nehalem \
-soundhw ac97 \
-k fr \
-enable-kvm \
-m 3915 \
-drive file=/mnt/virtualfs/aqemu/blfs.qcow2,cache=writeback \
-cdrom /mnt/virtualfs/aqemu/grub-img.iso \
-boot order=c,menu=on \
-net nic,vlan=0,model=e1000 -net user,vlan=0,hostfwd=tcp::2222- \
-name "lfs" $*


More information about the lfs-dev mailing list