diff options
author | Rik van Riel <riel@redhat.com> | 2014-09-04 16:35:30 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-09-19 12:35:14 +0200 |
commit | ba7e5a279e72f4b246dc7a419ac707e1936ede3e (patch) | |
tree | 075a1aa73a66a8b798e15576a76eccb9fbbe8f51 /kernel/smp.c | |
parent | 13924d2a983fc1557eb737ea59e2324adb538fa2 (diff) | |
download | op-kernel-dev-ba7e5a279e72f4b246dc7a419ac707e1936ede3e.zip op-kernel-dev-ba7e5a279e72f4b246dc7a419ac707e1936ede3e.tar.gz |
sched/numa: Use select_idle_sibling() to select a destination for task_numa_move()
The code in task_numa_compare() will only examine at most one idle CPU per node,
because they all have the same score. However, some idle CPUs are better
candidates than others, due to busy or idle SMT siblings, etc...
The scheduler has logic to find the best CPU within an LLC to place a
task. The NUMA code should probably use it.
This seems to reduce the standard deviation for single instance SPECjbb2005
with a low warehouse count on my 4 node test system.
Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: mgorman@suse.de
Cc: Mike Galbraith <umgwanakikbuti@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/20140904163530.189d410a@cuia.bos.redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/smp.c')
0 files changed, 0 insertions, 0 deletions