[Spice-devel] Remote control delay when I access to windows7 kvm virtual machine with spice
John Y.
wjseven1707 at gmail.com
Tue Feb 21 07:10:48 UTC 2017
spice-server is 0.12.4-20
I did not add the spice agent.
Can spice agent provide better VGA performance?
I though it just provide data transferring.
I had install spice guest tools.
Regards,
John
2017-02-21 14:29 GMT+08:00 Pavel Grunt <pgrunt at redhat.com>:
> Hello John,
>
> On Tue, 2017-02-21 at 10:28 +0800, John Y. wrote:
> > I had a kvm virtual machine with windows 7 which is created by
> > qemu2.5 and spice-server-1.8.0.
> do you mean spice-server 0.12.8 ?
>
> > I used spice to remote access the vm, but I felled lag sometime.
> > I opened the notepad and typed some words, but words displayed after
> > 0.5-1 seconds. I can fell the delay obviously.
> >
> > The vm is on a centos server and ip is 192.168.11.10.
> > My client is on ubuntu and the statistics of ping:
> >
> > --— 192.168.11.10 ping statistics ---
> > 213 packets transmitted, 213 received, 0% packet loss, time 212345ms
> > rtt min/avg/max/mdev = 0.294/6.786/17.672/5.125 ms
> >
> >
> > How can I get more information to solve this problem ?
> >
> Let us know if adding the spice agent
> https://www.spice-space.org/spice-user-manual.html#agent
>
> and installing spice guest tools
> https://www.spice-space.org/download.html#windows-binaries
>
> changes anything.
>
> Thanks,
> Pavel
>
> >
> > Here are the information:
> >
> > qemu version:
> > QEMU emulator version 2.5.1.1, Copyright (c) 2003-2008 Fabrice
> > Bellard
> >
> > uname -a
> > Linux server01 4.2.0-1.el7.elrepo.x86_64 #1 SMP Sun Aug 30 21:25:29
> > EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
> >
> > libvirt.xml:
> > <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0"
> > type="kvm">
> > <name>win7_001</name>
> > <os>
> > <type arch="x86_64" machine="pc-i440fx-1.7">hvm</type>
> > </os>
> > <features>
> > <acpi/>
> > <apic/>
> > <pae/>
> > </features>
> > <clock offset="localtime"/>
> > <on_poweroff>destroy</on_poweroff>
> > <on_reboot>restart</on_reboot>
> > <on_crash>destroy</on_crash>
> > <vcpu current="2">2</vcpu>
> > <cpu>
> > <topology sockets="1" cores="2" threads="1"/>
> > </cpu>
> > <memory>4194304</memory>
> > <currentMemory>4194304</currentMemory>
> > <devices>
> > <emulator>/root/qemu25/x86_64-softmmu/qemu-system-
> > x86_64</emulator>
> > <disk device="disk" type="file">
> > <driver name="qemu" type="qcow2" cache="none"/>
> > <source file="/root/vm/wind7_01/win7.qcow2/>
> > <target bus="virtio" dev="vda"/>
> > </disk>
> > <disk type="file" device="cdrom">
> > <source dev=""/>
> > <target dev="hdc" bus="ide"/>
> > </disk>
> > <serial type="pty">
> > <source path="/dev/pts/1"/>
> > <target port="0"/>
> > </serial>
> > <input type="tablet" bus="usb"/>
> > <input type="mouse" bus="ps2"/>
> > <controller type="usb" index="0" model="ich9-ehci1">
> > <alias name="usb0"/>
> > </controller>
> > <controller type="usb" index="0" model="ich9-uhci1">
> > <alias name="usb0"/>
> > <master startport="0"/>
> > </controller>
> > <controller type="usb" index="0" model="ich9-uhci2">
> > <alias name="usb0"/>
> > <master startport="2"/>
> > </controller>
> > <controller type="usb" index="0" model="ich9-uhci3">
> > <alias name="usb0"/>
> > <master startport="4"/>
> > </controller>
> > <redirdev bus="usb" type="spicevmc">
> > <alias name="redir0"/>
> > </redirdev>
> > <redirdev bus="usb" type="spicevmc">
> > <alias name="redir1"/>
> > </redirdev>
> > <redirdev bus="usb" type="spicevmc">
> > <alias name="redir2"/>
> > </redirdev>
> > <redirdev bus="usb" type="spicevmc">
> > <alias name="redir3"/>
> > </redirdev>
> > <graphics type="spice" autoport="yes" listen='0.0.0.0'
> > keymap='en-us'/>
> > <sound model="ac97"/>
> > <video>
> > <model type="qxl" ram="65536" vram="65536" heads="1"/>
> > </video>
> > <channel type="unix">
> > <source mode="bind"/>
> > <target type="virtio" name="org.qemu.guest_agent.0"/>
> > </channel>
> > <interface type="bridge">
> > <mac address="fa:16:3e:6f:55:5b"/>
> > <source bridge="virtio"/>
> > <model type="virtio"/>
> > </interface>
> > </devices>
> > <qemu:commandline>
> > <qemu:arg value="-cpu"/>
> > <qemu:arg value="host"/>
> > </qemu:commandline>
> > </domain>
> >
> >
> > Regards
> > John.
> >
> > _______________________________________________
> > Spice-devel mailing list
> > Spice-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/spice-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170221/2dc386d0/attachment-0001.html>
More information about the Spice-devel
mailing list