Benchmarking MySQL with Sysbench
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Other Linux distributions and Ubuntu versions might also work. If you use a different distribution, expect to adapt package installation commands to match your environment.
sysbench needs MySQL client libraries to build and run its MySQL tests. You only build and install MySQL on the client to provide these libraries. You don’t configure or run the MySQL server on the client.Allocate at least 200 GB of disk space on the MySQL server system. Allocate at least 30 GB on the Sysbench client system.
Use GCC for PGO. You’ll create two additional MySQL installations: one built with profile generation to collect data and another rebuilt with profile use to apply that data.
Run the same
sysbench workload on the baseline and profile-use builds, then compare their results. Keep the workload and environment consistent so the comparison is meaningful.