diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2016-10-16 21:08:02 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-10-24 11:07:45 -0300 |
commit | 34b753007d646482a4125a7095e1d1986d395f95 (patch) | |
tree | 266d4c9ebb091a9bcc6f7b2268ef13abf0125ed3 /tools/perf/scripts/python/compaction-times.py | |
parent | 899735066a8d945b7ae56a34847298fd0dd2104b (diff) |
perf bench futex: Cache align the worker struct
It popped up in perf testing that the worker consumes some amount of
CPU. It boils down to the increment of `ops` which causes cache line
bouncing between the individual threads.
This patch aligns the struct by 256 bytes to ensure that not a cache
line is shared among CPUs. 128 byte is the x86 worst case and grep says
that L1_CACHE_SHIFT is set to 8 on s390.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions