From 323d9329e7a3d62a76d2f60b6884e1aa69bfe685 Mon Sep 17 00:00:00 2001 From: Susant Sahani <145210+ssahani@users.noreply.github.com> Date: Fri, 29 Dec 2017 19:48:05 +0530 Subject: networkd: allow to configure default/initial send/recv congestion window and store persistentl (#7750) Currently we can only change initcwnd/initrwnd in the following way, and it does not store persistently: sudo ip route change default via 192.168.1.1 dev tun0 initcwnd 20 sudo ip route change default via 192.168.1.1 dev tun0 initrwnd 20 For more details about initcwnd/initrwnd, please look at: http://hjzhao.blogspot.com/2012/05/increase-initcwnd-for-performance.html http://www.cdnplanet.com/blog/tune-tcp-initcwnd-for-optimum-performance or google 'initcwnd initrwnd' This work allows to configure the initcwnd and initrwnd. Closes #2118 --- man/systemd.network.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'man') diff --git a/man/systemd.network.xml b/man/systemd.network.xml index f78beaa7dc..bdf8d9e0d9 100644 --- a/man/systemd.network.xml +++ b/man/systemd.network.xml @@ -1067,6 +1067,25 @@ + + InitialCongestionWindow= + + The TCP initial congestion window or InitialCongestionWindow is used during the start + of a TCP connection. During the start of a TCP session, when a client requests for a resource, the server's initial congestion window + determines how many data packets will be sent during the initial burst of data. Takes a number between between 1 and 4294967295 (2^32 - 1). + Defaults to unset. + + + + + InitialAdvertisedReceiveWindow= + + The TCP receive window size or InitialAdvertisedReceiveWindow is the amount of receive data (in bytes) + that can be buffered at one time on a connection. The sending host can send only that amount of data before waiting for + an acknowledgment and window update from the receiving host. Takes a number between 1 and 4294967295 (2^32 - 1). Defaults to unset. + + + -- cgit v1.2.3