]> git.ipfire.org Git - thirdparty/systemd.git/commit
networkd: allow to configure default/initial send/recv congestion window and store...
authorSusant Sahani <145210+ssahani@users.noreply.github.com>
Fri, 29 Dec 2017 14:18:05 +0000 (19:48 +0530)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 29 Dec 2017 14:18:05 +0000 (23:18 +0900)
commit323d9329e7a3d62a76d2f60b6884e1aa69bfe685
tree12af2c89ae824b8a5078f938549768a109060701
parent5543b2b2c98da8f0ddb5f503faf3f089db20862a
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
src/libsystemd/sd-netlink/netlink-types.c
src/network/networkd-network-gperf.gperf
src/network/networkd-route.c
src/network/networkd-route.h