diff options
author | Petr Holasek <[email protected]> | 2015-04-16 17:38:19 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-04-27 13:57:50 -0300 |
commit | 1d90a685eb75a56648d7dd22c704a1a6da516de9 (patch) | |
tree | 68ccf9ddc212ca9304f8f5d4fdc5997dc98debe5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 24f1ced167e5e011040b4c3aae75aee45a79eed5 (diff) |
perf bench numa: Fix immediate meeting of convergence condition
This patch fixes the race in the beginning of benchmark run when some
threads hasn't got assigned curr_cpu yet so they don't occur in
nodes-of-process stats and benchmark concludes that all remaining
threads are converged already.
The race can be reproduced with small amount of threads and some bigger
amount of shared process memory, e.g. one process, two threads and 5GB
of process memory.
Signed-off-by: Petr Holasek <[email protected]>
Reviewed-by: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions