じゃんくはっく
ちょっと備忘録、書いておきます!
メモ的なものをブログに書くの?
ぴー
じゃんくはっく
あとで検索して参照できるようにね。それに書いておけば誰かの役に立つかも。
あ〜、それはあるかもね。
ぴー
ちょっと、手持ちのスマホでTermux入れてUnixBenchを取っておきました。今回は、HUAWEI P20 liteです。
スコアは?
結果から。
シングル:260.3
マルチ:932.8
詳細は以下。インストール方法は、以下参照してね。
$ uname -a
Linux localhost 4.9.148 #1 SMP PREEMPT Wed Jul 1 02:47:50 CST 2020 aarch64 Android
::
$ cat /proc/cpuinfo
Processor : AArch64 Processor rev 4 (aarch64)
processor : 0
BogoMIPS : 3.84
Features : fp asimd evtstrm aes pmull crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
::
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: localhost: Android
OS: Android -- 4.9.148 -- #1 SMP PREEMPT Wed Jul 1 02:47:50 CST 2020
Machine: aarch64 (unknown)
Language: en_US.utf8 (charmap=, collate=)
16:18:43 up 10 days, 23:58, load average: 38.42, 38.42, 38.81; runlevel
------------------------------------------------------------------------
Benchmark Run: Mon Sep 28 2020 16:18:43 - 16:46:46
8 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 8363204.1 lps (10.0 s, 7 samples)
Double-Precision Whetstone 2047.9 MWIPS (9.8 s, 7 samples)
Execl Throughput 128.2 lps (29.8 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 167326.5 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 50941.4 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 451669.2 KBps (30.0 s, 2 samples)
Pipe Throughput 317299.2 lps (10.0 s, 7 samples)
Pipe-based Context Switching 59343.3 lps (10.0 s, 7 samples)
Process Creation 1418.5 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 762.5 lpm (60.1 s, 2 samples)
Shell Scripts (8 concurrent) 305.9 lpm (60.1 s, 2 samples)
System Call Overhead 460331.9 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 8363204.1 716.6
Double-Precision Whetstone 55.0 2047.9 372.4
Execl Throughput 43.0 128.2 29.8
File Copy 1024 bufsize 2000 maxblocks 3960.0 167326.5 422.5
File Copy 256 bufsize 500 maxblocks 1655.0 50941.4 307.8
File Copy 4096 bufsize 8000 maxblocks 5800.0 451669.2 778.7
Pipe Throughput 12440.0 317299.2 255.1
Pipe-based Context Switching 4000.0 59343.3 148.4
Process Creation 126.0 1418.5 112.6
Shell Scripts (1 concurrent) 42.4 762.5 179.8
Shell Scripts (8 concurrent) 6.0 305.9 509.8
System Call Overhead 15000.0 460331.9 306.9
========
System Benchmarks Index Score 260.3
------------------------------------------------------------------------
Benchmark Run: Mon Sep 28 2020 16:46:46 - 17:14:54
8 CPUs in system; running 8 parallel copies of tests
Dhrystone 2 using register variables 64563351.9 lps (10.0 s, 7 samples)
Double-Precision Whetstone 15851.2 MWIPS (9.8 s, 7 samples)
Execl Throughput 689.2 lps (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 285983.5 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 80097.8 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 758680.0 KBps (30.0 s, 2 samples)
Pipe Throughput 2020594.4 lps (10.0 s, 7 samples)
Pipe-based Context Switching 427478.4 lps (10.0 s, 7 samples)
Process Creation 4981.4 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 2721.2 lpm (60.1 s, 2 samples)
Shell Scripts (8 concurrent) 326.6 lpm (60.4 s, 2 samples)
System Call Overhead 2323008.0 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 64563351.9 5532.4
Double-Precision Whetstone 55.0 15851.2 2882.0
Execl Throughput 43.0 689.2 160.3
File Copy 1024 bufsize 2000 maxblocks 3960.0 285983.5 722.2
File Copy 256 bufsize 500 maxblocks 1655.0 80097.8 484.0
File Copy 4096 bufsize 8000 maxblocks 5800.0 758680.0 1308.1
Pipe Throughput 12440.0 2020594.4 1624.3
Pipe-based Context Switching 4000.0 427478.4 1068.7
Process Creation 126.0 4981.4 395.4
Shell Scripts (1 concurrent) 42.4 2721.2 641.8
Shell Scripts (8 concurrent) 6.0 326.6 544.3
System Call Overhead 15000.0 2323008.0 1548.7
========
System Benchmarks Index Score 932.8
あとがき
結局CPU性能しか使わないから、CPU性能だけ高いスマホって他、何かないですかねー。1500-2000くらい出るやつでお手頃のがあればいいんだけど。電力ほとんど使わないから、結構使い勝手はあると思うんですよね。
あと、HUAWEIはブートローダーのロックが無料で外せないようになったから今後、買うことはないかなー。結構ファンだったんですが。