Files
sysbench/tests/t/test_threads.t
Alexey Kopytov 07b1146b15 Fix #173: Commit feb0346 removed latency sum from reporting
Add latency sum back to reports.
2017-09-19 08:48:27 +03:00

52 lines
1.4 KiB
Perl

########################################################################
threads benchmark tests
########################################################################
$ args="threads --events=100 --threads=2"
$ sysbench $args help
sysbench *.* * (glob)
threads options:
--thread-yields=N number of yields to do per request [1000]
--thread-locks=N number of locks per thread [8]
$ sysbench $args prepare
sysbench *.* * (glob)
'threads' test does not implement the 'prepare' command.
[1]
$ sysbench $args run
sysbench *.* * (glob)
Running the test with following options:
Number of threads: 2
Initializing random number generator from current time
Initializing worker threads...
Threads started!
Throughput:
events/s (eps): *.* (glob)
time elapsed: *s (glob)
total number of events: 100
Latency (ms):
min: *.* (glob)
avg: *.* (glob)
max: *.* (glob)
95th percentile: *.* (glob)
sum: *.* (glob)
Threads fairness:
events (avg/stddev): */* (glob)
execution time (avg/stddev): */* (glob)
$ sysbench $args cleanup
sysbench *.* * (glob)
'threads' test does not implement the 'cleanup' command.
[1]