Unixbench

From postmarketOS
Jump to: navigation, search

Running a benchmark:

$ sudo ubench whets dhry
make all
make[1]: Entering directory '/usr/share/unixbench'
Checking distribution of files
./pgms  exists
./src  exists
./testdir  exists
make[1]: Leaving directory '/usr/share/unixbench'
Checking distribution of files
./pgms  exists
./src  exists
./testdir  exists
...snip...
========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: motorola-cedric: Linux
   OS: Linux -- 3.18.113-lineage -- #1-postmarketOS SMP PREEMPT Sun Jan 20 14:20:57 UTC 2019
   Machine: aarch64 (unknown)
   Language: en_US.utf8 (charmap=, collate=)
   18:41:30 up 18 min,  load average: 4.60, 4.53, 3.30; runlevel 

------------------------------------------------------------------------
Benchmark Run: Sun Jan 20 2019 18:41:30 - 18:46:19
...results here...

If unixbench mentions 0 CPUs in system; running 1 parallel copy of tests then it couldn't correctly find the number of cpu's in /proc/cpuinfo. In that case you can override the number of cores with an environment variable:

$ sudo NUMBER_OF_PROCESSORS=4 ubench whets dhry
... benchmark runs ...

Benchmark results

Device Codename Chipset CPU Architecture Score
Motorola Moto G5 motorola-cedric Qualcomm Snapdragon 430 8x 1.5 GHz Cortex-A53 aarch64 1,850.2
Xiaomi Redmi 4x xiaomi-santoni Qualcomm MSM8940 Snapdragon 435 Octa-core 1.4 GHz Cortex-A53 aarch64 1,526.7
Ouya, Inc. Ouya ouya_1_1 Nvidia Tegra 3 4x 1.7 GHz Cortex-A9 armv7 1,450.2
LG Nexus 5X lg-bullhead Qualcomm MSM8992 Snapdragon 808 4x1.4 GHz Cortex-A53 & 2x1.8 GHz Cortex-A57 aarch64 1,273.5
Nokia 1 nokia-frt MediaTek MT6737M 4x 1.1GHz Cortex-A53 armv7 910.4
Pine A64-LTS pine-a64lts Allwinner A64 4x 1152 MHz Cortex-A53 aarch64 885.5
Pine Don't be evil (devkit) pine-dontbeevil Allwinner A64 4x 1152 MHz Cortex-A53 aarch64 706.5
Samsung Galaxy Tab 3 7.0 samsung-lt023g Marvell PXA986 Dual-core 1.2 GHz Cortex-A9 armhf 564.6
Samsung Galaxy S II samsung-i9100, d710 Exynos 4210 Dual Dual-core 1.2 GHz Cortex-A9 armhf 542.5
Raspberry Pi Foundation Raspberry Pi 3 raspberry-pi3 Broadcom BCM2837 4x 1.4 Ghz Cortex-A53 aarch64 513.9
HTC One SV htc-k2ul Qualcomm MSM8960 Snapdragon S4 Plus 1.2 GHz dual-core armv7 470.5
Samsung Galaxy Tab 10.1 samsung-p4wifi Nvidia Tegra 2 2x 1.0 Ghz Cortex-A9 armv7 424.5
LG Nexus 5 lg-hammerhead Qualcomm MSM8974 Snapdragon 800 4x 2.3 GHz Krait 400 armhf 415.0
Raspberry Pi Foundation Raspberry Pi 1 & 2 raspberry-pi Broadcom BCM2835<br/>Broadcom BCM2836 ARM1176JZF-S @ 700 MHz<br/>ARM Cortex-A7 @ 900 MHz armhf 89.3
Nokia N900 nokia-n900 TI OMAP 3430 1x 600 MHz Cortex-A8 armhf 58.4