Here are a few CPU oriented benchmarks for Linux. I am not sure if they are available in packages for CentOS, so I have only given the Ubuntu packages: (Please note that you will have to enable the community repositories for these) sudo apt-get -y install hardinfo #this is a gui, but can be run from the command line: hardinfo sudo apt-get -y install sysbench sysbench --test=cpu run # it is useful to compare with a larger number of threads: sysbench --test=cpu --num-threads=6 run # this test takes a bit longer (fails on machines with a lot of ram if total size is too high): sysbench --test=memory --memory-total-size=1000000000 run For a more comprehensive real-world test that also exercises the HD, then have a look at the MySQL test suite An excellent hard drive benchmark is bonnie++ Install with :
or compile (as root) with: yum install gcc gcc-c++ autoconf automake VER=1.03e cd /tmp wget http://www.coker.com.au/bonnie++/bonnie++-$VER.tgz tar -zxvf bonnie++-$VER.tgz cd bonnie++-$VER ./configure make make install Suggested run with: and then replace the /root with other parts of the disk system as required The -b option forces re-sync which is appropriate to some database and mailservers. IOzone
IOVER=3_408 ARCH=linux-AMD64 #or linux wget http://www.iozone.org/src/current/iozone$IOVER.tar tar -xf iozone$IOVER.tar cd iozone$IOVER/src/current/ make $ARCH mv iozone ~ cd ~ rm -f iozone$IOVER.tar rm -Rf iozone$IOVER ./iozone -Ra -i 0 -i 1 -g 8G -b iozone.wks
ddA quick and simple test that will give the write speed is: dd if=/dev/zero of=/tmp/test.dat bs=1G count=1 oflag=direct Internet speed test
wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip |
|||