Monday April 06, 2009
New Feature for Sysbench - Generate Transactions at a Steady Rate
Perhaps I am becoming a regular patcher of sysbench...
I have developed a new feature for sysbench - the ability to generate transactions at a steady rate determined by the user.
This mode is enabled using the following two new options:My need for these options is simple - I want to generate a steady load for my MySQL database. It is one thing to measure the maximum achievable throughput as you change your database configuration, hardware, or num-threads. I am also interested in how the system (or just mysqld's) utilization changes, at the same transaction rate, when I change other variables.
An upcoming post will demonstrate a use of sysbench in this mode.
For the moment my new feature can be added to sysbench 0.4.12 (and probably many earlier versions) via this patch. These changes are tested on Solaris, but I did choose only APIs that are documented as also available on Linux. I have also posted my patch on sourceforge as a sysbench feature enhancement request.
Posted at 03:42PM Apr 06, 2009 by timc in Performance | Comments[2]