From 0cf59aa5f61f6df3913edabf05e59d3c507809af Mon Sep 17 00:00:00 2001 From: Santosh Shilimkar Date: Mon, 9 Feb 2015 15:08:30 -0800 Subject: [PATCH] sched: Disable default sched_autogroup to avoid the DBA performance regression SCHED_AUTOGROUP optimizes the scheduler for common desktop workloads by automatically creating and populating task groups. Though it helps desktop CPU hungry workloads(linke build jobs), we found that it crteates 10% regerssion on DBA perfromance. Swingbench benchmark run for OLTP shows below: @ UEK4-with-schedauto 3.18.4-5 7073 @ UEK4-without-schedauto 3.18.4-5 7873 So to have best of both words, we make the SCHED_AUTOGROUP feature available on UEK kernels but the default state is disabled. One can enable it using the sysctrl (kernel.sched_autogroup_enabled) Orabug: 20476603 Tested-by: Thomas Tanaka Signed-off-by: Santosh Shilimkar --- kernel/sched/auto_group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/auto_group.c b/kernel/sched/auto_group.c index eae160dd669d..6072b8c8eef0 100644 --- a/kernel/sched/auto_group.c +++ b/kernel/sched/auto_group.c @@ -9,7 +9,7 @@ #include #include -unsigned int __read_mostly sysctl_sched_autogroup_enabled = 1; +unsigned int __read_mostly sysctl_sched_autogroup_enabled = 0; static struct autogroup autogroup_default; static atomic_t autogroup_seq_nr; -- 2.50.1