From: Grant Slater Date: Fri, 16 Aug 2019 20:24:32 +0000 (+0100) Subject: base: sysctl kernel.sched_autogroup_enabled=0 X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/fd0e42f1be4a40605a01d715305bc0cf8bc6853a?ds=inline;hp=--cc base: sysctl kernel.sched_autogroup_enabled=0 --- fd0e42f1be4a40605a01d715305bc0cf8bc6853a 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 - } - } } )