daily pastebin goal
95%
SHARE
TWEET

Untitled

a guest Apr 10th, 2018 220 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sudo apt install linux-generic-hwe-16.04
  2.  
  3. sudo nano /etc/sysctl.conf
  4.  
  5. Then copy and paste the following into it:
  6.  
  7. net.core.default_qdisc = fq
  8. net.core.netdev_max_backlog = 10000
  9. net.core.optmem_max = 40960
  10. net.core.somaxconn = 1024
  11. net.core.rmem_default = 33554432
  12. net.core.wmem_default = 33554432
  13. net.core.rmem_max = 33554432
  14. net.core.wmem_max = 33554432
  15. net.ipv4.tcp_rmem = 4096 87380 33554432
  16. net.ipv4.tcp_wmem = 4096 65536 33554432
  17. net.ipv4.tcp_congestion_control = bbr
  18. net.ipv4.tcp_fastopen = 1
  19. net.ipv4.tcp_fin_timeout = 15
  20. net.ipv4.tcp_max_syn_backlog = 4096
  21. net.ipv4.tcp_max_tw_buckets = 1048576
  22. net.ipv4.tcp_no_metrics_save = 0
  23. net.ipv4.tcp_rfc1337 = 1
  24. net.ipv4.tcp_slow_start_after_idle = 0
  25. net.ipv4.tcp_tw_reuse = 0
  26. net.ipv4.conf.all.accept_redirects = 0
  27. net.ipv4.conf.all.send_redirects = 0
  28. net.ipv6.conf.all.disable_ipv6 = 1
  29. vm.swappiness = 1
  30.  
  31. 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. OK, I Understand
Pastebin PRO 'AUTUMN SPECIAL'!
Get 60% OFF Pastebin PRO accounts!
 
Top