UnixBenchの導入と実行

Linuxのパフォーマンスを図るUnixBenchの導入方法を記す。

確認環境
  • Ubuntu 11.04 (log)
  • CentOS6.0 (log)
  • Linux Mint 12
手順

(0) 必要パッケージをインストール(CentOS)

# yum install perl-Time-HiRes
# yum install gcc

(1) UnixBenchをダウンロード

# wget http://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz

(2) 展開

# tar zxvf UnixBench5.1.3.tgz 

(3) コンパイル

# cd UnixBench/
# make

(4) 実行

# ./Run
make all
make[1]: Entering directory `/root/unixbench/UnixBench'
Checking distribution of files
./pgms  exists
./src  exists
./testdir  exists
./tmp  exists
./results  exists
make[1]: Leaving directory `/root/unixbench/UnixBench'
sh: 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


以上

コメント