[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-0baabb385eb4bce699ddab0db015112be6cf1e6a@git.kernel.org>
Date: Tue, 20 Oct 2015 02:31:42 -0700
From: tip-bot for Frederic Weisbecker <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, umgwanakikbuti@...il.com,
mingo@...nel.org, oleg@...hat.com, hpa@...or.com,
torvalds@...ux-foundation.org, efault@....de, riel@...hat.com,
akpm@...ux-foundation.org, paulmck@...ux.vnet.ibm.com,
fweisbec@...il.com, peterz@...radead.org, adobriyan@...il.com,
davej@...hat.com, cmetcalf@...hip.com, cl@...ux.com,
tglx@...utronix.de
Subject: [tip:sched/core] nohz: Revert "nohz:
Set isolcpus when nohz_full is set"
Commit-ID: 0baabb385eb4bce699ddab0db015112be6cf1e6a
Gitweb: http://git.kernel.org/tip/0baabb385eb4bce699ddab0db015112be6cf1e6a
Author: Frederic Weisbecker <fweisbec@...il.com>
AuthorDate: Mon, 12 Oct 2015 17:21:23 +0200
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Tue, 20 Oct 2015 10:13:36 +0200
nohz: Revert "nohz: Set isolcpus when nohz_full is set"
This reverts:
8cb9764fc88b ("nohz: Set isolcpus when nohz_full is set")
We assumed that full-nohz users always want scheduler isolation on full
dynticks CPUs, therefore we included full-nohz CPUs on cpu_isolated_map.
This means that tasks run by default on CPUs outside the nohz_full range
unless their affinity is explicity overwritten.
This suits pure isolation workloads but when the machine is needed to
run common workloads, the available sets of CPUs to run common tasks
becomes reduced.
We reach an extreme case when CONFIG_NO_HZ_FULL_ALL is enabled as it
leaves only CPU 0 for non-isolation tasks, which makes people think that
their supercomputer regressed to 90's UP - which is true in a sense.
Some full-nohz users appear to be interested in running normal workloads
either before or after an isolation workload. Full-nohz isn't optimized
toward normal workloads but it's still better than UP performance.
We are reaching a limitation in kernel presets here. Lets revert this
cpu_isolated_map inclusion and let userspace do its own scheduler
isolation using cpusets or explicit affinity settings.
Reported-by: Ingo Molnar <mingo@...nel.org>
Reported-by: Mike Galbraith <umgwanakikbuti@...il.com>
Signed-off-by: Frederic Weisbecker <fweisbec@...il.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Acked-by: Thomas Gleixner <tglx@...utronix.de>
Cc: Alexey Dobriyan <adobriyan@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: Chris Metcalf <cmetcalf@...hip.com>
Cc: Christoph Lameter <cl@...ux.com>
Cc: Dave Jones <davej@...hat.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Mike Galbraith <efault@....de>
Cc: Oleg Nesterov <oleg@...hat.com>
Cc: Paul E . McKenney <paulmck@...ux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Rik van Riel <riel@...hat.com>
Link: http://lkml.kernel.org/r/1444663283-30068-1-git-send-email-fweisbec@gmail.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
kernel/sched/core.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 10a8faa..5bd7d60 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -7238,9 +7238,6 @@ void __init sched_init_smp(void)
alloc_cpumask_var(&non_isolated_cpus, GFP_KERNEL);
alloc_cpumask_var(&fallback_doms, GFP_KERNEL);
- /* nohz_full won't take effect without isolating the cpus. */
- tick_nohz_full_add_cpus_to(cpu_isolated_map);
-
sched_init_numa();
/*
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists