CentOS 5.8下filebench安装

来源:互联网 发布:万网域名主机记录 编辑:程序博客网 时间:2024/06/05 04:00

filebench是一套裆案系统的效能评测软件.filebench下载地址

http://sourceforge.net/projects/filebench/files/filebench/

这里下载filebench-1.4.4版本,在安装过程中发现1..4.8版本安装存在很多问题.传统的安装方式在这里完全失效,官方公布的安装方式也不靠普,我个人的安装过程如下。

1、准备工作:

安装如下软件包,这些会在安装过程中会用到

yum install intltool automake libtool flex bison

2、然后安装libtcla

wget http://www.astro.caltech.edu/~mcs/tecla/libtecla-1.6.1.tar.gz

$ tar zxf libtecla-1.6.1.tar.gz

$ cd libtecla/

$ ./configure && make && sudo make install


3、接下来就是安装filebench 我的安装路径/usr/local下面

$ tar zxf filebench-1.4.4.tar.gz
$ cd filebench-1.4.4/

 


4、然后执行如下命令

$ aclocal && autoconf && autoheader && automake --add-missing --copy

$ ./configure

   make


转自:

http://www.linuxidc.com/Linux/2011-03/32842.htm


使用时遇到如下问题:

[root@localhost workloads]# /usr/local/bin/filebench -f /usr/local/share/filebench/workloads/createfiles.f
Filebench Version 1.4.9
IMPORTANT: Virtual address space randomization is enabled on this machine!
It is highly recommended to disable randomization to provide stable Filebench runs.
Echo 0 to /proc/sys/kernel/randomize_va_space file to disable the randomization.
 9514: 0.000: Allocated 170MB of shared memory
 9514: 0.002: Createfiles Version 3.0 personality successfully loaded
[root@localhost workloads]#
解决办法:

echo 0 > /proc/sys/kernel/randomize_va_space

fiobench使用:

http://blog.csdn.net/u012317833/article/details/36676955












原创粉丝点击