新さくらVPS 1G CentOS6.2でUnixBenchを動かす&エラー対処方法

| コメント(0) | トラックバック(0)

リニューアルしたさくらVPS1Gプランで、Unixベンチを動かしてみました。

インストール

$ su -
$ cd /usr/local/src
$ wget http://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz
$ tar xzf UnixBench5.1.3.tgz
$ cd UnixBench5.1.3
$ make

エラーが発生した場合

perlのCPANモジュール Time::HiResが無いと、怒られる様子でした。

  • error内容

    $ ./Run
    
    
    Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./Run line 6.
    BEGIN failed--compilation aborted at ./Run line 6.
    
  • perlインストール CPAN & Time::HiRes

    $ su -
    $ yum -y install perl-devel  perl-CPAN
    $ perl -MCPAN -e shell
    
    
    > install Time::HiRes
    > exit
    

UnixBenchの実行

$ ./Run

実行結果 Index Score 2168.8

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

   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

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.3)

   System: www4001ue.sakura.ne.jp: GNU/Linux
   OS: GNU/Linux -- 2.6.32-220.7.1.el6.x86_64 -- #1 SMP Wed Mar 7 00:52:02 GMT 2012
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E5645 (4800.2 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET
   CPU 1: Intel(R) Xeon(R) CPU E5645 (4800.2 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET
   04:04:10 up  6:51,  1 user,  load average: 0.15, 0.15, 0.05; runlevel 3

------------------------------------------------------------------------
Benchmark Run: 木  4月 05 2012 04:04:10 - 04:32:21
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       24562067.2 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3111.6 MWIPS (10.0 s, 7 samples)
Execl Throughput                               2768.4 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        815861.5 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          228338.8 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1568106.4 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1622352.6 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 285266.6 lps   (10.0 s, 7 samples)
Process Creation                               8229.1 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   5525.5 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1282.2 lpm   (60.0 s, 2 samples)
System Call Overhead                        1819025.7 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   24562067.2   2104.7
Double-Precision Whetstone                       55.0       3111.6    565.7
Execl Throughput                                 43.0       2768.4    643.8
File Copy 1024 bufsize 2000 maxblocks          3960.0     815861.5   2060.3
File Copy 256 bufsize 500 maxblocks            1655.0     228338.8   1379.7
File Copy 4096 bufsize 8000 maxblocks          5800.0    1568106.4   2703.6
Pipe Throughput                               12440.0    1622352.6   1304.1
Pipe-based Context Switching                   4000.0     285266.6    713.2
Process Creation                                126.0       8229.1    653.1
Shell Scripts (1 concurrent)                     42.4       5525.5   1303.2
Shell Scripts (8 concurrent)                      6.0       1282.2   2137.0
System Call Overhead                          15000.0    1819025.7   1212.7
                                                                   ========
System Benchmarks Index Score                                        1230.8

------------------------------------------------------------------------
Benchmark Run: 木  4月 05 2012 04:32:21 - 05:00:32
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       47994737.1 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     6086.0 MWIPS (9.9 s, 7 samples)
Execl Throughput                               8040.2 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1023160.0 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          269875.3 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2619801.6 KBps  (30.0 s, 2 samples)
Pipe Throughput                             3159693.4 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 546360.3 lps   (10.0 s, 7 samples)
Process Creation                              22615.2 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   9805.7 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1310.1 lpm   (60.0 s, 2 samples)
System Call Overhead                        3189688.3 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   47994737.1   4112.7
Double-Precision Whetstone                       55.0       6086.0   1106.6
Execl Throughput                                 43.0       8040.2   1869.8
File Copy 1024 bufsize 2000 maxblocks          3960.0    1023160.0   2583.7
File Copy 256 bufsize 500 maxblocks            1655.0     269875.3   1630.7
File Copy 4096 bufsize 8000 maxblocks          5800.0    2619801.6   4516.9
Pipe Throughput                               12440.0    3159693.4   2539.9
Pipe-based Context Switching                   4000.0     546360.3   1365.9
Process Creation                                126.0      22615.2   1794.9
Shell Scripts (1 concurrent)                     42.4       9805.7   2312.7
Shell Scripts (8 concurrent)                      6.0       1310.1   2183.5
System Call Overhead                          15000.0    3189688.3   2126.5
                                                                   ========
System Benchmarks Index Score                                        2168.8

おわり

月額 980 で CPU 2.4G、Mem 1G、HDD 100G は最強!?

2012/04/06更新 次回、Linuxパフォーマンスの徹底検証、さくらのVPSリニューアル編

関連記事

トラックバック(0)

トラックバックURL: http://mukaer.com/cgi-bin/mt/mt-tb.cgi/73

コメントする

PR

PR





検索

Loading

メニュー

twitter