Skip to content

harvard-cns/cherrypick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudbench

This is a project which tries to benchmark and compare multiple public cloud providers. It also tries to identify the bottleneck resources in the cloud platform for applications.

Setup

Put your keys in the ./config/ folder. For Azure you would need to create two keys:

  • cloud.pem
  • cloud.key

cloud.key should be a 2048bit RSA key. You can generate Azure keys with the openssl command or just the supplied makefile:

make azure_keys

Also make sure that the permission of cloud.key is set to 600.

Cloud specific notes

Azure

  • Because of plethora of random objects that Azure creates for you, as of now, it is not possible to "cleanly" delete a topology. This is a work in progress and any feedbacks are welcome

Examples

To run a specific benchmark you can use the 'bin/cb' binary. For example:

./cb --benchmark=ipref --setup --teardown

This command would first setup the environment specified in config.xml for running the iperf benchmark located in cloudbench/benchmarks/iperf. Then it would run the main.py script for benchmarking, and afterwards it would teardown the environment. If the environment is to be persisted for next runs, you can avoid passing --teardown to cb.

Benchmark format

All the benchmarks are located in the cloudbench/benchmarks/ folder. To create a new benchmark, e.g., stress_test , you would need to create a new folder called stress_test in the benchmarks folder. At least two files are required:

  • config.xml which specifies the environment configuration, e.g., virtual machines, virtual networks, etc.
  • main.py where the benchmarking script is run in the context of the environment.

For an example, have a look at cloudbench/benchmarks/iperf.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published