X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/cf4df7d837590107e6eb22b63f516d2658a74bdb..0255400f731f8a4ce49e9745c7f2baa0bec208b6:/roles/nepomuk.rb diff --git a/roles/nepomuk.rb b/roles/nepomuk.rb index f0bf039cf..38b4795ba 100644 --- a/roles/nepomuk.rb +++ b/roles/nepomuk.rb @@ -22,6 +22,15 @@ default_attributes( } } }, + :sysctl => { + :kvm => { + :comment => "Tuning for KVM guest", + :parameters => { + "kernel.sched_min_granularity_ns" => 10000000, + "kernel.sched_wakeup_granularity_ns" => 15000000 + } + } + }, :squid => { :cache_mem => "7500 MB", :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80" @@ -30,13 +39,21 @@ default_attributes( :hdd_tune => { :comment => "Tune the queue for improved performance", :parameters => { - "block/vda/queue/nr_requests" => "512", - "block/vda/queue/scheduler" => "noop" + "block/vda/queue/nr_requests" => "128", + "block/vda/queue/scheduler" => "deadline" } } }, :tilecache => { - :tile_parent => "lyon.render.openstreetmap.org" + :tile_parent => "lyon.render.openstreetmap.org", + :tile_siblings => [ + "trogdor.openstreetmap.org", + "katie.openstreetmap.org", + "konqi.openstreetmap.org", + "ridgeback.openstreetmap.org", + "fume.openstreetmap.org", + "gorynych.openstreetmap.org" + ] } )