> 2016-09-13 16:43 GMT+02:00 Christophe Fergeau < [email protected] > :
> > 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 > > bandwith and latency are not mine to decide about You could tweak OpenVPN settings too. > QXL-driver check > spice-agent check > tweaks in guest definition : > <graphics type='spice' port='5999' autoport='no' listen='0.0.0.0'> > <listen type='address' address='0.0.0.0'/> > <image compression='glz'/> > <jpeg compression='always'/> > <zlib compression='always'/> > <streaming mode='all'/> > </graphics> > I tried them on auto_glz,auto,auto,filter (tried every combo) > But I guess my bandwith is not stable and since setting them like this gives > the best performance. > <gl enable='yes'/> gets an error if I add that to the config. > It says this option is included since 1.3.3 and centos has qemu-kvm 1.5.3 > Did I forget something to enable this ? > Rob Verduijn Frediano
_______________________________________________ Spice-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/spice-devel
