X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/960aab171789210b26f3e9b83319fc492b4eda43..57434119f63944fdfaa857d86607fa0b8b4aa01e:/roles/nepomuk.rb?ds=sidebyside diff --git a/roles/nepomuk.rb b/roles/nepomuk.rb index 8a1c3679c..d80c2d314 100644 --- a/roles/nepomuk.rb +++ b/roles/nepomuk.rb @@ -16,9 +16,18 @@ default_attributes( :interface => "eth0", :role => :external, :family => :inet6, - :address => "2001:7f8:47:21::a6", + :address => "2a03:9180:1:21::a6", :prefix => "64", - :gateway => "2001:7f8:47:21::a1" + :gateway => "2a03:9180:1:21::a1" + } + } + }, + :sysctl => { + :kvm => { + :comment => "Tuning for KVM guest", + :parameters => { + "kernel.sched_min_granularity_ns" => 10000000, + "kernel.sched_wakeup_granularity_ns" => 15000000 } } }, @@ -30,10 +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_siblings => [ + "trogdor.openstreetmap.org", + "lurien.openstreetmap.org", + "tabaluga.openstreetmap.org" + ] } )