Difference between revisions of "GSoC2014/Rally/BenchmarksVirtualMachinesOpenStack"
m (→Links: Change list style.) |
(Remove the Status section as it was outdated. Progress has been made (please check the course of the reviews in Gerrit) but I didn't get it logged in that section as I considered it not useful.) |
||
Line 10: | Line 10: | ||
For the second part, the ported benchmarks for now is only Blogbench (https://review.openstack.org/#/c/97030/). However, as soon as the base is stable enough, it will be quite easy to port new benchmarks because with the current architecture it will only be needed to create a setup script and a run script for the benchmark that needs to be ported and nothing more. | For the second part, the ported benchmarks for now is only Blogbench (https://review.openstack.org/#/c/97030/). However, as soon as the base is stable enough, it will be quite easy to port new benchmarks because with the current architecture it will only be needed to create a setup script and a run script for the benchmark that needs to be ported and nothing more. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Source Code == | == Source Code == |
Revision as of 22:05, 18 August 2014
Contents
Introduction
The ability to benchmark a Virtual Machine is an important activity that more and more developers will need to perform as they host their SaaS applications in a cloud. The aim of this project is to integrate into the Rally project the ability to run easily and in an automated manner various benchmarks for measuring the performance of the deployed Virtual Machines of an OpenStack cloud.
Description and Analysis
The goal of this project is twofold. Firstly, develop in Rally the necessary code base for executing commands inside the virtual machines of an OpenStack cloud, and secondly, using this base, to port existing popular benchmarks that are used to measure the performance of a computer system, to the virtual machines.
For the first part, a context is developed (https://review.openstack.org/#/c/104564/) that produces an image that has installed the required programs to run a specific benchmark. This context takes an image, a flavor and some other necessary information from the task configuration file of the benchmark scenario (https://review.openstack.org/#/c/98172/) and boots a virtual machine, using a new keypair and security group access the virtual machine, and then using SSH it executes the setup script (https://review.openstack.org/#/c/97030/) of the specified benchmark. This context is used by the benchmark scenario "boot_benchmark_delete" in order to avoid the setup part every time that the benchmark scenario will be run. The benchmark scenario boots a virtual machine using the image produced by the context "benchmark_image", and by generating a keypair and security group, it accesses the virtual machine via SSH and executes now the run script (https://review.openstack.org/#/c/97030/) of the specified benchmark. If the execution of the run script is successful, it returns some of the results of the benchmark in JSON format.
For the second part, the ported benchmarks for now is only Blogbench (https://review.openstack.org/#/c/97030/). However, as soon as the base is stable enough, it will be quite easy to port new benchmarks because with the current architecture it will only be needed to create a setup script and a run script for the benchmark that needs to be ported and nothing more.
Source Code
All the code that was written during the official GSoC period for the development of this project.
Under Review
- Add the benchmark 'Blogbench' for the Virtual Machines (https://review.openstack.org/#/c/97030/)
- Add the VM scenario 'boot_benchmark_delete' (https://review.openstack.org/#/c/98172/)
- Add the context 'benchmark_image' (https://review.openstack.org/#/c/104564/)
Merged
- Modify install_rally.sh to install under BSDs (https://review.openstack.org/#/c/95341/)
- Add error handling to install_rally.sh (https://review.openstack.org/#/c/98399/)
- Change the default value of scenario_output (https://review.openstack.org/#/c/104180/)
- Change the default value of use_public_urls (https://review.openstack.org/#/c/104924/)
- Modify config semantic validation of benchmark engine (https://review.openstack.org/#/c/112981/)
- Add required_contexts validator (https://review.openstack.org/#/c/111603/)
- Decrease jobs time in gates (https://review.openstack.org/#/c/114839/)
- Fix semantic validation of context images (https://review.openstack.org/#/c/113904/)
Links
- Blogbench, http://www.pureftpd.org/project/blogbench