====== dbench ======
ディスク性能の評価
===== インストール =====
[[https://src.fedoraproject.org/lookaside/extras/dbench/dbench-4.0.tar.gz]]
$ wget http://samba.org/ftp/tridge/dbench/dbench-4.0.tar.gz
$ tar zxvf dbench-4.0.tar.gz
$ cd dbench-4.0
$ ./autogen.sh
$ ./configure
$ make
$ su
# make install
実行
「-D」オプションでワークディレクトリを指定
# dbench 5 -D /tmp
===== エラー =====
=== 1 ===
# ./autogen.sh
./autogen.sh: line 3: autoheader: command not found
この場合は、automakeをインストールする。
# yum install automake
=== 2 ===
# make
エラー表示
dbench.c:26:18: error: popt.h: No such file or directory
対策
# yum install popt-devel
==== 備考 ====
dbenchを実行すると、カレントディレクトリにclientsという一時フォルダができる。
# find ./clients
./clients
./clients/client3
./clients/client3/~dmtmp
./clients/client3/~dmtmp/SEED
./clients/client3/~dmtmp/WORDPRO
./clients/client3/~dmtmp/COREL
./clients/client3/~dmtmp/EXCEL
./clients/client3/~dmtmp/PM
./clients/client3/~dmtmp/PWRPNT
./clients/client3/~dmtmp/PARADOX
./clients/client3/~dmtmp/WORD
./clients/client3/~dmtmp/ACCESS
./clients/client1
./clients/client1/~dmtmp
./clients/client1/~dmtmp/SEED
./clients/client1/~dmtmp/WORDPRO
./clients/client1/~dmtmp/COREL
./clients/client1/~dmtmp/EXCEL
./clients/client1/~dmtmp/PM
./clients/client1/~dmtmp/PWRPNT
./clients/client1/~dmtmp/PARADOX
./clients/client1/~dmtmp/WORD
./clients/client1/~dmtmp/ACCESS
./clients/client2
./clients/client2/~dmtmp
./clients/client2/~dmtmp/SEED
./clients/client2/~dmtmp/WORDPRO
./clients/client2/~dmtmp/COREL
./clients/client2/~dmtmp/EXCEL
./clients/client2/~dmtmp/PM
./clients/client2/~dmtmp/PWRPNT
./clients/client2/~dmtmp/PARADOX
./clients/client2/~dmtmp/WORD
./clients/client2/~dmtmp/ACCESS
./clients/client0
./clients/client0/~dmtmp
./clients/client0/~dmtmp/SEED
./clients/client0/~dmtmp/WORDPRO
./clients/client0/~dmtmp/COREL
./clients/client0/~dmtmp/EXCEL
./clients/client0/~dmtmp/PM
./clients/client0/~dmtmp/PWRPNT
./clients/client0/~dmtmp/PARADOX
./clients/client0/~dmtmp/WORD
./clients/client0/~dmtmp/ACCESS
{{tag>ベンチマーク}}