ARM CPU Stress Test
#1
I saw this thread:
https://core-electronics.com.au/tutorial...ry-pi.html

sudo apt-get install stress
wget https://raw.githubusercontent.com/ssvb/c...burn-a53.S
gcc -o cpuburn-a53 cpuburn-a53.S

For Raspberry PI 3,  there are 4 A53 cores only.  for RockPro64.   How to test the other A72 cores? 

Can I use cpuburn-a53 to test A72 cores?
#2
Will this work???


Quote:This however, will only stress a single core, but to to put the whole CPU (all 4 cores) under full stress (oh come on dudes, have mercy! Tongue) I’ll have to open 4 terminals/tabs and enter “burnP6” under each Terminal window. So altogether, 4 “burnP6” programs will be running simultaneously. That’s it!.

Source: https://www.hecticgeek.com/2012/03/cpubu...ntu-linux/
Sorry for any mistakes. English is not my native language

1. Quartz64 Model B, 4GB RAM

2. Quartz64 Model A, 4GB RAM

3. RockPro64 v2.1

https://linux-nerds.org/
#3
(08-29-2018, 11:55 AM)Bullet64 Wrote: Will this work???


Quote:This however, will only stress a single core, but to to put the whole CPU (all 4 cores) under full stress (oh come on dudes, have mercy! Tongue) I’ll have to open 4 terminals/tabs and enter “burnP6” under each Terminal window. So altogether, 4 “burnP6” programs will be running simultaneously. That’s it!.

Source: https://www.hecticgeek.com/2012/03/cpubu...ntu-linux/

That is only for x86 CPU, not for ARM CPU,  am I correct?
#4
(08-29-2018, 10:32 AM)jzhang18 Wrote: Can I use cpuburn-a53 to test A72 cores?

Try it - you will see it does. But the basic cpuburn-a53 code is flawed as it assumes 2, 4, 8 processors and so only runs 4 threads on the RK3399 hexa core. Linux big.LITTLE schedulling is smart enough to ensure 2 go on the A72s, but even so only heats my system to 65 degrees after 10 minutes.

Better is arguably cpuminer benchmarks which use neon instructions. Seem to remember a thread somewhere of folks measuring actual power usage to substantiate the "better" part of this. But is e.g. part of sbc-bench which also has some neat background monitoring (if you are not already running a monitor). And it is easy to modify the script to avoid the other benchmark bits and run cpuminer for 10 minutes if you wish (which gets my setup to 72 degrees).

Code:
...
        CheckRelease
#        CheckLoad
        BasicSetup >/dev/null 2>&1
        InstallPrerequisits
        InitialMonitoring
        CheckClockspeeds
        CheckTimeInState before
#        RunTinyMemBench
#        RunOpenSSLBenchmark
#        Run7ZipBenchmark
        if [ "${TestNEON}" = "yes" -a -x "${InstallLocation}"/cpuminer-multi/cpuminer ]; then
            RunCpuminerBenchmark
        fi
        CheckTimeInState after
        CheckClockspeeds # again after heating the SoC to the max
#        DisplayResults
    fi
} # Main
...
    "${InstallLocation}"/cpuminer-multi/cpuminer --benchmark --cpu-priority=2 >${TempLog} &
    MinerPID=$!
    sleep 600
...
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
#5
It seems both cpuminer and cpuburn, need to be compiled from source code.

Let me install gcc-6, and switch from gcc-7 to gcc-6, then compile those software.

thanks for the suggestions.
#6
If you download and run sbc-bench as per the github instructions it downloads and installs a version of cpuminer for you.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
#7
Yes, started to run sbc-bench.

It seems it will take quite some time to finish. I just leave it running there.

This is my result:
http://ix.io/1lBI

This is the sample result for RockPro64 from sbc-bench README.
http://ix.io/1iEb

But where is cpuminer downloaded and installed?

It seems my board is slow with the 4GB RAM. not sure why.
#8
(08-30-2018, 12:49 PM)jzhang18 Wrote:
But where is cpuminer downloaded and installed?

try
Code:
sudo /bin/bash ./sbc-bench.sh neon

He has just updated the tool (and removed neon example - not sure if it still works like that but would expect so!)

His results are on 4.18 kernel which is generally faster.

PPS - see the tool revision went to 0.6 then 0.6.1 today, main change is the parameters! neon retained for backwards compatibility
My results today.
Not sure if it is significant but seems my 2G memory is marginally faster (and lower latency) than your 4G!
Interesting the new -T option, with
sudo /bin/bash ./sbc-bench.sh -T 70
my system heats from 70.6 at start of 5 minutes to 75.6 at end so figure my cooling OK (Pine64 30mm tall heatsink, with arctic alumina thermal paste instead of thermal pad and vertically mounted. Ambient 20.)
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
#9
sudo ./sbc-bench.sh -c
result - http://ix.io/1lC4
sudo ./sbc-bench.sh NEON
result - http://ix.io/1lD5
Not sure there is much difference or not.
#10
Take a look here: https://forum.armbian.com/topic/7819-sbc...ment=60880
You can find me on IRC, Discord and Twitter




Possibly Related Threads…
Thread Author Replies Views Last Post
  Call for test: Clonezilla live for Rockpro64 stevenshiau 1 4,678 04-17-2020, 12:38 AM
Last Post: tllim
  Gentoo, Current state, Test Phase khaosgrille 12 14,919 06-23-2019, 07:14 PM
Last Post: necrose99

Forum Jump:


Users browsing this thread: 1 Guest(s)