[Spice-devel] Question about poor performance of Ubuntu VMs

Scott Dowdle dowdle at montanalinux.org
Thu Jan 24 11:01:15 PST 2013


Alon,

----- Original Message -----
> Which version of qxl is in the ubuntu vm and which in the fedora vm? are the qemu
> invocations exactly the same (other then the image)? Is there an xorg.conf in the 
> fedora vm not in the ubuntu vm?

I've used Fedora 16, 17, and 18 and they preform well.  Here's the answers to the best of my knowledge.

Xubuntu 12.04.1 - xserver-xorg-video-qxl 0.0.16-2

Fedora 18 - xorg-x11-drv-qxl-0.0.22-5.20120718gitde6620788

So far as the invocations go... whatever virt-manager produced.  I used the defaults.  I'm using NAT.  Here's what ps tells me on the host node:

# Xubuntu
/usr/libexec/qemu-kvm -S -M rhel6.3.0 -enable-kvm -m 2048 -smp 2,sockets=2,cores=1,threads=1 -name Xubuntu-1204-64bit -uuid 37e0aa81-113b-1f1b-08b6-078af8597c4b -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/Xubuntu-1204-64bit.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/vmstorage/Xubuntu-1204-64bit.img,if=none,id=drive-virtio-disk0,format=raw,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=22,id=hostnet0,vhost=on,vhostfd=31 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:a2:46:0f,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -spice port=5907,addr=0.0.0.0 -vga qxl -global qxl-vga.vram_size=67108864 -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6

# Fedora
/usr/libexec/qemu-kvm -S -M rhel6.3.0 -enable-kvm -m 2048 -smp 2,sockets=2,cores=1,threads=1 -name fedora18-64bit -uuid 6e7a2842-73ce-7b91-4d27-74539dfb7432 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/fedora18-64bit.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/vmstorage/fedora18-64bit.img,if=none,id=drive-virtio-disk0,format=raw,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=22,id=hostnet0,vhost=on,vhostfd=29 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:46:77:97,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -device usb-tablet,id=input0 -spice port=5904,addr=0.0.0.0 -vga qxl -global qxl-vga.vram_size=67108864 -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6

So far as the xorg.conf goes... I didn't do anything special.  They auto-configured and so far as I know use a dynamic config rather than an actual file.  xorg has been that way for some time now.  I know you can make an xorg.conf and tell it to use that but it seems to do a fairly good job and if it ain't broke, I don't try to fix it.  Well, in this case, maybe it is broke. :)

The KVM host both of those are on is:

Red Hat Enterprise Linux Server release 6.3 (Santiago)
kernel-2.6.32-279.19.1.el6.x86_64
qemu-kvm-0.12.1.2-2.295.el6_3.10.x86_64
libvirt-0.9.10-21.el6_3.7.x86_64

So far as anything else goes... it is fully updated so whatever the current versions are in RHEL6.

TYL,

-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]


More information about the Spice-devel mailing list