[Spice-devel] better mouse to use with w2k3 guest and qxl

Gianluca Cecchi gianluca.cecchi at gmail.com
Wed Dec 1 05:46:57 PST 2010


Hello,
testing w2k3 guest performance using rh el 6 as the host.
Installed paravirt block and network I/O and started guest with
-spice port=5934,disable-ticketing -vga qxl
through virt-manager and a wrapper script.

At the beginning it seemed all ok, but now I see some sluggish in
- the host side
during an ssh session I notice some strange latencies... without
particular load apparently
- the guest side
where the mouse doesn't move so smoothly and it seems I have sometime
to double click to have a single click guest effect

in guest hardware configuration I see I have both tablet and mouse
(in fact in guest command line there is "-usb -device usb-tablet,id=input0")
Do I have to remove one of them? What is better with spice in this case?

The backing storage for the guest is LVM based and drivers used are
the ones provided by rh el 6
virtio-win-1.1.16-0.el6.noarch
The spice client I'm using is the one present in F13 x86_64
spice-client-0.6.0-1.fc13.x86_64

On rh el 6 I notice there is:
spice-server-0.4.2-15.el6.x86_64

Complete command line provided by virt-manager is this:
qemu       330     1  9 14:16 ?        00:00:01 /usr/libexec/qemu-kvm
-S -M rhel6.0.0 -enable-kvm -m 2048 -smp 2,sockets=2,cores=1,threads=1
-name w2k3db -uuid 02e80e44-cc66-b992-1ba6-0df5b1c1aed8 -nodefconfig
-nodefaults -chardev
socket,id=monitor,path=/var/lib/libvirt/qemu/w2k3db.monitor,server,nowait
-mon chardev=monitor,mode=readline -rtc base=localtime -boot dc -drive
file=/databases/gparted-live-0.5.2-9.iso,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
-drive file=/dev/vmimages_01/w2k3_db,if=none,id=drive-virtio-disk0,boot=on,format=raw
-device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0
-device virtio-net-pci,vlan=0,id=net0,mac=52:54:00:bf:6c:dd,bus=pci.0,addr=0x7
-net tap,fd=21,vlan=0,name=hostnet0 -usb -device usb-tablet,id=input0
-spice port=5934,disable-ticketing -vga qxl -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3

Any hint on make the experience better?

Initially I thought the sluggish could depend on audio card configured
at guest level, but then I removed it and it persists...
On the server I have other 4 linux guest started, quite idle and with
paravirt drivers too:
1x rh el 4 32bit
1x rh el 4 64 bit
1x rh el 6 64 bit
1x rh el 5.4 64 bit

host has 2socket quad core cpus + ht (so 16 cpu seen by os) and 48Gb ram
storage is iSCSI 10Gbit with multipath...

when in sluggish situation
output of free command:
[root at testrh6 ~]# free
             total       used       free     shared    buffers     cached
Mem:      49550532   10531784   39018748          0    2684728     268284
-/+ buffers/cache:    7578772   41971760
Swap:     16777208          0   16777208

output of vmstat 3
[root at testrh6 ~]# vmstat 3
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 0  0      0 41642472 2280760 234784    0    0     3     2   39   22
0  1 99  0  0
 2  0      0 41642260 2280760 234784    0    0     0     0 2120 9656
0  1 99  0  0
 4  6      0 41641084 2280760 234784    0    0     0    56 1917 8446
0  1 99  0  0

Thanks in advance
Gianluca


More information about the Spice-devel mailing list