[Spice-devel] spice performance tweaking

Christophe Fergeau cfergeau at redhat.com
Tue Sep 13 14:43:54 UTC 2016


Hey,

On Tue, Sep 13, 2016 at 08:47:18AM +0200, Rob Verduijn wrote:
> Hello,
> 
> I'm trying to improve my spice performance on a kvm host/guest.
> It's currently rather slow and I can see screens beeing build up, and
> delays when draging windows.
> 
> It's being tunneled through openvpn, which is set to use tcp.
> tcp required because of the firewall which is maintained by 3rd party.
> 
> I have full access to the kvm host, kvm guest and openvpn server.
> 
> Have you got any tips so that I can improve spice performance ?
> I alrready am running tuned with the virtual-guest profile for  guests and
> host profile for the host.
> All systems are runnning CentOS 7
> 
> Any tips for :
> - the KVM host ?
> - the KVM guest ?
> - the openvpn server ?

I would try to minimize latency, and to get as much bandwidth as
possible, probably some tweaks can be done for that on the openvpn side?
Regarding QEMU, make sure you are using  the QXL video driver as well as
the SPICE agent in the guest. There are also a bunch of compression
options that you can try to tweak, see
https://libvirt.org/formatdomain.html#elementsGraphics

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160913/4121e510/attachment.sig>


More information about the Spice-devel mailing list