From: Santosh Shilimkar Date: Mon, 9 Feb 2015 23:08:30 +0000 (-0800) Subject: sched: Disable default sched_autogroup to avoid the DBA performance regression X-Git-Tag: v4.1.12-92~326^2~7 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=0cf59aa5f61f6df3913edabf05e59d3c507809af;p=users%2Fjedix%2Flinux-maple.git 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 --- 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;