raspberry piの性能はどれくらいのものか調べてみよう、と思ってUnixbenchを実行してみました。
UnixBenchのインストール
ダウンロード
$ wget http://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz
展開
$ tar zxvf UnixBench5.1.3.tgz
コンパイル
$ cd UnixBench/ $ make
実行
$ ./Run
結果
# # # # # # # ##### ###### # # #### # # # # ## # # # # # # # ## # # # # # # # # # # # ## ##### ##### # # # # ###### # # # # # # ## # # # # # # # # # # # # ## # # # # # # # ## # # # # #### # # # # # ##### ###### # # #### # # 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 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 -- 3.1.9+ -- #272 PREEMPT Tue Aug 7 22:51:44 BST 2012 Machine: armv6l (unknown) Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968") 19:56:32 up 1:57, 1 user, load average: 0.37, 0.16, 0.09; runlevel 2 ------------------------------------------------------------------------ Benchmark Run: Thu Aug 30 2012 19:56:32 - 20:24:48 0 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 1640681.6 lps (10.0 s, 7 samples) Double-Precision Whetstone 261.2 MWIPS (10.0 s, 7 samples) Execl Throughput 190.1 lps (29.9 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 29013.6 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 9053.0 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 72293.6 KBps (30.0 s, 2 samples) Pipe Throughput 105161.7 lps (10.0 s, 7 samples) Pipe-based Context Switching 14764.9 lps (10.0 s, 7 samples) Process Creation 572.2 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 360.4 lpm (60.1 s, 2 samples) Shell Scripts (8 concurrent) 45.9 lpm (60.1 s, 2 samples) System Call Overhead 254308.4 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 1640681.6 140.6 Double-Precision Whetstone 55.0 261.2 47.5 Execl Throughput 43.0 190.1 44.2 File Copy 1024 bufsize 2000 maxblocks 3960.0 29013.6 73.3 File Copy 256 bufsize 500 maxblocks 1655.0 9053.0 54.7 File Copy 4096 bufsize 8000 maxblocks 5800.0 72293.6 124.6 Pipe Throughput 12440.0 105161.7 84.5 Pipe-based Context Switching 4000.0 14764.9 36.9 Process Creation 126.0 572.2 45.4 Shell Scripts (1 concurrent) 42.4 360.4 85.0 Shell Scripts (8 concurrent) 6.0 45.9 76.5 System Call Overhead 15000.0 254308.4 169.5 ======== System Benchmarks Index Score 73.0
73でした。ちょっと遅いけど、小さいし省電力だから仕方ないかもですね!
コメント
[…] Raspberry Pi(ラズベリーパイ)を使ってみる -4.性能 unixbench- Tagged RaspberryPi. Bookmark the permalink. « RaspberryPi性能チェック(1) hardinfo編 TheMagPi issue 2013.2 Vol.9 » […]
[…] | レンタルサーバー・自宅サーバー設定・構築のヒント re unixbench on AWS micro instance & さくらのVPS – Never forget your first resolution. […]