2が手に入ったので、とりあえずUnixベンチをしてみました。
実行するためのコマンド
以下のコマンドを実行すると、インストールできます。コピペでもOKです!
wget http://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz tar zxvf UnixBench5.1.3.tgz cd UnixBench make ./Run
実行時の様子
pi@raspberrypi:~/UnixBench $ ./Run make all make[1]: Entering directory '/home/pi/UnixBench' Checking distribution of files ./pgms exists ./src exists ./testdir exists ./tmp exists ./results exists make[1]: Leaving directory '/home/pi/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 1378. Use of uninitialized value in printf at ./Run line 1380. 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 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. Use of uninitialized value in printf at ./Run line 1588. Use of uninitialized value in printf at ./Run line 1590. Use of uninitialized value in printf at ./Run line 1588. Use of uninitialized value in printf at ./Run line 1590. 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 4 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10 4 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10 4 x Execl Throughput 1 2 3 4 x File Copy 1024 bufsize 2000 maxblocks 1 2 3 4 x File Copy 256 bufsize 500 maxblocks 1 2 3 4 x File Copy 4096 bufsize 8000 maxblocks 1 2 3 4 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10 4 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10 4 x Process Creation 1 2 3 4 x System Call Overhead 1 2 3 4 5 6 7 8 9 10 4 x Shell Scripts (1 concurrent) 1 2 3 4 x Shell Scripts (8 concurrent) 1 2 3 ======================================================================== BYTE UNIX Benchmarks (Version 5.1.3) System: raspberrypi: GNU/Linux OS: GNU/Linux -- 4.1.13-v7+ -- #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 Machine: armv7l (unknown) Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968") CPU 0: ARMv7 Processor rev 5 (v7l) (0.0 bogomips) CPU 1: ARMv7 Processor rev 5 (v7l) (0.0 bogomips) CPU 2: ARMv7 Processor rev 5 (v7l) (0.0 bogomips) CPU 3: ARMv7 Processor rev 5 (v7l) (0.0 bogomips) 05:27:43 up 11 min, 1 user, load average: 0.27, 0.08, 0.05; runlevel 5 ------------------------------------------------------------------------ Benchmark Run: Tue Dec 22 2015 05:27:43 - 05:56:36 4 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 3016157.5 lps (10.0 s, 7 samples) Double-Precision Whetstone 436.1 MWIPS (9.9 s, 7 samples) Execl Throughput 345.7 lps (29.9 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 73334.8 KBps (30.1 s, 2 samples) File Copy 256 bufsize 500 maxblocks 21018.5 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 194443.0 KBps (30.0 s, 2 samples) Pipe Throughput 178356.8 lps (10.0 s, 7 samples) Pipe-based Context Switching 34110.6 lps (10.0 s, 7 samples) Process Creation 1046.2 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 1205.3 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 324.4 lpm (60.1 s, 2 samples) System Call Overhead 407445.3 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 3016157.5 258.5 Double-Precision Whetstone 55.0 436.1 79.3 Execl Throughput 43.0 345.7 80.4 File Copy 1024 bufsize 2000 maxblocks 3960.0 73334.8 185.2 File Copy 256 bufsize 500 maxblocks 1655.0 21018.5 127.0 File Copy 4096 bufsize 8000 maxblocks 5800.0 194443.0 335.2 Pipe Throughput 12440.0 178356.8 143.4 Pipe-based Context Switching 4000.0 34110.6 85.3 Process Creation 126.0 1046.2 83.0 Shell Scripts (1 concurrent) 42.4 1205.3 284.3 Shell Scripts (8 concurrent) 6.0 324.4 540.6 System Call Overhead 15000.0 407445.3 271.6 ======== System Benchmarks Index Score 169.2 ------------------------------------------------------------------------ Benchmark Run: Tue Dec 22 2015 05:56:36 - 06:25:00 4 CPUs in system; running 4 parallel copies of tests Dhrystone 2 using register variables 12021464.3 lps (10.0 s, 7 samples) Double-Precision Whetstone 1741.2 MWIPS (10.0 s, 7 samples) Execl Throughput 1241.6 lps (29.9 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 118188.8 KBps (30.1 s, 2 samples) File Copy 256 bufsize 500 maxblocks 33324.2 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 312206.1 KBps (30.0 s, 2 samples) Pipe Throughput 708981.9 lps (10.0 s, 7 samples) Pipe-based Context Switching 127133.8 lps (10.0 s, 7 samples) Process Creation 2578.5 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 2593.1 lpm (60.1 s, 2 samples) Shell Scripts (8 concurrent) 345.3 lpm (60.5 s, 2 samples) System Call Overhead 1581595.6 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 12021464.3 1030.1 Double-Precision Whetstone 55.0 1741.2 316.6 Execl Throughput 43.0 1241.6 288.7 File Copy 1024 bufsize 2000 maxblocks 3960.0 118188.8 298.5 File Copy 256 bufsize 500 maxblocks 1655.0 33324.2 201.4 File Copy 4096 bufsize 8000 maxblocks 5800.0 312206.1 538.3 Pipe Throughput 12440.0 708981.9 569.9 Pipe-based Context Switching 4000.0 127133.8 317.8 Process Creation 126.0 2578.5 204.6 Shell Scripts (1 concurrent) 42.4 2593.1 611.6 Shell Scripts (8 concurrent) 6.0 345.3 575.5 System Call Overhead 15000.0 1581595.6 1054.4 ======== System Benchmarks Index Score 431.7
前が73だったので、ちゃんと4倍は速くなっていますね!自分の環境だと6倍のスコアでした。
起動も速かったです!!