# General gigabit tuning:net.core.rmem_max = 16777216net.core.wmem_max = 16777216net.ipv4.tcp_rmem = 4096 87380 16777216net.ipv4.tcp_wmem = 4096 65536 16777216net.ipv4.tcp_syncookies = 1# this gives the kernel more memory for tcp# which you need with many (100k+) open socket connectionsnet.ipv4.tcp_mem = 50576 64768 98152net.core.netdev_max_backlog = 2500# if masquerading usednet.ipv4.netfilter.ip_conntrack_max = 1048576# one million connectionsnet.core.rmem_max = 33554432net.core.wmem_max = 33554432net.ipv4.tcp_rmem = 4096 16384 33554432net.ipv4.tcp_wmem = 4096 16384 33554432net.ipv4.tcp_mem = 786432 1048576 26777216net.ipv4.tcp_max_tw_buckets = 360000net.core.netdev_max_backlog = 2500vm.min_free_kbytes = 65536vm.swappiness = 0net.ipv4.ip_local_port_range = 1024 65535
0 komentar:
Posting Komentar