Benchmark CPU

# if you have EPEL in your yum repo:
yum -y install systester-cli
# else install from source:
yum -y groupinstall 'Development Tools'
yum -y install mysql-devel
wget && tar -xvzf sysbench-0.4.12.tar.gz && cd sysbench-0.4.12 && libtoolize --force --copy  && ./ && ./configure && make && make install
sysbench --test=cpu --cpu-max-prime=20000 run
sysbench 0.4.12:  multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 1
Doing CPU performance benchmark
Threads started!
Maximum prime number checked in CPU test: 20000
Test execution summary:
    total time:                          32.1888s
    total number of events:              10000
    total time taken by event execution: 32.1876
    per-request statistics:
         min:                                  3.21ms
         avg:                                  3.22ms
         max:                                  3.70ms
         approx.  95 percentile:               3.23ms
Threads fairness:
    events (avg/stddev):           10000.0000/0.00
    execution time (avg/stddev):   32.1876/0.00

More related posts