Advertisement
rockdrilla

linux sysctl (wireless setup)

Nov 12th, 2015
609
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. net.ipv4.tcp_allowed_congestion_control = htcp reno bic cdg cubic dctcp westwood highspeed hybla vegas veno scalable lp yeah illinois
  2. net.ipv4.tcp_congestion_control = westwood
  3.  
  4. net.ipv4.tcp_autocorking = 1
  5. net.ipv4.tcp_low_latency = 1
  6. net.ipv4.tcp_rfc1337 = 0
  7. net.ipv4.tcp_slow_start_after_idle = 1
  8.  
  9. net.ipv4.tcp_dsack = 1
  10. net.ipv4.tcp_fack = 1
  11. net.ipv4.tcp_sack = 1
  12.  
  13. net.ipv4.tcp_timestamps = 1
  14. net.ipv4.tcp_syncookies = 1
  15. net.ipv4.tcp_window_scaling = 1
  16. net.ipv4.tcp_workaround_signed_windows = 1
  17.  
  18. net.ipv4.tcp_ecn = 1
  19. net.ipv4.tcp_ecn_fallback = 1
  20.  
  21. net.ipv4.tcp_frto = 2
  22.  
  23. net.ipv4.tcp_tw_recycle = 1
  24. net.ipv4.tcp_tw_reuse = 1
  25.  
  26. net.ipv4.tcp_fwmark_accept = 1
  27.  
  28. net.core.default_qdisc = fq_codel
  29.  
  30. net.core.bpf_jit_enable = 1
  31.  
  32. net.core.rmem_default = 262144
  33. net.core.rmem_max = 4259840
  34.  
  35. net.core.wmem_default = 262144
  36. net.core.wmem_max = 4259840
  37.  
  38. net.ipv4.tcp_rmem = 8192 262144 8388608
  39. net.ipv4.tcp_wmem = 8192 262144 8388608
  40.  
  41. net.ipv4.udp_rmem_min = 8192
  42. net.ipv4.udp_wmem_min = 8192
  43.  
  44. net.core.somaxconn = 4096
  45.  
  46. net.ipv4.fwmark_reflect = 1
  47. net.ipv6.fwmark_reflect = 1
  48.  
  49. net.ipv4.ip_dynaddr = 1
  50. net.ipv4.ip_forward = 1
  51. net.ipv4.ip_forward_use_pmtu = 0
  52.  
  53. net.ipv4.ip_local_port_range = 1024 65531
  54. #net.ipv4.ip_local_reserved_ports = 1194,18400
  55.  
  56. # net.netfilter.nf_conntrack_tcp_timeout_established = 432000
  57. # 1 d + 5 m
  58. net.netfilter.nf_conntrack_tcp_timeout_established = 86700
  59.  
  60. # net.ipv4.tcp_keepalive_time = 7200
  61. # 2 h + 5 m
  62. net.ipv4.tcp_keepalive_time = 7500
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement