1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
########################################################################
cpu benchmark tests
########################################################################
$ args="cpu --cpu-max-prime=1000 --events=100 --threads=2"
$ sysbench $args help
sysbench *.* * (glob)
cpu options:
--cpu-max-prime=N upper limit for primes generator [10000]
$ sysbench $args prepare
sysbench *.* * (glob)
'cpu' 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
Prime numbers limit: 1000
Initializing worker threads...
Threads started!
CPU speed:
events per second: *.* (glob)
General statistics:
total time: *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): 50.0000/* (glob)
execution time (avg/stddev): */* (glob)
$ sysbench $args cleanup
sysbench *.* * (glob)
'cpu' test does not implement the 'cleanup' command.
[1]
|