[Spice-devel] troubleshooting performance and latency issues?

Victor Toso victortoso at redhat.com
Tue May 2 14:27:51 UTC 2017


Hi,

On Tue, May 02, 2017 at 10:07:53AM -0400, Frediano Ziglio wrote:
> > In particular, rendering the gray background of the GNOME unlock screen
> > appears very slow, it renders one line at a time from top to bottom, it
> > takes several seconds.  Rendering the desktop background image (default
> > Debian theme) was also slow.  I understand that I could change the
> > background image, but the gray lock screen, being a single colour,
> > shouldn't that render more quickly?
> >
>
> weird, looks like is not compressing at all!
> With remote-viewer you can add options like --spice-preferred-compression=glz
> (see "remote-viewer --help-spice" command), you should be able to connect
> with "remote-viewer spice://<ip>:<port>" (not using ssh).

There is also the fact that we have too many re-draws in GNOME which
makes everything worse.

If you enable GTK_DEBUG=updates (or --gtk-debug=updates) you will be
able to see what the difference between GNOME as guest and other lightdm
(windows is fairly great too....)

> 
> > Unfortunately, before I could test it more, Xorg crashed again, I've
> > submitted the core dump now.
> > 
> > >> I noticed it appears a little better with virt-manager than virt-viewer,
> > >> should there be any difference between these two products if they both
> > >> use the same protocol?
> > >>
> > > 
> > > Maybe is due to some compression settings difference. Not sure which
> > > compression algorithms are used by virt-manager/virt-viewer.
> > > 
> > >> Can I do anything to tweak the .ssh/config to make it better?  It
> > >> occurred to me that adding "IPQoS lowdelay" might be useful as it
> > >> defaults to "throughput" for non-interactive connections.  Maybe
> > >> virt-manager should add that on the ssh command line?
> > >>
> > > 
> > > display requires quite lot of bandwidth, if you set network to
> > > low delay but you use a lot of bandwidth you'll get worst performance.
> > > 
> > >> Is there any way to see SPICE latency statistics in the virt-manager GUI?
> > >>
> > >> Would any other SPICE viewer make a difference?
> > >>
> > >> Are there any changes I should make to the GNOME desktop configuration
> > >> to make it work better through SPICE?  I've heard people comment on
> > >> changing to fvwm.
> > >>
> > >> Can anybody make any other suggestions?
> > >>
> > >> Regards,
> > >>
> > >> Daniel
> > > 
> > > Frediano
> > > 
> > 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170502/9b3d0f9e/attachment.sig>


More information about the Spice-devel mailing list