Usebonnie++toTestsystemIOspeed[修正稿]

来源:互联网 发布:centos rpm 安装jdk 编辑:程序博客网 时间:2024/06/02 12:31
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>

link:

http://www.eygle.com/unix/Use.Bonnie++.To.Test.IO.speed.htm

 

由于Bonnie存在一些众所周知的问题,比如>2G的文件支持.
RussellCoker(russell@coker.com.au)开发了一套新的代码,用以支持>2G的文件等.
得到TimBray(tbray@textuality.com)的许可之后,Russell把他的命名为bonnie++,在网上发布,并开始流行起来.

目前的版本已经更新到了1.03a,你可以到以下地址下载:
http://www.coker.com.au/bonnie++/
你也可以点击这里下载,这个版本需要编译,如果你没有编译环境,可以点击这里下载我编译好的,适用于SUN环境(Solaris8测试通过)

RussellCoker的个人主页是:
http://www.coker.com.au/

Bonnie++与bonnie的区别主要是:
http://www.coker.com.au/bonnie++/diff.html

我简单介绍一下Bonnie++的编译及使用:

1.编译

你需要把以上下载的源码编译以后才能使用,如果你没有编译环境,可以点击这里下载我编译好的,适用于SUNSolaris环境(Solaris8测试通过)

当然你需要安装make,及gcc等必要编译器.在编译过程中,如果遇到以下错误,可能是因为你没有设置正确的环境变量

$./configure
grep:illegaloption--q
Usage:grep-hblcnsviwpatternfile...
grep:illegaloption--q
Usage:grep-hblcnsviwpatternfile...
checkingforg++...g++
checkingforcompilerdefaultoutput...a.out
checkingwhethertheC++compilerworks...configure:error:cannotrunC++compiledprograms.
Ifyoumeanttocrosscompile,use`--host'.
See`config.log'formoredetails.

设置环境变量后继续编译,一般可以成功.

 

#exportLD_LIBRARY_PATH=/usr/lib:/usr/local/lib
#./configure
grep:illegaloption--q
Usage:grep-hblcnsviwpatternfile...
grep:illegaloption--q
Usage:grep-hblcnsviwpatternfile...
checkingforg++...g++
checkingforC++compilerdefaultoutput...a.out
checkingwhethertheC++compilerworks...yes
checkingwhetherwearecrosscompiling...no
checkingforsuffixofexecutables...
checkingforsuffixofobjectfiles...o
checkingwhetherweareusingtheGNUC++compiler...yes
checkingwhetherg++accepts-g...yes
checkinghowtoruntheC++preprocessor...g++-E
checkingforaBSD-compatibleinstall.../usr/bin/install-c
checkingforanANSIC-conformingconst...yes
checkingforegrep...egrep
checkingforANSICheaderfiles...yes
checkingforsys/types.h...yes
checkingforsys/stat.h...yes
checkingforstdlib.h...yes
checkingforstring.h...yes
checkingformemory.h...yes
checkingforstrings.h...yes
checkingforinttypes.h...yes
checkingforstdint.h...no
checkingforunistd.h...yes
checkingforsize_t...yes
checkingvector.husability...yes
checkingvector.hpresence...yes
checkingforvector.h...yes
checkingvectorusability...yes
checkingvectorpresence...yes
checkingforvector...yes
checkingalgorithmusability...yes
checkingalgorithmpresence...yes
checkingforalgorithm...yes
checkingalgo.husability...yes
checkingalgo.hpresence...yes
checkingforalgo.h...yes
checkingalgousability...no
checkingalgopresence...no
checkingforalgo...no
configure:creating./config.status
config.status:creatingMakefile
config.status:creatingbonnie.h
config.status:creatingport.h
config.status:creatingbonnie++.spec
config.status:creatingbon_csv2html1<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
原创粉丝点击