Skip to content

Instantly share code, notes, and snippets.

@krasnuydyx
Created December 26, 2017 14:53
Show Gist options
  • Save krasnuydyx/4c6737eed1cb039ab374424e3d656ed6 to your computer and use it in GitHub Desktop.
Save krasnuydyx/4c6737eed1cb039ab374424e3d656ed6 to your computer and use it in GitHub Desktop.
System optimization for 1-10G networks, tested on AWS
net.core.rmem_max = 11960320
net.core.wmem_max = 11960320
net.ipv4.tcp_rmem = 4096 524288 11960320
net.ipv4.tcp_wmem = 4096 524288 11960320
net.core.netdev_max_backlog = 30000
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_congestion_control = cubic
net.ipv4.tcp_window_scaling =1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_sack = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment