Friday, February 3, 2017

sysctl.conf

vm.swappiness=0
net.ipv4.tcp_wmem = 4096 16384 16777216
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv4.tcp_syncookies = 0
net.ipv4.tcp_max_syn_backlog = 8192
net.core.netdev_max_backlog = 16384
net.ipv4.tcp_keepalive_probes = 5
net.ipv4.tcp_keepalive_intvl = 15
net.core.somaxconn = 4096
net.ipv4.tcp_congestion_control = cubic
net.ipv4.tcp_fin_timeout = 15
net.core.rmem_max = 16777216
net.ipv6.conf.all.disable_ipv6 = 1
net.core.wmem_max = 16777216
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv6.conf.default.disable_ipv6 = 1