X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/06f398e328401127ef354359351c70fbdc227b36..b3f09d9ae4217543cc9c811bd9a47a70fd519c0a:/roles/gorynych.rb diff --git a/roles/gorynych.rb b/roles/gorynych.rb index 9d1119a33..04abf97b3 100644 --- a/roles/gorynych.rb +++ b/roles/gorynych.rb @@ -14,12 +14,18 @@ default_attributes( } } }, + :sysfs => { + :md_tune => { + :comment => "Tune the md sync performance so as not to kill system performance", + :parameters => { + "block/md0/md/sync_speed_min" => "10", + "block/md0/md/sync_speed_max" => "10000" + } + } + }, :squid => { :cache_mem => "5800 MB", :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80" - }, - :tilecache => { - :tile_parent => "orm.openstreetmap.org" } )