Skip to content

sched,numa: weigh nearby nodes for task placement on complex NUMA topologies (v2)

[email protected] lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6sched,numa: export info needed for NUMA balancing on complex topologieskernel/sched/core.c kernel/sched/sched.h+5 -10 replies
2/6sched,numa: classify the NUMA topology of a systeminclude/linux/topology.h kernel/sched/core.c+60 -00 replies
3/6sched,numa: preparations for complex topology placementkernel/sched/fair.c+37 -200 replies
4/6sched,numa: calculate node scores in complex NUMA topologieskernel/sched/fair.c+74 -00 replies
5/6sched,numa: find the preferred nid with complex NUMA topologykernel/sched/fair.c+87 -10 replies
6/6sched,numa: check all nodes when placing a pseudo-interleaved groupkernel/sched/fair.c+9 -20 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by.

PatchChegu Vinod
1/6
2/6T-b
3/6T-b
4/6T-b
5/6T-b
6/6T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] sched,numa: weigh nearby nodes for task placement on complex NUMA topologies (v2)

This patch set integrates two algorithms I have previously tested, one for glueless mesh NUMA topologies, where NUMA nodes communicate with far-away nodes through intermediary nodes, and backplane topologies, where communication with far-away NUMA nodes happens through backplane controllers (which cannot run tasks).

Due to the inavailability of 8 node systems, and the fact that I am flying out to Linuxcon Europe / Plumbers / KVM Forum on Friday, I have not tested these patches yet. However, with a conference (and many familiar faces) coming up, it seemed like a good idea to get the code out there, anyway.

Vinod tested the v1 series + patch 6 on a backplane topology system, and I changed v2 on a glueless mesh topology system. The patches appear to behave.

Placement of tasks on smaller, directly connected, NUMA systems should not be affected at all by this patch serie

v2: remove the hops table, and use numa_distance instead, tested
on a system with glueless mesh topology, not yet tested on a backplane style system (but the algorithm should be unchanged)