projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: benchmark: improve benchmark scalability accuracy
[lttng-ust.git]
/
tests
/
benchmark
/
README
diff --git
a/tests/benchmark/README
b/tests/benchmark/README
index c8e33052551e30694ed93581f7babbbfd5010835..3294f10a83f7174c16533b9402b6228a6834631a 100644
(file)
--- a/
tests/benchmark/README
+++ b/
tests/benchmark/README
@@
-3,6
+3,9
@@
To run the benchmark:
./test_benchmark
You can specify the number of iterations, events and threads by setting
./test_benchmark
You can specify the number of iterations, events and threads by setting
-environment variables ITERS,
NR_EVENTS, NR_CPU
S respectively:
+environment variables ITERS,
DURATION, NR_THREAD
S respectively:
- ITERS=10 NR_EVENTS=10000 NR_CPUS=4 ./test_benchmark
+ ITERS=10 DURATION=20 NR_THREADS=4 ./test_benchmark
+
+NR_CPUS can also be configured, but by default is based on the contents of
+/proc/cpuinfo.
This page took
0.023793 seconds
and
4
git commands to generate.