X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c564b231fda950c4b02af2073874e7be90f44b30..b5f1516eba7a79f6f3ec6d7eb5e3517f544cda3f:/roles/nadder-01.rb?ds=inline diff --git a/roles/nadder-01.rb b/roles/nadder-01.rb index 1e75f0d8a..d1e3760a1 100644 --- a/roles/nadder-01.rb +++ b/roles/nadder-01.rb @@ -14,9 +14,39 @@ 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" => "128", + "block/vdb/queue/nr_requests" => "128", + "block/vda/queue/scheduler" => "deadline", + "block/vdb/queue/scheduler" => "deadline" + } + } + }, :squid => { - :cache_mem => "1500 MB", + :cache_mem => "6500 MB", :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80" + }, + :tilecache => { + :tile_parent => "provo.render.openstreetmap.org", + :tile_siblings => [ + "nadder-02.openstreetmap.org", + "stormfly-02.openstreetmap.org", + "jakelong.openstreetmap.org", + "nepomuk.openstreetmap.org", + "lurien.openstreetmap.org" + ] } )