[Unix Bench]ラズベリーパイゼロを使ってみる – 3.性能 UnixBench –

スポンサーリンク

IoTガジェットを買った後の恒例イベントとなったUnixBenchの結果です。

ラズパイゼロを起動させるまでの方法は、以下の記事をどうぞ!

とりあえず無事に届きました。イギリスのPIROMONIから個人輸入、送料込みで8.83ポンドでした ディスプレイとミニHDMIケーブル...

UnixBenchの結果

# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #

Version 5.1.3 Based on the Byte Magazine Unix Benchmark

Multi-CPU version Version 5 revisions by Ian Smith,
Sunnyvale, CA, USA
January 13, 2011 johantheghost at yahoo period com

Use of uninitialized value in printf at ./Run line 1378.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1588.
Use of uninitialized value in printf at ./Run line 1590.

1 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput 1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks 1 2 3

1 x File Copy 256 bufsize 500 maxblocks 1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks 1 2 3

1 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10

1 x Process Creation 1 2 3

1 x System Call Overhead 1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent) 1 2 3

1 x Shell Scripts (8 concurrent) 1 2 3

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

System: raspberrypi: GNU/Linux
OS: GNU/Linux — 4.4.21+ — #911 Thu Sep 15 14:17:52 BST 2016
Machine: armv6l (unknown)
Language: en_US.utf8 (charmap=”ANSI_X3.4-1968″, collate=”ANSI_X3.4-1968″)
CPU 0: ARMv6-compatible processor rev 7 (v6l) (0.0 bogomips)

00:23:03 up 11 min, 3 users, load average: 0.41, 0.25, 0.15; runlevel 5

————————————————————————
Benchmark Run: Sun Oct 02 2016 00:23:03 – 00:51:06
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables 2387116.3 lps (10.0 s, 7 samples)
Double-Precision Whetstone 341.1 MWIPS (10.0 s, 7 samples)
Execl Throughput 241.2 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 46478.0 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 15214.9 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 116084.5 KBps (30.0 s, 2 samples)
Pipe Throughput 190117.5 lps (10.0 s, 7 samples)
Pipe-based Context Switching 24781.9 lps (10.0 s, 7 samples)
Process Creation 616.1 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 498.6 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 64.0 lpm (60.5 s, 2 samples)
System Call Overhead 482565.4 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 2387116.3 204.6
Double-Precision Whetstone 55.0 341.1 62.0
Execl Throughput 43.0 241.2 56.1
File Copy 1024 bufsize 2000 maxblocks 3960.0 46478.0 117.4
File Copy 256 bufsize 500 maxblocks 1655.0 15214.9 91.9
File Copy 4096 bufsize 8000 maxblocks 5800.0 116084.5 200.1
Pipe Throughput 12440.0 190117.5 152.8
Pipe-based Context Switching 4000.0 24781.9 62.0
Process Creation 126.0 616.1 48.9
Shell Scripts (1 concurrent) 42.4 498.6 117.6
Shell Scripts (8 concurrent) 6.0 64.0 106.7
System Call Overhead 15000.0 482565.4 321.7
========
System Benchmarks Index Score 109.2

109.2でした。初代ラズパイが80ぐらい、ラズパイ2が420,ラズパイ3が600ぐらいだったので初代ラズパイよりちょっと早いぐらいだと思います。

CPUパワーが必要な作業をさせたりデスクトップとして使用する場合は、ラズパイ3のほうが処理速度も速いのでいいかと思います!