On Mon, May 26, 2014 at 10:16 AM, Швецов Михаил <[email protected]> wrote:
> Maybe I'm doing something wrong. Please help me.
>
> I install openbsd 5.5 i386 and qemu-1.7.0 from packages.
>
> qemu-img create -f qcow2 /vm/qcow2.img 10G
>
> qemu-system-i386 -name qcow2 -nodefaults -m 512 -hda /mnt/ qcow2.img
> -cdrom /obraz/install55.iso -net nic -net
> tap,ifname=tun1,script=no,downscript=no -boot once=d -display
> vnc=0.0.0.0:1 -monitor vc -vga cirrus
>
> qemu-img create -f raw /vm/raw.img 10G
>
> qemu-system-i386 -name raw -nodefaults -m 512 -hda /mnt/raw.img -cdrom
> /obraz/install55.iso -net nic -net
> tap,ifname=tun2,script=no,downscript=no -boot once=d -display
> vnc=0.0.0.0:2 -monitor vc -vga cirrus
>
> QCOW2 works slower RAW, and RAW works slower host machine. I think that
> disc is the weakest link.
>
> I try set -hda /dev/rwd3c (disk itself – not system(wd0)) – but nothing
> changed.
>
> What I may do to work VM QEMU faster???
>


You could try using virtio in disk and network:

qemu-system-i386 -drive file=$img,if=virtio -net tap -net nic,if=virtio

I have found a measurable improvement using them.

Reply via email to