Using @mikeboss Ubuntu build, I ran a simple sysbench cpu comparison.
This is a single thread test against the fastest Intel processor I own.
Just thought you might find the results interesting.
Summary sysbench under ubuntu:
Events Per Second
10988.07 - Apple M1
1417.03 - Intel I7-8700B @ 4.6Ghz
Around 8 times faster? Am I doing something wrong?
Details:
This is a single thread test against the fastest Intel processor I own.
Just thought you might find the results interesting.
Summary sysbench under ubuntu:
Events Per Second
10988.07 - Apple M1
1417.03 - Intel I7-8700B @ 4.6Ghz
Around 8 times faster? Am I doing something wrong?
Details:
Code:
Intel Mac Mini i7 spec:
I7-8700B
3.2Ghz Base Frequency
4.6Ghz Turbo Reached During Test
-------------
M1 MacBook Air Ubuntu VM
-------------
$ sysbench --test=cpu --num-threads=1 --cpu-max-prime=9999 run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options
sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3)
Running the test with following options:
Number of threads: 1
Initializing random number generator from current time
Prime numbers limit: 9999
Initializing worker threads...
Threads started!
CPU speed:
events per second: 10988.07
General statistics:
total time: 10.0001s
total number of events: 109889
Latency (ms):
min: 0.09
avg: 0.09
max: 0.62
95th percentile: 0.09
sum: 9986.17
Threads fairness:
events (avg/stddev): 109889.0000/0.00
execution time (avg/stddev): 9.9862/0.00
-------------
Intel Mac Mini i7 homebrew
-------------
$ sysbench --test=cpu --num-threads=1 --cpu-max-prime=9999 run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
sysbench 1.0.20 (using bundled LuaJIT 2.1.0-beta2)
Running the test with following options:
Number of threads: 1
Initializing random number generator from current time
Prime numbers limit: 9999
Initializing worker threads...
Threads started!
CPU speed:
events per second: 1316.82
General statistics:
total time: 10.0002s
total number of events: 13170
Latency (ms):
min: 0.73
avg: 0.76
max: 2.76
95th percentile: 0.81
sum: 9996.85
Threads fairness:
events (avg/stddev): 13170.0000/0.00
execution time (avg/stddev): 9.9968/0.00
-------------
Intel Mac Mini i7 Parallels ubuntu VM
-------------
$ sysbench --test=cpu --num-threads=1 --cpu-max-prime=9999 run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
sysbench 1.0.18 (using system LuaJIT 2.1.0-beta3)
Running the test with following options:
Number of threads: 1
Initializing random number generator from current time
Prime numbers limit: 9999
Initializing worker threads...
Threads started!
CPU speed:
events per second: 1417.03
General statistics:
total time: 10.0007s
total number of events: 14173
Latency (ms):
min: 0.67
avg: 0.71
max: 3.10
95th percentile: 0.74
sum: 9998.01
Threads fairness:
events (avg/stddev): 14173.0000/0.00
execution time (avg/stddev): 9.9980/0.00
Last edited: