Skip to content

RFC various sched and numa bits

Peter Zijlstra linux-alpha linux-mips linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5sched, fair: Let minimally loaded cpu balance the groupkernel/sched/fair.c+5 -55 replies
2/5sched, fair: Add some serialization to the sched_domain load-balance walkinclude/linux/sched.h kernel/sched/core.c kernel/sched/fair.c+10 -20 replies
3/5x86: Allow specifying node_distance() for numa=fakearch/x86/mm/numa_emulation.c+6 -20 replies
4/5x86: Hard partition cpu topology masks on node boundariesarch/x86/kernel/smpboot.c+11 -00 replies
5/5sched: Rewrite the CONFIG_NUMA sched domain supportarch/ia64/include/asm/topology.h arch/mips/include/asm/mach-ip27/topology.h arch/powerpc/include/asm/topology.h +6 more+185 -3180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC][PATCH 0/5] various sched and numa bits

Hi,

The first two patches change how the load-balancer traverses the sched_domain tree. Currently we go one level up on the first non-idle cpu, change that to be the least loaded cpu. The second adds a little serialization to the sched_domain traversal, so that no two cpus of the same group go up.

Paul, can you run these through linsched to see if they make anything worse? They make conceptual sense, but that never says much these days :/

The following two patches extend NUMA emulation and were used to test the last patch.

The last patch does a complete re-implementation of CONFIG_NUMA support for the scheduler and should get us a topology that matches the NUMA interconnects as opposed to the semi-random stuff we have now. The code assumes a number of things which I hope are true, but lacking any interesting hardware what do I know... Its tested by using the node_distance() table from an quad-socket AMD Magny-Cours, which is a non-fully-connected system -- see 3/5.