X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ad8f13659e6b61eda0d81106368777ec999d3641..ff044920428608b2c04507ad52d6ab52c9d6555f:/roles/base.rb diff --git a/roles/base.rb b/roles/base.rb index 06bcaf9a2..b38d5ce16 100644 --- a/roles/base.rb +++ b/roles/base.rb @@ -31,7 +31,7 @@ default_attributes( }, :network_buffers => { :comment => "Tune network buffers", - :parameters => { + :parameters => { "net.core.rmem_max" => "16777216", "net.core.wmem_max" => "16777216", "net.ipv4.tcp_rmem" => "4096\t87380\t16777216", @@ -44,7 +44,7 @@ default_attributes( }, :network_conntrack_established => { :comment => "Only track established connections for four hours", - :parameters => { + :parameters => { "net.netfilter.nf_conntrack_tcp_timeout_established" => "14400" } }, @@ -60,7 +60,7 @@ default_attributes( :comment => "Tune the ondemand CPU frequency governor", :parameters => { "devices/system/cpu/cpufreq/ondemand/up_threshold" => "25", - "devices/system/cpu/cpufreq/ondemand/sampling_down_factor" => "10" + "devices/system/cpu/cpufreq/ondemand/sampling_down_factor" => "100" } } }