X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/20168f91d6856d07a4744f2a1054d6e62cea2fb7..6f26052c85ad56d492fd52d8d9ef1096a9147974:/roles/nepomuk.rb 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" + ] } )