]> git.openstreetmap.org Git - chef.git/commitdiff
Yevaud: Experimentally tune kernel job sched
authorGrant Slater <git@firefishy.com>
Mon, 23 Mar 2015 18:43:16 +0000 (18:43 +0000)
committerGrant Slater <git@firefishy.com>
Mon, 23 Mar 2015 18:43:16 +0000 (18:43 +0000)
roles/yevaud.rb

index ebcd86ad160c4d5e8ef70286c79d7aecb04ebaa0..6d33455e4049bec525730c825b3c44e3674fc806 100644 (file)
@@ -88,6 +88,13 @@ default_attributes(
         "kernel.shmmax" => 4 * 1024 * 1024 * 1024,
         "kernel.shmall" => 4 * 1024 * 1024 * 1024 / 4096
       }
+    },
+    :cpu_tune => {
+      :comment => "Tune kern sched migration cost",
+      :parameters => {
+        "kernel.sched_autogroup_enabled" => 0,
+        "kernel.sched_migration_cost_ns" => 25000000
+      }
     }
   },
   :tile => {