Skip to content

Files

Latest commit

 

History

History

sysbench

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 'sysbench@1.0.2'
  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 (joel.scheuner.dev@gmail.com)