Low latency (and relatively low bandwidth) video streaming can be done with x264 and xvid (low enough for a 3d game to be playable over the net)<br>However, it introduces licensing issues and high-ish CPU usage on the host side :(<br>
<br><br><div class="gmail_quote">On Mon, May 28, 2012 at 11:19 AM, Alon Levy <span dir="ltr"><<a href="mailto:alevy@redhat.com" target="_blank">alevy@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Thu, May 24, 2012 at 01:24:05PM -0500, Jeremy White wrote:<br>
> > Actually, for WAN, we require ACK for 40 messages, but we allow sending<br>
> > up to 80, without getting an ack for the first 40.<br>
> > From my experience with Windows guest, it sounds like the DRAW_FILL<br>
> > commands might be related to anti aliasing, and maybe the future RENDER<br>
> > support that Alon mentioned will indeed help with this. Meanwhile I<br>
> > would also try to disable off-screen surfaces, as was also mentioned in<br>
> > a previous reply,<br>
><br>
> Ah, yes, sorry; I knew 20 was imprecise. But (500 / 80) * 80 ms is<br>
> still a good bit of delay.<br>
><br>
> Increasing the ack window (and pipe size) by a factor of 10 makes the<br>
> first apparent problem vanish.<br>
><br>
> Disabling off screen surfaces has the same user visible effect.<br>
><br>
> Note, though, that I have the luxury of focusing on a long term agenda,<br>
> so I'd rather pursue the 'best' solution (at least for now).<br>
><br>
><br>
> > What OS your client has? When spice-server identifies WAN, it<br>
> > automatically turn on Nagle's for the display channel (turns off<br>
> > TCP_NODELAY), which should aggregate small tcp messages. However, it has<br>
> > bad interaction with the delayed acks on the client side (especially in<br>
> > Windows clients, where the default delayed ack timeout is 200ms iirc),<br>
> > and overall it can lead to bigger latency between operations. We are<br>
> > planning to get read of this, and aggregate the messages on the<br>
> > application layer instead.<br>
><br>
> I'm currently testing with Debian testing, although our eventual<br>
> deployment platform will be a heavily modified RHEL 6 system. The<br>
> pointer to TCP_NODELAY is also a good one; I'll play with that and see<br>
> what effect it has.<br>
><br>
> > Just to clarify, we currently don't condense messages in spice-server,<br>
> > though it is another item in our TODO.<br>
><br>
> Ah, okay, that's helpful (although there is some very limited pruning in<br>
> red_worker.c, no?)<br>
><br>
> Is that todo on anyone’s immediate radar? I'm certainly not qualified,<br>
> but it seems like that could have an major impact on what we're trying<br>
> to achieve (regular Office applications hosted on a pure Linux server<br>
> across a WAN). So perhaps I need to become qualified :-/.<br>
<br>
</div></div>I have a patchset that didn't seem to do anything so I let it go, but if<br>
you'd like I can find it (that's the hard part) and put it somewhere you<br>
can have a look. It aggregates packets at the application layer<br>
(server/red_channel.c)<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> Cheers,<br>
><br>
> Jeremy<br>
> _______________________________________________<br>
> Spice-devel mailing list<br>
> <a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
_______________________________________________<br>
Spice-devel mailing list<br>
<a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
</div></div></blockquote></div><br>