network tuning via sysctl
This commit is contained in:
20
base/sys/sysctl.sls
Normal file
20
base/sys/sysctl.sls
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# vim: ft=yaml
|
||||||
|
---
|
||||||
|
|
||||||
|
sysctl:
|
||||||
|
lookup:
|
||||||
|
config:
|
||||||
|
location: '/etc/sysctl.d'
|
||||||
|
params:
|
||||||
|
vm.swappiness: 60
|
||||||
|
net.core.rmem_max:
|
||||||
|
value: 16777216
|
||||||
|
net.core.wmem_max:
|
||||||
|
value: 16777216
|
||||||
|
net.ipv4.tcp_window_scaling:
|
||||||
|
value: 1
|
||||||
|
net.ipv4.tcp_rmem:
|
||||||
|
value: 4096 87380 16777216
|
||||||
|
net.ipv4.tcp_wmem:
|
||||||
|
value: 4096 65536 16777216
|
||||||
Reference in New Issue
Block a user