Created
August 1, 2011 12:10
-
-
Save RJ/1118023 to your computer and use it in GitHub Desktop.
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.conf.all.rp_filter=1 | |
net.ipv4.icmp_echo_ignore_broadcasts=1 | |
kernel.shmmax = 1500000000 | |
net.ipv4.ip_local_port_range = 1024 65535 | |
vm.overcommit_memory = 1 | |
fs.file-max = 1000000 | |
# General gigabit tuning: | |
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_syncookies = 1 | |
# more mem for lots of tcp connections | |
net.ipv4.tcp_mem = 50576 64768 98152 | |
net.core.netdev_max_backlog = 2500 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment