Skip to content

Instantly share code, notes, and snippets.

@ngsw
Created May 25, 2012 20:50
Show Gist options
  • Select an option

  • Save ngsw/2790474 to your computer and use it in GitHub Desktop.

Select an option

Save ngsw/2790474 to your computer and use it in GitHub Desktop.
bonnie++ setup
###参考URL :bonnie++ で I/O 性能を測定 (Linux/Unix での IO ベンチマークソフト) :: drk7jp http://www.drk7.jp/MT/archives/001448.html
###Scientific Linux release 6.2 (Carbon)
###Linux `hostname` 2.6.32-220.el6.x86_64 #1 SMP Sat Dec 10 17:04:11 CST 2011 x86_64 x86_64 x86_64 GNU/Linux
yum install wget gcc-c++ make
cd /usr/local/src
_TARGET_FILE='bonnie++-1.03e'
wget http://www.coker.com.au/bonnie++/${_TARGET_FILE}.tgz
tar zxvf ${_TARGET_FILE}.tgz
cd ${_TARGET_FILE}
./configure
sed -i 's/MinTime (0.5)/MinTime (0.01)/g' bonnie.h
make
###./bonnie++ -q -d /DIR -s ${FILE_SIZE} -r ${MEM_SIZE} -u ${USER} |perl ./bon_csv2html >> result.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment