From fd0e42f1be4a40605a01d715305bc0cf8bc6853a Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Fri, 16 Aug 2019 21:24:32 +0100 Subject: [PATCH] base: sysctl kernel.sched_autogroup_enabled=0 --- roles/base.rb | 7 +++++++ roles/draco.rb | 9 --------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/roles/base.rb b/roles/base.rb index aa4c8e944..f9cb68efc 100644 --- a/roles/base.rb +++ b/roles/base.rb @@ -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 + } } } ) diff --git a/roles/draco.rb b/roles/draco.rb index 6d837159f..536e33a63 100644 --- a/roles/draco.rb +++ b/roles/draco.rb @@ -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 - } - } } ) -- 2.39.5