Created
July 14, 2013 18:49
-
-
Save kyledrake/5995326 to your computer and use it in GitHub Desktop.
Current sysctl tweaks for NeoCities
This file contains 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_max_syn_backlog = 3240000 | |
net.core.somaxconn = 3240000 | |
net.ipv4.tcp_max_tw_buckets = 1440000 | |
net.core.rmem_default = 8388608 | |
net.core.rmem_max = 16777216 | |
net.core.wmem_max = 16777216 | |
net.ipv4.tcp_rmem = 4096 87380 16777216 | |
net.ipv4.tcp_wmem = 4096 65536 16777216 | |
net.ipv4.tcp_congestion_control = cubic | |
net.core.netdev_max_backlog = 30000 | |
net.ipv4.ip_local_port_range = 18000 65535 | |
net.ipv4.tcp_slow_start_after_idle=0 | |
net.netfilter.nf_conntrack_tcp_timeout_established=600 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check this out, it stalls randomly: