Skip to content

RFC sched,numa: task placement with complex NUMA topologies

[email protected] lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5sched,numa: build table of node hop distanceinclude/linux/topology.h kernel/sched/core.c+34 -24 replies
2/5sched,numa: classify the NUMA topology of a systeminclude/linux/topology.h kernel/sched/core.c+60 -02 replies
3/5sched,numa: preparations for complex topology placementinclude/linux/topology.h kernel/sched/core.c kernel/sched/fair.c+39 -212 replies
4/5sched,numa: calculate node scores in complex NUMA topologieskernel/sched/fair.c+68 -02 replies
5/5sched,numa: find the preferred nid with complex NUMA topologykernel/sched/fair.c+82 -12 replies

Reviews trailers per patch

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

PatchChegu Vinod
SeriesT-b
1/5
2/5
3/5
4/5
5/5

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 RFC 0/5] sched,numa: task placement with complex NUMA topologies

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.

The algorithms have been tested before, on both kinds of system. The new thing about this series is that both algorithms have been integrated into the same code base, and new code to select the preferred_nid for tasks in numa groups.

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

I am interested in reviews, as well as test results on larger NUMA systems :)