Tune scheduler on tile caches
authorTom Hughes <tom@compton.nu>
Fri, 31 May 2019 11:12:06 +0000 (12:12 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 31 May 2019 11:12:06 +0000 (12:12 +0100)
roles/tilecache.rb

index a2e595f..f45286e 100644 (file)
@@ -48,6 +48,13 @@ default_attributes(
       :parameters => {
         "vm.swappiness" => "30"
       }
+    },
+    :sched_wakeup => {
+      :comment => "Tune scheduler",
+      :parameters => {
+        "kernel.sched_min_granularity_ns" => "10000000",
+        "kernel.sched_wakeup_granularity_ns" => "15000000"
+      }
     }
   }
 )