diff options
author | Ingo Molnar <[email protected]> | 2015-10-19 10:04:21 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-10-19 16:03:31 -0300 |
commit | 6db175c7333e22ee818373cbea067e3eaa0236f7 (patch) | |
tree | fbbe89782cc7b6baa3e838060f5fed41827c6f25 /tools/perf/scripts/python/stackcollapse.py | |
parent | 9b2fa7f3e7799a335fd839906ab4d45b7d595dc4 (diff) |
perf bench: Remove the prefaulting complication from 'perf bench mem mem*'
So 'perf bench mem memcpy/memset' has elaborate code to measure
memcpy()/memset() performance both with freshly allocated buffers (which
includes initial page fault overhead) and with preallocated buffers.
But the thing is, the resulting bandwidth results are mostly
meaningless, because page faults dominate so much of the cost.
It might make sense to measure cache cold vs. cache hot performance, but
the code does not do this.
So remove this complication, and always prefault the ranges before using
them.
Signed-off-by: Ingo Molnar <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Hitoshi Mitake <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Remove --no-prefault, --only-prefault from docs, noticed by David Ahern ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions