[Spice-devel] Performance of Xspice - some results, and a potential patch
Jeremy White
jwhite at codeweavers.com
Mon Aug 6 13:52:27 PDT 2012
> <snip>
> I'm very encouraged to hear this as we are very, very interested in
> SPICE as a WAN protocol. We have noticed that the end user experience
> is almost as dependent upon latency as bandwidth so I was a little
> concerned that you are sending pixmaps changes on a periodic basis.
> Does that introduce any noticeable latency?
>
> I've been quite surprised at how much users are affected by latency I
> would not have thought an issue. Thus, I would define noticeable as
> somewhere between 50 and 100 ms. Thanks very much - John
>
Actually, there is a hard coded behavior in the Spice server that can
make it function poorly with any kind of latency. That is, by default,
it requires that the client supply an acknowledgment either every 20th
or 40th packet. So if you do something that generates more than 40
display messages in a short period of time (which isn't that hard to do)
you have to wait for a full round trip before proceeding on.
The attached patch hacks its way around that issue by mangling the sizes
up by a factor of 10. I have a todo on my list to ask smarter people
here how better to address this issue.
Cheers,
Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pipe.diff
Type: text/x-patch
Size: 561 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120806/f461c3c8/attachment.bin>
More information about the Spice-devel
mailing list