X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/05dc3656cc318d5f690b2b7812af355d3ccaa2d1..96b6a81969a194dca42c93dec234ed5bdafe4d7a:/roles/nepomuk.rb diff --git a/roles/nepomuk.rb b/roles/nepomuk.rb index 4fe77de83..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,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" + ] } )