Uses the sysbench cwb benchmark and extends it with active monitoring during benchmark execution.
- Ubuntu 14.04 LTS (manually tested)
See sysbench
for benchmark related attributes
See attributes/default.rb
for monitoring related attributes
Metric Name | Unit | Scale Type |
---|---|---|
execution_time | seconds | ratio |
sar_user | %user | ratio |
sar_steal | %steal | ratio |
sar_idle | %idle | ratio |
cpu | model name | nominal |
Add the sysbench-monitored
default recipe to your Chef configuration in the Vagrantfile:
config.vm.provision 'chef_client' do |chef|
chef.add_recipe 'sysbench-monitored'
chef.json =
{
'sysbench' => {
'cli_options' => {
'test' => 'cpu',
'cpu-max-prime' => 4_000,
}
},
'sysbench-monitored' => {
'runtime' => 2 * 60,
'sar_interval' => 2,
'sleeptime' => 10,
}
}
end
- Fork the repository on Github
- Create a named feature branch (i.e.
add-new-recipe
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request
Author:: Joel Scheuner ([email protected])