• No results found

Measuring CPU performances in function of the number of virtual machine running on the node

4.3 OpenNebula platform (private cloud)

4.3.1 Measuring CPU performances in function of the number of virtual machine running on the node

To be able to measure the CPU performances the CPU utilisation will be increase with CPUkiller3 on Windows server. The number of machine will be progressively increase and the CPU of each machine will be increased as well to compared the performances of one machine running next to other machine running with 100% of CPU utilisation. The figure 16 explains how the experiment will be performed. The tests will be only made within HVM it is easier to implement this experiment. Also the degradation of performance should be relatively equivalent within the paravirtualization.

42

4.3.2 Measuring network performances in function of the number of virtual machine running on the node

For measuring network performances it will be used a tool to flood the network. This will permitted to overload the network. The number of machines will be progressively increased to outline the performances of the node when multiple machines are using intensively the network card (Figure 17). To flood the network it will be used hping3 on Linux. Also to measure the network performances it will be used netperf and iperf. The following diagram will explain the design that it will be used for performing those tests.

Bob

FrontEnd + Iperf server

Node

Virtual Machines Machine 1 Iperf Client Machine 2 Iperf Server Test 1:

The machine 1 test the network connection inside the cloud and outside the cloud.

Etc Machine 1 Iperf Client Machine 2 Iperf Server Test 2:

The machine 1 test the network connection inside the cloud and outside the cloud.

The machine 3 is flooding Bob at the same time.

Machine 3 Flood Bob using Hping3

Machine 1 Iperf Client

Machine 2 Iperf Server

Test 3:

The machine 1 test the network connection inside the cloud and outside the cloud. The machine 3 and 4 are flooding Bob at the same time. Machine 3

Flood Bob using Hping3

Machine 4 Flood Bob using Hping3

Figure 17 - Network performances in function of the number of virtual machine running on the node

43

4.4 Benchmarking tools

GeekBench is a benchmarking tool that can be used to benchmark CPU and memory. It is multiplatform and can be used on Windows, Linux, Mac OS X, Solaris and Haiku. It is also possible to install it on an iPhone and iPad. GeekBench possesses a large database of reference machine which has been divided in two categories: PC and Mac. It is precised that of the tests made for obtain reference result have been performed on computers which had at least 512 MB of RAM memory and the processors weren’t overclocked. There are 2 versions of the software one is for the 32 bits machines and can be used for free the second version is for the 64 bits machine and needs to be purchase to be able to use it. The results of GeekBench can be saved in a text file or it can also be sent to the GeekBench website and accessed through a web page. Iperf is a networking tool that will be used to measure network performances. It is multiplatform thus it can be used on Linux and Windows. Also it is a tool that can be used to measure the maximum TCP and UDP performances. It is rely flexible because multiple parameters can be tuned. Different parameters such as bandwidth, delay jitter, datagram loss can be reported. Hdparm is a Linux tool used to measure disk performances. It can give information for perform device read timings and perform cache read timings. PassMark Performance Test 7.0 will be used to measure disk performances on Windows machines.

4.5

Conclusion

The test has been divided in two parts. At first it is tested the performances of the Amazon cloud (Public cloud). The utilisation of those kinds of cloud is generally used for deal with data that are not sensible. More sensible data are generally treated within a private cloud because those one are located behind the firewall of the company. In the second part a private cloud will be implemented to be able to perform some tests on it. The design has for aim to outline the performances of the cloud through many different experiments. It will be tested different parameters such as the CPU, the memory, the network and the hard drive. The experiment will require the utilisation of different tools such as networking tools to measure the network speed, CPU benchmarking tools and so on. In the next part it will be implemented the different experiment presented previously.

45

5 Implementation

5.1

Introduction

In this part the design previously presented is going to be implemented. The implementation will be divided in two major parts the first part represent the implementation of the test perform on the Amazon cloud. In this part it will be outiline the way of how Amazon is working. Also different type of instances will be launched and tested. In a second part it will be implemented a private cloud and test will be made on it. For this part the implementation of the private cloud was requiring a long part of configuration to be able to instantiate machines on the private cloud.

Related documents