[PATCH v2 0/3] perf bench numa: make possible testing on uneven and/or overlapping CPU ranges

From: Alexander Gordeev
Date: Mon Aug 10 2020 - 02:22:25 EST


This series allows running the tool on some configurations
that do not conform to an assumption each node contains
nr_cpus/nr_nodes CPUs at most. Instead, the actual node-to-
CPU mapping is acquired dynamically.

patch 1 fixes the described issue
patches 2,3 are follow-up fixes

Changes since v1:
- numa01* and numa02* test names left intact;
- "2x3-convergence" fix moved out to separate patch

Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
Cc: Mark Rutland <mark.rutland@xxxxxxx>
Cc: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>

Alexander Gordeev (3):
perf bench numa: use numa_node_to_cpus() to bind tasks to nodes
perf bench numa: fix number of processes in "2x3-convergence" test
perf bench numa: fix benchmark names

tools/perf/bench/numa.c | 64 ++++++++++++++++++++++++-------------------------
1 file changed, 31 insertions(+), 33 deletions(-)

--
1.8.3.1