X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/cf4df7d837590107e6eb22b63f516d2658a74bdb..57434119f63944fdfaa857d86607fa0b8b4aa01e:/roles/nepomuk.rb?ds=inline diff --git a/roles/nepomuk.rb b/roles/nepomuk.rb index f0bf039cf..d80c2d314 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,18 @@ 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", + "lurien.openstreetmap.org", + "tabaluga.openstreetmap.org" + ] } )