Skip to content

Instantly share code, notes, and snippets.

@stingh711
Created July 9, 2012 06:21
Show Gist options
  • Save stingh711/3074511 to your computer and use it in GitHub Desktop.
Save stingh711/3074511 to your computer and use it in GitHub Desktop.
Adjust kernel network parameters
net.core.rmem_max=16777216
net.core.wmem_max=16777216
net.core.rmem_default=65536
net.core.wmem_default=65536
net.ipv4.tcp_rmem=4096 87380 16777216
net.ipv4.tcp_wmem=4096 65536 16777216
net.ipv4.tcp_mem=16777216 16777216 16777216
net.ipv4.route.flush=1
net.core.netdev_max_backlog=30000
net.ipv4.udp_mem=16777216 16777216 16777216
net.ipv4.tcp_congestion_control=htcp
net.ipv4.udp_rmem_min=16777216
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment