X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/c0f61af9bd7c58bdf7c36c4d42832aeb71f0913e..79b87f2f4b2f970a400458156608c62389b3cd8d:/roles/gorynych.rb diff --git a/roles/gorynych.rb b/roles/gorynych.rb index 3d2b038d5..984b2aa75 100644 --- a/roles/gorynych.rb +++ b/roles/gorynych.rb @@ -14,9 +14,21 @@ 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 => "moscow.render.openstreetmap.org" } )