Last active
August 29, 2015 14:20
-
-
Save drolfe/f560562ef12f76e6ea3c to your computer and use it in GitHub Desktop.
sysctl tuning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net.ipv4.tcp_window_scaling = 1 | |
net.ipv4.tcp_sack = 1 | |
net.ipv4.tcp_fack = 1 | |
net.core.rmem_max = 134217728 | |
net.core.wmem_max = 134217728 | |
net.ipv4.tcp_rmem = 4096 87380 67108864 | |
net.ipv4.tcp_wmem = 4096 65536 67108864 | |
net.core.netdev_max_backlog = 250000 | |
net.ipv4.tcp_mtu_probing=1 | |
net.ipv4.conf.all.rp_filter = 0 | |
net.ipv4.conf.all.arp_filter = 1 | |
net.ipv4.conf.eth0.arp_filter = 1 | |
net.ipv4.conf.eth1.arp_filter = 1 | |
fs.file-max = 65535 | |
net.ipv4.ip_local_port_range = 1024 65000 | |
net.ipv4.tcp_sack = 1 | |
net.ipv4.tcp_fack = 1 | |
net.ipv4.tcp_timestamps = 1 | |
net.ipv4.tcp_window_scaling = 1 | |
net.ipv4.tcp_mtu_probing = 1 | |
net.ipv4.tcp_rmem = 4096 87380 67108864 | |
net.ipv4.tcp_wmem = 4096 65536 67108864 | |
net.ipv4.tcp_mem = 10000000 10000000 10000000 | |
net.core.rmem_max = 134217728 | |
net.core.wmem_max = 134217728 | |
net.core.rmem_default = 524287 | |
net.core.wmem_default = 524287 | |
net.core.optmem_max = 524287 | |
net.core.netdev_max_backlog = 300000 | |
net.ipv4.tcp_congestion_control = htcp | |
net.ipv4.route.flush = 1 | |
net.ipv4.tcp_tw_reuse = 0 | |
net.ipv4.tcp_slow_start_after_idle = 0 | |
net.ipv4.conf.all.send_redirects = 0 | |
net.ipv4.conf.all.accept_redirects = 0 | |
net.ipv4.conf.all.accept_source_route = 0 | |
net.ipv6.conf.all.disable_ipv6 = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment