[Spice-devel] Untested idea: enlarge the TCP send buffer (server), receive buffer (client)
Alon Levy
alevy at redhat.com
Tue Feb 14 00:44:33 PST 2012
On Mon, Feb 13, 2012 at 10:47:07PM +0200, Yaniv Kaul wrote:
> For both LAN (high bandwidth, high performance) and WAN (high
> latency) perhaps it may be worthwhile to increase (via socket
> options) the TCP receive (on the client) and send (on the server)
> buffers for the display channel? It will cause:
> - bigger TCP window (which is good for both cases above)
> - some waste of memory (negligible, I think it's enough to increase
> to 256K or so for each).
>
> I suspect it might make a difference especially in video streaming.
>
> It's a simple patch (I hope - via setsockopt() ) and does not
> require feature negotiation, but I'm not sure I have the tools to
> test such change.
You expect the change to produce a higher bandwidth? you could test it
with a combination of a wan emulator and swapnas work, or with one of
the artificial tests (server/tests/test_display_no_ssl). But not very
simple, I agree.
>
> Thoughts?
> Y.
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
More information about the Spice-devel
mailing list