I tried to run unixbench on my ARM machine, but I found it only run single core score, and then ended.
And the running log shows :
0 CPUs in system; running 1 parallel copy of tests
...
...
System Benchmark Index Score ...
and then ended!
The reason is getCpuInfo function in Run script will read these info from /proc/cpuinfo:
processor : 0
...
model : 85
model name : Intel(R) Xeon(R) Gold ...
...
flags : fpu vme de pse tsc msr pae mce ...
bogomips : 4399.96
...
Bug a typical /proc/cpuinfo on ARM machine will be like:
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 2007.04
Features : swp half thumb fastmult vfp edsp vfpv3 vfpv3d16
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 2
So the getCpuInfo function could not recongnize the correct cores because of the key words "model/model name/flags/bogomips" is not matched on ARM platform!
I tried to run unixbench on my ARM machine, but I found it only run single core score, and then ended. And the running log shows : 0 CPUs in system; running 1 parallel copy of tests ... ... System Benchmark Index Score ... and then ended!
The reason is getCpuInfo function in Run script will read these info from /proc/cpuinfo:
Bug a typical /proc/cpuinfo on ARM machine will be like:
So the getCpuInfo function could not recongnize the correct cores because of the key words "model/model name/flags/bogomips" is not matched on ARM platform!