]> git.openstreetmap.org Git - chef.git/blobdiff - roles/nadder-02.rb
Remove db-backup role from ramoth
[chef.git] / roles / nadder-02.rb
index 3fa156be3b51ad9a39f8d77790067c35f13c1a36..1a84ee8450b8fbbd3ff208e01ab438edd9a2eb77 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"
       }
@@ -32,7 +41,10 @@ default_attributes(
   :tilecache => {
     :tile_parent => "provo.render.openstreetmap.org",
     :tile_siblings => [
-      "nadder-01.openstreetmap.org"
+      "nadder-01.openstreetmap.org",
+      "jakelong.openstreetmap.org",
+      "nepomuk.openstreetmap.org",
+      "lurien.openstreetmap.org"
     ]
   }
 )