Skip to content

Instantly share code, notes, and snippets.

@mheffner
Created February 10, 2016 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mheffner/ea40d58f58a517028152 to your computer and use it in GitHub Desktop.
Save mheffner/ea40d58f58a517028152 to your computer and use it in GitHub Desktop.
sysctl settings
vm.swappiness = 1
net.core.rmem_max = 16777216
net.ipv4.tcp_dsack = 1
vm.max_map_count = 1073741824
fs.file-max = 1073741824
net.core.somaxconn = 65000
net.ipv4.tcp_sack = 0
vm.dirty_background_bytes = 10485760
net.ipv4.tcp_timestamps = 0
net.ipv4.tcp_syncookies = 0
net.ipv4.tcp_rmem = 4096 87380 16777216
vm.dirty_bytes = 1073741824
net.ipv4.tcp_ecn = 0
net.ipv4.tcp_wmem = 4096 65536 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_window_scaling = 1
net.core.netdev_max_backlog = 2500
vm.zone_reclaim_mode = 0
net.ipv4.tcp_orphan_retries = 1
net.ipv4.ip_local_port_range = 10000 65535
net.ipv4.tcp_fack = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment