08-30-2018, 01:32 AM
(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
...
- PinePhone BraveHeart now v1.2b 3/32Gb daily driver, Tow-boot with pmOS/SXMO on eMMC
- PinePhone pmOS Community Edition 2/16Gb driving my picture frame, Tow-boot with pmOS/SXMO on eMMC
- PinePhone Pro Explorer Edition, Tow-boot on SPI, Arch/SXMO on eMMC
- ROCKPro64 v2.1 2GB, 16Gb eMMC retired in favour of a fruity upgrade