X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/cf4df7d837590107e6eb22b63f516d2658a74bdb..ceef1ce352d360a90b6b2d672f9b7d424d866e25:/roles/nepomuk.rb?ds=inline diff --git a/roles/nepomuk.rb b/roles/nepomuk.rb index f0bf039cf..2874079b1 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,20 @@ 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", + "gorynych.openstreetmap.org" + ] } )