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 aa4c8e9..f9cb68e 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 6d83715..536e33a 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
-      }
-    }
   }
 )