X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a7d96c8358a00088b485fadb5966eb4b231d2ff1..35ca8808b5271161669bb8882ed25538ae4ea311:/roles/nepomuk.rb?ds=sidebyside diff --git a/roles/nepomuk.rb b/roles/nepomuk.rb index 8a1c3679c..2874079b1 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,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_siblings => [ + "trogdor.openstreetmap.org", + "katie.openstreetmap.org", + "konqi.openstreetmap.org", + "ridgeback.openstreetmap.org", + "gorynych.openstreetmap.org" + ] } )