[Unix Bench]ビーグルボーンブラックを使ってみる – CPUの性能(UnixBench) –

スポンサーリンク

とりあえずCPU性能を測ってみるよ!いつものUnixBench
ストレージはmicroSD(クラス4,8GB)、OSはUbuntu13.04(arm版),もしかしたらbeaglebone版みたいなものかも。

make all
make[1]: Entering directory `/home/ubuntu/UnixBench'
Checking distribution of files
./pgms  exists
./src  exists
./testdir  exists
./tmp  exists
./results  exists
make[1]: Leaving directory `/home/ubuntu/UnixBench'
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
sh: 1: 3dinfo: not found

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

   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: arm: GNU/Linux
   OS: GNU/Linux -- 3.8.8-bone14 -- #1 SMP Wed Apr 24 13:59:33 UTC 2013
   Machine: armv7l (armv7l)
   Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968")
   CPU 0: ARMv7 Processor rev 2 (v7l) (0.0 bogomips)
          
   01:34:08 up 39 min,  1 user,  load average: 0.18, 0.16, 0.31; runlevel 2

------------------------------------------------------------------------
Benchmark Run: Fri May 10 2013 01:34:08 - 02:02:39
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables        3460349.8 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                      175.3 MWIPS (10.0 s, 7 samples)
Execl Throughput                                432.7 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks         69947.5 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           22154.0 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        150827.9 KBps  (30.0 s, 2 samples)
Pipe Throughput                              166432.6 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  26671.0 lps   (10.0 s, 7 samples)
Process Creation                               1517.5 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                    765.2 lpm   (60.1 s, 2 samples)
Shell Scripts (8 concurrent)                     95.4 lpm   (60.4 s, 2 samples)
System Call Overhead                         433032.5 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0    3460349.8    296.5
Double-Precision Whetstone                       55.0        175.3     31.9
Execl Throughput                                 43.0        432.7    100.6
File Copy 1024 bufsize 2000 maxblocks          3960.0      69947.5    176.6
File Copy 256 bufsize 500 maxblocks            1655.0      22154.0    133.9
File Copy 4096 bufsize 8000 maxblocks          5800.0     150827.9    260.0
Pipe Throughput                               12440.0     166432.6    133.8
Pipe-based Context Switching                   4000.0      26671.0     66.7
Process Creation                                126.0       1517.5    120.4
Shell Scripts (1 concurrent)                     42.4        765.2    180.5
Shell Scripts (8 concurrent)                      6.0         95.4    159.0
System Call Overhead                          15000.0     433032.5    288.7
                                                                   ========
System Benchmarks Index Score                                         139.0

139ポイントだった。

ラズベリーパイ(ノーマルモード)は73
Raspberry Pi(ラズベリーパイ)を使ってみる -4.性能 unixbench- | Linuxブログ

ラズベリーパイ(ターボモード時,raspbianのみ使用可能)は156.7
Raspberry pi(ラズベリーパイ)を使ってみる – 新raspbian20120918版でターボモードを試してみた – | Linuxブログ

感覚的に、安定して早くなっている感じ。ラズベリーパイターボモードは常用すると寿命縮むかもだから、評価に入れるかどうかむずかしいところ。

ラズベリーパイよりCPUが速いとは聞いていましたが、本当に速いみたいです。