diff options
author | Andi Kleen <ak@linux.intel.com> | 2019-11-20 16:15:20 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-11-29 12:20:45 -0300 |
commit | 4b49ab708d1804bc8b2fcdde79844b8bc98f7ef6 (patch) | |
tree | cb714fa37caf1dd17546d4512d14c3913ca19414 /tools/perf/util/mem2node.c | |
parent | 4804e0111662d7d89edf4e767a64c6f7e4778bb1 (diff) | |
download | linux-4b49ab708d1804bc8b2fcdde79844b8bc98f7ef6.tar.bz2 |
perf stat: Use affinity for reading
Restructure event reading to use affinity to minimize the number of IPIs
needed.
Before on a large test case with 94 CPUs:
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
3.16 0.106079 4 22082 read
After:
3.43 0.081295 3 22082 read
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lore.kernel.org/lkml/20191121001522.180827-11-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/mem2node.c')
0 files changed, 0 insertions, 0 deletions