mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
19 lines
613 B
Text
19 lines
613 B
Text
# This file was created by bootstrap-vz.
|
|
# See https://github.com/andsens/bootstrap-vz/blob/master/LICENSE for
|
|
# legal notices and disclaimers.
|
|
|
|
vm.swappiness = 0
|
|
vm.dirty_ratio = 80
|
|
vm.dirty_background_ratio = 5
|
|
vm.dirty_expire_centisecs = 12000
|
|
net.core.somaxconn = 1000
|
|
net.core.netdev_max_backlog = 5000
|
|
net.core.rmem_max = 16777216
|
|
net.core.wmem_max = 16777216
|
|
net.ipv4.tcp_wmem = 4096 12582912 16777216
|
|
net.ipv4.tcp_rmem = 4096 12582912 16777216
|
|
net.ipv4.tcp_max_syn_backlog = 8096
|
|
net.ipv4.tcp_slow_start_after_idle = 0
|
|
net.ipv4.tcp_tw_reuse = 1
|
|
net.ipv4.ip_local_port_range = 10240 65535
|
|
kernel.sysrq = 0
|