X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/15991b40092db1ea6aaafc9b1b38aa07fe9b25e6..0df3c25948a3a0f1bdc843f277bd6358c2162385:/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" } )