failregex = ^%(__prefix_line)sDid not receive identification string from <HOST>\s*$
failregex = ^%(__prefix_line)s(Did not receive identification string|Bad protocol version identification '.*') from <HOST>\s*$
sudo apt-get install sysbench
CPU Benchmark
sysbench --test=cpu --cpu-max-prime=20000 run
Theads
sysbench --num-threads=64 --test=threads --thread-yields=100 --thread-locks=2 run
File IO Benchmark
sysbench --test=fileio --file-total-size=100G prepare
sysbench --test=fileio --file-total-size=100G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run
Read 9.375Mb Written 6.25Mb Total transferred 15.625Mb (53.316Kb/sec)
sysbench --test=fileio --file-total-size=100G cleanup
MySQL Benchmark
sysbench --db-driver=mysql --test=oltp --oltp-table-size=50000000 --mysql-db=test --mysql-user=root --mysql-password=pass --db-driver=mysql prepare
sysbench --test=oltp --oltp-table-size=5000000 --mysql-db=test --mysql-user=root --mysql-password=pass --db-driver=mysql --max-requests=800 --num-threads=10 run
transactions: 160990 (2683.06 per sec.)
write
sysbench --test=oltp --mysql-db=test --mysql-user=root --mysql-password=pass cleanup