sysbench

sysbench --num-threads=8 --test=[file-io|cpu,memory,threads,mutex,oltp] --max-request=100000

```mysqladmin -u root -p

create database sbtest```

service mysql stop
vim /etc/my.cnf

Edit line datadir=

service mysql start