while using my new Pi3, i thought about compiling software because it is newer, faster and has more feautures than the old Pi1, but all Raspberry Pis use same software.
For testing i ran sysbench (from raspbian repo) with 1 thread and 2000 (i did not want to spend too much time for waiting).
Code: Select all
~/ sysbench --num-threads=1 --test=cpu --cpu-max-prime=2000 --validate run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 1
Additional request validation enabled.
Doing CPU performance benchmark
Threads started!
Done.
Maximum prime number checked in CPU test: 2000
Test execution summary:
total time: 19.8116s
total number of events: 10000
total time taken by event execution: 19.8036
per-request statistics:
min: 1.96ms
avg: 1.98ms
max: 9.87ms
approx. 95 percentile: 1.97ms
Threads fairness:
events (avg/stddev): 10000.0000/0.00
execution time (avg/stddev): 19.8036/0.00
sysbench --num-threads=1 --test=cpu --cpu-max-prime=2000 --validate run 19.80s user 0.02s system 99% cpu 19.848 total
Result:
Code: Select all
~/ sysbench --num-threads=1 --test=cpu --cpu-max-prime=2000 --validate run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 1
Additional request validation enabled.
Doing CPU performance benchmark
Threads started!
Done.
Maximum prime number checked in CPU test: 2000
Test execution summary:
total time: 16.3542s
total number of events: 10000
total time taken by event execution: 16.3464
per-request statistics:
min: 1.60ms
avg: 1.63ms
max: 8.46ms
approx. 95 percentile: 1.62ms
Threads fairness:
events (avg/stddev): 10000.0000/0.00
execution time (avg/stddev): 16.3464/0.00
sysbench --num-threads=1 --test=cpu --cpu-max-prime=2000 --validate run 16.35s user 0.02s system 99% cpu 16.396 total
standard = 19,8 seconds
optimisation = 16,3 seconds
I rebuild with -O3,but there was no difference.
Each build was run 5-10 times to ensure that tests are correct.
So, what should i do now to confirm this result? Is there a benchmark or something else that i should run, build and re-run again?
Regardes