]> git.openstreetmap.org Git - chef.git/commitdiff
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 a2e595f3bf93b20a9821fcb0487f3bbc2fc2904f..f45286e374a7fef5792d829032b22db9a10e5a2f 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"
+      }
     }
   }
 )