[CRIU] [PATCH 0/2] tcp: decrease delays in tcp connections after c/r

Pavel Emelyanov xemul at parallels.com
Thu Nov 14 05:25:00 PST 2013


On 11/14/2013 01:01 AM, Andrey Vagin wrote:
> Look at the patch 2 for more details. In a few words this series
> implements a proper restore of unsent data in the socket send queue.
> 
> sysctl -w net.ipv4.tcp_wmem="41943040 41943040 41943040"
> time bash test/zdtm.sh -C static/socket-tcpbuf-local
> 	before:		after
> real    0m27.547s	0m4.947s
> user    0m0.099s        0m0.091s
> sys     0m1.382s        0m1.221s
> 
> sysctl -w net.ipv4.tcp_wmem="4194304 4194304 4194304"
> time bash test/zdtm.sh -C static/socket-tcpbuf-local
> 	before:		after
> real    0m4.371s	0m1.369s
> user    0m0.100s        0m0.093s
> sys     0m0.688s        0m0.663s
> 
> 
> Andrey Vagin (2):
>   tcp: save the amount of unsent data in the socket send queue
>   tcp: restore the boundary between sent and unsent data
> 
>  cr-show.c                 |  2 +-
>  include/sk-inet.h         |  3 ++-
>  protobuf/tcp-stream.proto |  4 +++-
>  sk-tcp.c                  | 59 +++++++++++++++++++++++++++++++++++++----------
>  4 files changed, 53 insertions(+), 15 deletions(-)
> 
applied



More information about the CRIU mailing list