SHARE
TWEET
Untitled
a guest
Apr 10th, 2018
220
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- sudo apt install linux-generic-hwe-16.04
- sudo nano /etc/sysctl.conf
- Then copy and paste the following into it:
- net.core.default_qdisc = fq
- net.core.netdev_max_backlog = 10000
- net.core.optmem_max = 40960
- net.core.somaxconn = 1024
- net.core.rmem_default = 33554432
- net.core.wmem_default = 33554432
- net.core.rmem_max = 33554432
- net.core.wmem_max = 33554432
- net.ipv4.tcp_rmem = 4096 87380 33554432
- net.ipv4.tcp_wmem = 4096 65536 33554432
- net.ipv4.tcp_congestion_control = bbr
- net.ipv4.tcp_fastopen = 1
- net.ipv4.tcp_fin_timeout = 15
- net.ipv4.tcp_max_syn_backlog = 4096
- net.ipv4.tcp_max_tw_buckets = 1048576
- net.ipv4.tcp_no_metrics_save = 0
- net.ipv4.tcp_rfc1337 = 1
- net.ipv4.tcp_slow_start_after_idle = 0
- net.ipv4.tcp_tw_reuse = 0
- net.ipv4.conf.all.accept_redirects = 0
- net.ipv4.conf.all.send_redirects = 0
- net.ipv6.conf.all.disable_ipv6 = 1
- vm.swappiness = 1
- Save it then: sudo reboot
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

