]> git.openstreetmap.org Git - chef.git/blobdiff - roles/nadder-01.rb
Remove hp-g6 role from eustace
[chef.git] / roles / nadder-01.rb
index 0ce74c95c65f9e0dbcd9c656088c59d266a19ab7..d1e3760a1ecd13d65b9163697d7bf68967295b66 100644 (file)
@@ -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"
       }
@@ -28,6 +37,16 @@ default_attributes(
   :squid => {
     :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"
+    ]
   }
 )