Installs the sysbench benchmark and provides utilities to integrate with Cloud WorkBench. Currently, only the CPU test mode is supported.
- Ubuntu 14.04 LTS (manually tested)
See attributes/default.rb
Metric Name | Unit | Scale Type |
---|---|---|
execution_time | seconds | ratio |
cpu | model name | nominal |
bold-written metrics are mandatory
Add the sysbench
default recipe to your Chef configuration in the Vagrantfile:
config.vm.provision 'chef_client' do |chef|
chef.add_recipe 'sysbench@1.0.2'
chef.json =
{
'sysbench' => {
'cli_options' => {
'test' => 'cpu',
'cpu-max-prime' => 4_000
}
}
}
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 (joel.scheuner.dev@gmail.com)