先週、ボーナスの使い道第一弾で新しいPCを買っちゃいました。
じゃじゃじゃじゃーん!
……ええ。Raspberry Piです。
もちろんPhotoshopなんか動きません。というか遅い!
とりあえず、1台目のRaspberry Piはそこらのサーバでは手に負えないような大容量のファイルやりとりに使う予定です。FTPサーバとしてはそこそこ動いてくれるらしいんで。
なので、一応同人向けサーバです(キリッ
盛大に遅いので、ベンチマーク取ってみました。
比較対象:自分のメインマシン(AMD Phenom II X6 1065T = 2.9GHz * 6コア)VirtualBox上のUbuntu 12.04 64bit環境
まずは、VirtualBox @ Phenom II X6 1065Tの環境。
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: ubuntu-1204-64bit: GNU/Linux
OS: GNU/Linux — 3.8.0-29-generic — #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap=”UTF-8″, collate=”UTF-8″)
CPU 0: AMD Phenom(tm) II X6 1065T Processor (5748.6 bogomips)
x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
18:12:21 up 9:04, 2 users, load average: 0.12, 0.05, 0.05; runlevel 2
————————————————————————
Benchmark Run: Mon Dec 23 2013 18:12:22 – 18:40:32
1 CPU in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 25140531.6 lps (10.0 s, 7 samples)
Double-Precision Whetstone 3274.3 MWIPS (9.9 s, 7 samples)
Execl Throughput 2644.3 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 703143.4 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 264182.1 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1078562.8 KBps (30.0 s, 2 samples)
Pipe Throughput 1841052.5 lps (10.0 s, 7 samples)
Pipe-based Context Switching 222842.5 lps (10.0 s, 7 samples)
Process Creation 8846.7 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 4953.6 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 638.3 lpm (60.1 s, 2 samples)
System Call Overhead 3259861.9 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 25140531.6 2154.3
Double-Precision Whetstone 55.0 3274.3 595.3
Execl Throughput 43.0 2644.3 615.0
File Copy 1024 bufsize 2000 maxblocks 3960.0 703143.4 1775.6
File Copy 256 bufsize 500 maxblocks 1655.0 264182.1 1596.3
File Copy 4096 bufsize 8000 maxblocks 5800.0 1078562.8 1859.6
Pipe Throughput 12440.0 1841052.5 1479.9
Pipe-based Context Switching 4000.0 222842.5 557.1
Process Creation 126.0 8846.7 702.1
Shell Scripts (1 concurrent) 42.4 4953.6 1168.3
Shell Scripts (8 concurrent) 6.0 638.3 1063.9
System Call Overhead 15000.0 3259861.9 2173.2
========
System Benchmarks Index Score 1168.8
———————————————————————————–
Raspberry Piはこんな感じ。
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: r-pi: GNU/Linux
OS: GNU/Linux — 3.6.11+ — #538 PREEMPT Fri Aug 30 20:42:08 BST 2013
Machine: armv6l (unknown)
Language: en_US.utf8 (charmap=”ANSI_X3.4-1968″, collate=”ANSI_X3.4-1968″)
09:14:20 up 17 min, 1 user, load average: 0.49, 0.93, 0.80; runlevel 2
————————————————————————
Benchmark Run: Mon Dec 23 2013 09:14:20 – 09:42:35
0 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 1688325.9 lps (10.0 s, 7 samples)
Double-Precision Whetstone 269.5 MWIPS (10.0 s, 7 samples)
Execl Throughput 259.5 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 44311.1 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 14275.9 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 101345.4 KBps (30.0 s, 2 samples)
Pipe Throughput 182188.4 lps (10.0 s, 7 samples)
Pipe-based Context Switching 24171.9 lps (10.0 s, 7 samples)
Process Creation 842.9 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 462.0 lpm (60.1 s, 2 samples)
Shell Scripts (8 concurrent) 58.6 lpm (60.4 s, 2 samples)
System Call Overhead 382053.1 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 1688325.9 144.7
Double-Precision Whetstone 55.0 269.5 49.0
Execl Throughput 43.0 259.5 60.4
File Copy 1024 bufsize 2000 maxblocks 3960.0 44311.1 111.9
File Copy 256 bufsize 500 maxblocks 1655.0 14275.9 86.3
File Copy 4096 bufsize 8000 maxblocks 5800.0 101345.4 174.7
Pipe Throughput 12440.0 182188.4 146.5
Pipe-based Context Switching 4000.0 24171.9 60.4
Process Creation 126.0 842.9 66.9
Shell Scripts (1 concurrent) 42.4 462.0 109.0
Shell Scripts (8 concurrent) 6.0 58.6 97.7
System Call Overhead 15000.0 382053.1 254.7
========
System Benchmarks Index Score 101.2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Raspberry Pi, やっぱり遅いですよね(苦笑