[Linux] Unixbenchを使ってみた

さくらインターネットの社長ブログを見ていて、UnixBenchなんてものがあるのねーと。

「さくらのVPS」を使ってみる (さくらインターネット創業日記)
http://tanaka.sakura.ad.jp/archives/001061.html

そんなわけで、社内のCentOSサーバー1号でUnixBenchをまわしてみることにした。
makeでコケたけど、このブログ様情報に救われた。

今さらながら、unixbench (Soukaku’s HENA-CHOKO Blog)
http://www.downtown.jp/~soukaku/archives/computers/linux/2009/07/23-2010.html

結構時間かかるね、1時間近くかな。スペックにもよるかも。
下はそのアウトプット。1CPUは982点、2CPUだと1566点。
さくらインターネットさんのVPSに負けてるな。

Version 5.1.2                      Based on the Byte Magazine Unix Benchmark

Multi-CPU version                  Version 5 revisions by Ian Smith, Sunnyvale, CA, USA

December 22, 2007                  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

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

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

2 x Execl Throughput  1 2 3

2 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

2 x File Copy 256 bufsize 500 maxblocks  1 2 3

2 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

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

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

2 x Process Creation  1 2 3

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

2 x Shell Scripts (1 concurrent)  1 2 3

2 x Shell Scripts (8 concurrent)  1 2 3

========================================================================

BYTE UNIX Benchmarks (Version 5.1.2)

System: www.******.***: GNU/Linux

OS: GNU/Linux — 2.6.18-164.11.1.el5 — #1 SMP Wed Jan 20 07:39:04 EST 2010

Machine: i686 (i386)

Language: en_US.utf8 (charmap=”UTF-8″, collate=”UTF-8″)

CPU 0: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (5985.3 bogomips)

Hyper-Threading, x86-64, MMX, Physical Address Ext, Intel virtualization

CPU 1: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (5985.0 bogomips)

Hyper-Threading, x86-64, MMX, Physical Address Ext, Intel virtualization

10:50:30 up 5 days, 16:36,  1 user,  load average: 0.01, 0.00, 0.00; runlevel 3

————————————————————————

Benchmark Run: 木  9月 02 2010 10:50:30 – 11:18:43

2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       12278112.4 lps   (10.0 s, 7 samples)

Double-Precision Whetstone                     2762.9 MWIPS (10.0 s, 7 samples)

Execl Throughput                               4514.5 lps   (30.0 s, 2 samples)

File Copy 1024 bufsize 2000 maxblocks        414632.0 KBps  (30.0 s, 2 samples)

File Copy 256 bufsize 500 maxblocks          110888.0 KBps  (30.0 s, 2 samples)

File Copy 4096 bufsize 8000 maxblocks       1071218.6 KBps  (30.0 s, 2 samples)

Pipe Throughput                              618723.7 lps   (10.0 s, 7 samples)

Pipe-based Context Switching                 246557.2 lps   (10.0 s, 7 samples)

Process Creation                              13433.3 lps   (30.0 s, 2 samples)

Shell Scripts (1 concurrent)                   7502.4 lpm   (60.0 s, 2 samples)

Shell Scripts (8 concurrent)                   1629.2 lpm   (60.0 s, 2 samples)

System Call Overhead                        1072794.2 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX

Dhrystone 2 using register variables         116700.0   12278112.4   1052.1

Double-Precision Whetstone                       55.0       2762.9    502.3

Execl Throughput                                 43.0       4514.5   1049.9

File Copy 1024 bufsize 2000 maxblocks          3960.0     414632.0   1047.1

File Copy 256 bufsize 500 maxblocks            1655.0     110888.0    670.0

File Copy 4096 bufsize 8000 maxblocks          5800.0    1071218.6   1846.9

Pipe Throughput                               12440.0     618723.7    497.4

Pipe-based Context Switching                   4000.0     246557.2    616.4

Process Creation                                126.0      13433.3   1066.1

Shell Scripts (1 concurrent)                     42.4       7502.4   1769.4

Shell Scripts (8 concurrent)                      6.0       1629.2   2715.3

System Call Overhead                          15000.0    1072794.2    715.2

========

System Benchmarks Index Score                                         982.3

————————————————————————

Benchmark Run: 木  9月 02 2010 11:18:43 – 11:46:57

2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       24401398.4 lps   (10.0 s, 7 samples)

Double-Precision Whetstone                     5448.8 MWIPS (10.0 s, 7 samples)

Execl Throughput                               8990.2 lps   (30.0 s, 2 samples)

File Copy 1024 bufsize 2000 maxblocks        437361.3 KBps  (30.0 s, 2 samples)

File Copy 256 bufsize 500 maxblocks          113706.9 KBps  (30.0 s, 2 samples)

File Copy 4096 bufsize 8000 maxblocks       1330998.3 KBps  (30.0 s, 2 samples)

Pipe Throughput                             1254411.2 lps   (10.0 s, 7 samples)

Pipe-based Context Switching                 498565.5 lps   (10.0 s, 7 samples)

Process Creation                              27242.8 lps   (30.0 s, 2 samples)

Shell Scripts (1 concurrent)                  11439.5 lpm   (60.0 s, 2 samples)

Shell Scripts (8 concurrent)                   1718.9 lpm   (60.0 s, 2 samples)

System Call Overhead                        2071997.0 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX

Dhrystone 2 using register variables         116700.0   24401398.4   2091.0

Double-Precision Whetstone                       55.0       5448.8    990.7

Execl Throughput                                 43.0       8990.2   2090.7

File Copy 1024 bufsize 2000 maxblocks          3960.0     437361.3   1104.4

File Copy 256 bufsize 500 maxblocks            1655.0     113706.9    687.1

File Copy 4096 bufsize 8000 maxblocks          5800.0    1330998.3   2294.8

Pipe Throughput                               12440.0    1254411.2   1008.4

Pipe-based Context Switching                   4000.0     498565.5   1246.4

Process Creation                                126.0      27242.8   2162.1

Shell Scripts (1 concurrent)                     42.4      11439.5   2698.0

Shell Scripts (8 concurrent)                      6.0       1718.9   2864.8

System Call Overhead                          15000.0    2071997.0   1381.3

========

System Benchmarks Index Score                                        1566.8

コメントをどうぞ