X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/57b0b80c7359daace489fe75aee4277f883f528a..79c6636acc892cc8fd336a0506948fcd16e8654f:/roles/nadder-02.rb diff --git a/roles/nadder-02.rb b/roles/nadder-02.rb index 1052af254..1a84ee845 100644 --- a/roles/nadder-02.rb +++ b/roles/nadder-02.rb @@ -14,12 +14,21 @@ default_attributes( } } }, + :sysctl => { + :kvm => { + :comment => "Tuning for KVM guest", + :parameters => { + "kernel.sched_min_granularity_ns" => 10000000, + "kernel.sched_wakeup_granularity_ns" => 15000000 + } + } + }, :sysfs => { :hdd_tune => { :comment => "Tune the queue for improved performance", :parameters => { - "block/vda/queue/nr_requests" => "512", - "block/vdb/queue/nr_requests" => "512", + "block/vda/queue/nr_requests" => "128", + "block/vdb/queue/nr_requests" => "128", "block/vda/queue/scheduler" => "deadline", "block/vdb/queue/scheduler" => "deadline" } @@ -30,7 +39,13 @@ default_attributes( :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80" }, :tilecache => { - :tile_parent => "orm.openstreetmap.org" + :tile_parent => "provo.render.openstreetmap.org", + :tile_siblings => [ + "nadder-01.openstreetmap.org", + "jakelong.openstreetmap.org", + "nepomuk.openstreetmap.org", + "lurien.openstreetmap.org" + ] } )