MySQL Benchmark on FreeBSD and Ubuntu
In order to compile correctly SysBench 0.5 on a FreeBSD system you have to download the source code from launchpad.net (SysBench v0.5), see bug 1029088

Then, for benchmarking purposes, you can take a look into this post:


Stress test MySQL with queries captured with general log in MySQL


Or you can use the standard oltp test provided by SysBench