Skip to content →

Linux Network Optimization

sudo nano /etc/sysctl.d/boost.conf

Put

net.ipv4.tcp_rfc1337=1
net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_workaround_signed_windows=1
net.ipv4.tcp_sack=1
net.ipv4.tcp_fack=1
net.ipv4.tcp_low_latency=1
net.ipv4.ip_no_pmtu_disc=0
net.ipv4.tcp_mtu_probing=1
net.ipv4.tcp_frto=2
net.ipv4.tcp_frto_response=2
net.ipv4.tcp_congestion_control=illinois
net.core.netdev_budget=600
net.core.wmem_default=262144
net.core.wmem_max=4194304
net.core.rmem_default=262144
net.core.rmem_max=4194304
net.ipv4.tcp_rmem=65535 131072 4194304
net.ipv4.tcp_wmem=65535 131072 194304
net.core.somaxconn=20489
net.ipv4.tcp_moderate_rcvbuf=1

Save and load using

sudo sysctl --system

See also: tuned package

Published in Uncategorized

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *