[email protected] wrote: > I use the following script to boot up Gentoo on the guest. I cycled > through all 4 cards... > > #!/bin/bash > qemu-system-i386 -enable-kvm \ > -cpu host -display gtk -vga cirrus \ > -drive file=gentoo32.img,format=raw \ > -drive file=linuxswap.img,format=raw \ > -net nic,model=virtio \ > -rtc base=localtime,clock=host \ > -net user,hostname=gentoovm,hostfwd=tcp::2022-:22 \ > -m 3G -monitor stdio -name "Gentoo VM" \ > -parallel none \ > ${@
Today I tested the -smp option again. I already did this some months ago with an older qemu version and there it seemed that it slows things down. But now it makes my vm a lot snappier (qemu-2.4.1-r2). On the guest the xubuntu xfce desktop is much more responsive and firefox and all other apps are running a lot smoother when I use "-smp 4" (my host CPU is a quadcore CPU). I don't know for sure if this also effects the speed of the emulated guest CPU (e.g. while compiling), but I think so. -- Regards wabe

