sched,numa: reduce page migrations with pseudo-interleaving
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | sched,numa: count pages on active node as localkernel/ | +13 | 4 replies | |
| 2/3 | sched,numa: retry placement more frequently when misplacedkernel/ | +4 | 4 replies | |
| 3/3 | sched,numa: do not set preferred_node on migration to a second choice nodekernel/ | +10 | 4 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Vinod Chegu | Mel Gorman |
|---|---|---|
| 1/3 | T-b | A-b |
| 2/3 | T-b | A-b |
| 3/3 | T-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] sched,numa: reduce page migrations with pseudo-interleaving
The pseudo-interleaving code deals fairly well with the placement of tasks that are part of workloads that span multiple NUMA nodes, but the code has a number of corner cases left that can result in higher than desired overhead.
This patch series reduces the overhead slightly, mostly visible through a lower number of page migrations, while leaving the throughput of the workload essentially unchanged.
On smaller NUMA systems, these patches should have little or no effect. On a 4 node test system, I did see a reduction in the number of page migrations running SPECjbb2005; autonuma-benchmark appears to be unaffected.
NUMA page migrations on an 8 node system running SPECjbb2005, courtesy of Vinod:
vanilla with patch
8 - 1 socket wide: 9138324 8918971
4 - 2 socket wide: 8239914 7315148
2 - 4 socket wide: 5732744 3849624
1 - 8 socket wide: 3348475 2660347