Linux Benchmark

Linux kernel benchmark
http://panticz.de/Linux-Kernel-Benchmark

sysbench
https://openbenchmarking.org/test/pts/sysbench

apt-get install -y sysbench
 
sysbench --threads=4  cpu run --time=60
 
sysbench --test=cpu --num-threads=1 --cpu-max-prime=20000 run
sysbench --test=cpu --num-threads=$(cat /proc/cpuinfo | grep processor | wc -l) --cpu-max-prime=50000 run
 
sysbench --test=memory run
sysbench --test=memory --num-threads=$(cat /proc/cpuinfo | grep processor | wc -l) run
 
time sysbench --test=oltp --oltp-table-size=1000000 --mysql-db=test --mysql-user=root --mysql-password=terceS prepare
sysbench --test=oltp --oltp-table-size=1000000 --mysql-db=test --mysql-user=root --mysql-password=terceS --max-time=60 --oltp-read-only=on --max-requests=0 --num-threads=8 run

http://www.howtoforge.com/how-to-benchmark-your-system-cpu-file-io-mysql-with-sysbench

Phoronix Test Suite 4.6 (Official)
http://openbenchmarking.org/suite/pts/cpu

cd /tmp/
wget http://phoronix-test-suite.com/releases/repo/pts.debian/files/phoronix-test-suite_4.6.1_all.deb
apt-get install php5-cli
dpkg -i phoronix-test-suite_4.6.1_all.deb
 
# nbench
wget http://www.tux.org/~mayer/linux/nbench-byte-2.2.3.tar.gz -P /tmp
cd /tmp
tar xzf nbench-byte-2.2.3.tar.gz
cd /tmp/nbench-byte-2.2.3/
make

passmark (windows)
http://www.cpubenchmark.net/high_end_cpus.html

# hpc
wget http://www.netlib.org/benchmark/hpl/hpl-2.1.tar.gz
cp /usr/share/doc/hpcc/examples/_hpccinf.txt hpccinf.txt

http://khmel.org/?p=527
http://www.advancedclustering.com/faq/how-do-i-tune-my-hpldat-file.html

http://linux-sunxi.org/Benchmarks#Linpack

CPU2006
http://www.spec.org/cgi-bin/osgresults?conf=cpu2006

# apache benchmark
sudo apt-get install apache2-utils
ab -n 1000 -c 12 "http://www.your_page.com/index.html"
 
# test: Ubuntu package?
#apt-get install -y hpcc

classic_benchmarks
http://www.roylongbottom.org.uk/classic_benchmarks.tar.gz

Links
http://www.cyberciti.biz/tips/howto-performance-benchmarks-a-web-server.html