]> git.openstreetmap.org Git - chef.git/commitdiff
base: sysctl kernel.sched_autogroup_enabled=0
authorGrant Slater <git@firefishy.com>
Fri, 16 Aug 2019 20:24:32 +0000 (21:24 +0100)
committerGrant Slater <git@firefishy.com>
Fri, 16 Aug 2019 20:26:33 +0000 (21:26 +0100)
roles/base.rb
roles/draco.rb

index aa4c8e94472ae29cfd0a72bd130fd31ac693e522..f9cb68efc411a5cc6591f35f6bd91034df1680d0 100644 (file)
@@ -73,6 +73,13 @@ default_attributes(
       :parameters => {
         "net.core.default_qdisc" => "pfifo_fast"
       }
+    },
+    :tune_cpu_scheduler => {
+      :comment => "Tune CPU scheduler for server scheduling",
+      :parameters => {
+        "kernel.sched_migration_cost_ns" => 50000000,
+        "kernel.sched_autogroup_enabled" => 0
+      }
     }
   }
 )
index 6d837159ff900b493ffb91eeb8fa07f50f9a9f36..536e33a632a8b3603c903301374bc1da68f61add 100644 (file)
@@ -17,15 +17,6 @@ default_attributes(
         :address => "193.60.236.12"
       }
     }
-  },
-  :sysctl => {
-    :tune_cpu_scheduler => {
-      :comment => "Tune CPU scheduler for server scheduling",
-      :parameters => {
-        "kernel.sched_migration_cost_ns" => 50000000,
-        "kernel.sched_autogroup_enabled" => 0
-      }
-    }
   }
 )