メモ

調べたり思いついたりしたことをメモします

Raspberry Pi 4 での UnixBench 結果

f:id:uenoshin:20190712212432j:plain

技適待ちのため日本では未発売の Raspberry Pi 4 を入手しましたので UnixBench を動かしてみました。 あ、ちなみに現在地はイギリスで作業しておりますので技適の問題はありません。

ご参考に結果を貼っておきます。 ブートに使用したMicroSDカードは 30MB/s のものなのでFileCopy系はかなり遅いです。

実行環境のバージョンはこちらの通りで現在時点で最新のraspbianを用いています。

pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

UnixBench結果

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: raspberrypi: GNU/Linux
   OS: GNU/Linux -- 4.19.50-v7l+ -- #895 SMP Thu Jun 20 16:03:42 BST 2019
   Machine: armv7l (unknown)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: ARMv7 Processor rev 3 (v7l) (0.0 bogomips)

   CPU 1: ARMv7 Processor rev 3 (v7l) (0.0 bogomips)

   CPU 2: ARMv7 Processor rev 3 (v7l) (0.0 bogomips)

   CPU 3: ARMv7 Processor rev 3 (v7l) (0.0 bogomips)

   21:20:25 up 4 min,  2 users,  load average: 0.43, 0.31, 0.15; runlevel 5

------------------------------------------------------------------------
Benchmark Run: 木  7月 11 2019 21:20:25 - 21:49:43
4 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       10108266.1 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2391.7 MWIPS (9.6 s, 7 samples)
Execl Throughput                                908.6 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        112845.1 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           31478.7 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        319531.9 KBps  (30.0 s, 2 samples)
Pipe Throughput                              161087.1 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  48543.7 lps   (10.0 s, 7 samples)
Process Creation                               1919.9 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   2457.6 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    702.0 lpm   (60.1 s, 2 samples)
System Call Overhead                         495075.4 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   10108266.1    866.2
Double-Precision Whetstone                       55.0       2391.7    434.9
Execl Throughput                                 43.0        908.6    211.3
File Copy 1024 bufsize 2000 maxblocks          3960.0     112845.1    285.0
File Copy 256 bufsize 500 maxblocks            1655.0      31478.7    190.2
File Copy 4096 bufsize 8000 maxblocks          5800.0     319531.9    550.9
Pipe Throughput                               12440.0     161087.1    129.5
Pipe-based Context Switching                   4000.0      48543.7    121.4
Process Creation                                126.0       1919.9    152.4
Shell Scripts (1 concurrent)                     42.4       2457.6    579.6
Shell Scripts (8 concurrent)                      6.0        702.0   1170.1
System Call Overhead                          15000.0     495075.4    330.1
                                                                   ========
System Benchmarks Index Score                                         322.7

------------------------------------------------------------------------
Benchmark Run: 木  7月 11 2019 21:49:43 - 22:19:38
4 CPUs in system; running 4 parallel copies of tests

Dhrystone 2 using register variables       29366589.4 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     7098.4 MWIPS (12.8 s, 7 samples)
Execl Throughput                               2187.1 lps   (29.8 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        169230.2 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           45748.5 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        514405.5 KBps  (30.0 s, 2 samples)
Pipe Throughput                              520367.8 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 148603.5 lps   (10.0 s, 7 samples)
Process Creation                               4236.3 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   4446.5 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    592.2 lpm   (60.1 s, 2 samples)
System Call Overhead                        1608674.6 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   29366589.4   2516.4
Double-Precision Whetstone                       55.0       7098.4   1290.6
Execl Throughput                                 43.0       2187.1    508.6
File Copy 1024 bufsize 2000 maxblocks          3960.0     169230.2    427.3
File Copy 256 bufsize 500 maxblocks            1655.0      45748.5    276.4
File Copy 4096 bufsize 8000 maxblocks          5800.0     514405.5    886.9
Pipe Throughput                               12440.0     520367.8    418.3
Pipe-based Context Switching                   4000.0     148603.5    371.5
Process Creation                                126.0       4236.3    336.2
Shell Scripts (1 concurrent)                     42.4       4446.5   1048.7
Shell Scripts (8 concurrent)                      6.0        592.2    986.9
System Call Overhead                          15000.0    1608674.6   1072.4
                                                                   ========
System Benchmarks Index Score                                         681.5