diff options
author | Susant Sahani <145210+ssahani@users.noreply.github.com> | 2017-12-29 15:18:05 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-12-29 15:18:05 +0100 |
commit | 323d9329e7a3d62a76d2f60b6884e1aa69bfe685 (patch) | |
tree | 12af2c89ae824b8a5078f938549768a109060701 /man | |
parent | Merge pull request #7745 from poettering/sockaddr-size (diff) | |
download | systemd-323d9329e7a3d62a76d2f60b6884e1aa69bfe685.tar.xz systemd-323d9329e7a3d62a76d2f60b6884e1aa69bfe685.zip |
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
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd.network.xml | 19 |
1 files changed, 19 insertions, 0 deletions
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 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term><varname>InitialCongestionWindow=</varname></term> + <listitem> + <para>The TCP initial congestion window or <literal>InitialCongestionWindow</literal> 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. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><varname>InitialAdvertisedReceiveWindow=</varname></term> + <listitem> + <para>The TCP receive window size or <literal>InitialAdvertisedReceiveWindow</literal> 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. + </para> + </listitem> + </varlistentry> </variablelist> </refsect1> |