diff options
author | Andi Kleen <ak@linux.intel.com> | 2019-11-21 03:15:22 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-11-29 18:20:45 +0300 |
commit | 704e2f5b700da4c912635cf161c3e982737eb89e (patch) | |
tree | ad6eaa250c12505a269df5b0afa9e37506443aa9 /tools/perf/tests/tests.h | |
parent | 363fb12189d58ebc60456561b8540d68013782a6 (diff) | |
download | linux-704e2f5b700da4c912635cf161c3e982737eb89e.tar.xz |
perf stat: Use affinity for enabling/disabling events
Restructure event enabling/disabling to use affinity, which
minimizes the number of IPIs needed.
Before on a large test case with 94 CPUs:
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
54.65 1.899986 22 84812 660 ioctl
after:
39.21 0.930451 10 84796 644 ioctl
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lore.kernel.org/lkml/20191121001522.180827-13-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/tests.h')
0 files changed, 0 insertions, 0 deletions