]> git.openstreetmap.org Git - chef.git/blobdiff - roles/nadder-01.rb
Update carto stylesheet to v2.24.0
[chef.git] / roles / nadder-01.rb
index d596a1a6e54f849a87ea8f3befc071ce1041dad0..c687a9fe8b1cddf654e9a88ee499c366f2119b69 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" => "64",
-        "block/vdb/queue/nr_requests" => "64",
+        "block/vda/queue/nr_requests" => "128",
+        "block/vdb/queue/nr_requests" => "128",
         "block/vda/queue/scheduler" => "deadline",
         "block/vdb/queue/scheduler" => "deadline"
       }