04-15-2016, 01:17 PM
(04-07-2016, 10:40 AM)stealthbanana Wrote: Rather than starting a new thread, though I would just add to this.
When I get a new comp, I like to run a basic benchmark, using the simple primes test from sysbench, keeping the command line the same.
sysbench --test=cpu --cpu-max-prime=20000 run
(as per the the example in the man page.)
Must admit I am either well impressed, or dubious about the Pine64 result, could someone else recheck it for me?
As can be seen by the results below, the Pine is over 40x faster at computing primes than an original Raspberry Pi B and even faster than my laptop. Not in anyway scientific, but all tests ran using Debian, or a Debian derived distro.
Raspberry Pi B (single core)
total time taken by event execution: 1321.6702
Raspberry Pi 2 (quad core)
total time taken by event execution: 769.8208
Banana Pi (Dual Core)
total time taken by event execution: 734.1427
Orange Pi Plus (Quad Core)
total time taken by event execution: 477.5902
Orange Pi PC (Quad core)
total time taken by event execution: 456.3728
And the Pine64 (quad core 2GB)
total time taken by event execution: 31.7711 (ran several times to verify the result)
(And as a test, on a few x86 systems
Netbook - (Intel Atom N270)
total time taken by event execution: 186.9946
Desktop (AMD FX-8350 - 8 core)
total time taken by event execution: 14.0435
Laptop - (Intel i3 Dual core with Hyperthreading)
total time taken by event execution: 39.7917
Nice, but you ran everything only on one core, if you add parametr: --num-threads=4 (number of cores), you will see even more gap between RaspiX and Pine =) some basic benchmark was on KS pages...
#From KS discussion:
sysbench --test=cpu --cpu-max-prime=1000 run --num-threads=4
pi1 15.4134s
pi2 3.8831s
pi3 1.9542s
Pine64 0.1962s
EC2 HIMEM Instance 0.1473s
Intel i5-5200 0.1142s
If I posted something helpful, please rate +