[Spice-devel] [PATCH spice-server 0/3] Flush interface and TCP_CORK

Frediano Ziglio fziglio at redhat.com
Fri Feb 10 12:10:53 UTC 2017


These patches try to add interface to support flush interface.
This interface helps improving bandwidth usage reducing bytes sent
through network.
The TCP_CORK is one possible usage of the library which actually
decreases packet numbers (not using SSL) by usually a 5-10%.
As you can see from
https://lists.freedesktop.org/archives/spice-devel/2017-February/035577.html
it seems that for spice protocol is quite helpful gaining an 11%
bandwidth reduction.
These patches has been around for more that 1 year.

Frediano Ziglio (3):
  stream: implement interface for manual flush
  stream: implements flush using TCP_CORK
  worker: use manual flushing on stream to decrease packet fragmentation

 server/common-graphics-channel.c | 26 ++++++++++++++-----------
 server/red-channel-client.c      | 16 ++++++++++------
 server/reds-stream.c             | 41 ++++++++++++++++++++++++++++++++++++++++
 server/reds-stream.h             | 20 ++++++++++++++++++++
 4 files changed, 86 insertions(+), 17 deletions(-)

-- 
2.9.3



More information about the Spice-devel mailing list