Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.46 KB

README.md

File metadata and controls

60 lines (42 loc) · 1.46 KB

Sysbench

Installs the sysbench benchmark and provides utilities to integrate with Cloud WorkBench. Currently, only the CPU test mode is supported.

Supported Platforms

  • Ubuntu 14.04 LTS (manually tested)

Attributes

See attributes/default.rb

Usage

Cloud WorkBench

Metric Name Unit Scale Type
execution_time seconds ratio
cpu model name nominal

bold-written metrics are mandatory

Sysbench Reference

sysbench::default

Add the sysbench default recipe to your Chef configuration in the Vagrantfile:

config.vm.provision 'chef_client' do |chef|
  chef.add_recipe '[email protected]'
  chef.json =
  {
    'sysbench' => {
        'cli_options' => {
            'test' => 'cpu',
            'cpu-max-prime' => 4_000
        }
    }
  }
end

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  3. Write you change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request

License and Authors

Author:: Joel Scheuner ([email protected])