]> git.openstreetmap.org Git - chef.git/blobdiff - roles/nadder-02.rb
Allow connections to logstash from network gateways
[chef.git] / roles / nadder-02.rb
index 9141e2a73c0c72d7c03deac94be01dd2aaf01eb4..e1343c61a02027d5e2618db06762502efcf84c97 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 => {
   :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"
       }
         "block/vda/queue/scheduler" => "deadline",
         "block/vdb/queue/scheduler" => "deadline"
       }
@@ -33,6 +42,7 @@ default_attributes(
     :tile_parent => "provo.render.openstreetmap.org",
     :tile_siblings => [
       "nadder-01.openstreetmap.org",
     :tile_parent => "provo.render.openstreetmap.org",
     :tile_siblings => [
       "nadder-01.openstreetmap.org",
+      "stormfly-02.openstreetmap.org",
       "jakelong.openstreetmap.org",
       "nepomuk.openstreetmap.org",
       "lurien.openstreetmap.org"
       "jakelong.openstreetmap.org",
       "nepomuk.openstreetmap.org",
       "lurien.openstreetmap.org"