[CRIU] [PATCH 0/2] tcp: decrease delays in tcp connections after c/r
Andrey Vagin
avagin at openvz.org
Wed Nov 13 13:01:55 PST 2013
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(-)
--
1.8.3.1
More information about the CRIU
mailing list