International Journal of Scientific & Engineering Research Volume 6, Issue 1, January-2015

ISSN 2229-5518

1326

Relative Performance Analysis of Major Virtual

Machine Monitor in Cloud Computing

Samjhana Rayamajhi, Asif Khan, and Zinnia Sultana

AbstractCloud Computing uses various virtualization technologies. A virtual machine monitor (VMM) is a piece of that computer software, firmware or hardware that creates and runs virtual machines which makes multi-tenancy possible which is also known as hypervisor. A virtualized system allows multi-tenancy. Multi-tenancy allows multiple tenants to coexist in the same physical machine sharing its resources and at the same time, creates an isolated environment for each of them. Cloud service providers (CSP) uses this technology to maximize their infrastructures using this architecture by allocating resources from physical machines that are not being fully used. Multi tenancy can be obtained by virtualization. The main objective of this study is to deliver concept of virtualization, VMM along with the performance comparison of some common virtualization technologies using many benchmarks which is chosen as it gives a good idea how the hypervisors performance is. First method of comparison chosen is features comparison, further those virtualization techniques are technically compared along with data compression and decompression speed, File I/O benchmark, CPU benchmark sequential read-write performance, memory and cache performance and Network speed performance of the VMs running at the top of the virtualized layer is studied, ultimately concludes giving an overall guideline to choose a wise hypervisor depending upon the purpose.

Index TermsCloud computing, hypervisors, hypervisors performance, Virtual Machine Monitor, virtualization technology, benchmarks.

1 INTRODUCTION

—————————— ——————————

Alike traditional computing cloud computing arrived with the solution to reduce costs in organizations and at the same time to provide on-demand resources and computation without requir- ing to create an IT infrastructure.
To create such environment, cloud service providers (CSP) make use of virtualization technologies so that they can maxim- ize the value of their systems [7]. To avoid other services to inter- fere with them servers have always needed to run alone in phys- ical machines; but disadvantage of this was the waste of re- sources which can be overcome by Virtualization by sharing them between the guest operating systems (OS). [1]
This research deals with the four most common virtualization technologies out of number of virtualization technologies availa- ble. They are VM-ware, Virtual Box, KVM and Xen. VM-ware VBox is type 2 or hosted hypervisors where they are more like an application running on a host Operating system. KVM and Xen are native or bare metal hypervisors which runs directly on a hardware, in a sense they are both hypervisor and an OS.

2 RELATED WORKS

In recent years virtualization has grown its popu-larity in many different areas such as server consolidation, information secu- rity and cloud computing due to an increase in hardware per- formance of about ten fold in the past decade and the goal to

————————————————

Samjhana Rayamajhi has graduated in bachelor degree program in Computer Science and Engineering from International Islamic University Chittagong, Bangladesh, PH-+977-9867715407. E-mail: samjhanarayamajhi7@gmail.com

Asif Khan has graduated in bachelor degree program in Electrical and Elec- tronic Engineering from International Islamic University Chittagong, Bang- ladesh, PH-00977-9847031954. E-mail: asifali103084@gmail.com

Zinnia Sultana is currently Assistant Professor in Computer Science and En- gineering in International Islamic University Chittagong, Bangladesh. E-

mail: zinniaiiuc@yahoo.com

reduce capital and operational costs within the data center. [3]
In recent history there have been many work of comparisons related to virtualization technologies and Cloud computing it- self. The first performance analysis of various hypervisors started with the hypervisor vendors themselves. VMWare, as well as the original Xen which compares Xen, and VMWare across a number of a number of more seamless reports origi- nated, prioritizing server consolidation and web application perfor-mance with fruitful yet sometimes incompatible results. A feature base survey on virtualization technologies [4] also il- lustrates the wide variety of hypervisors that cur-rently exist. Furthermore, there has been some investigation into the perfor- mance within HPC, specifically with InfiniBand performance of Xen and rather recently with a detailed look at the feasibility of the Amazon Elastic Compute cloud for HPC applications, how- ever both works concentrate only on a single deployment ra- ther than a true comparison of technologies.
As these underlying hypervisor and virtualiza-tion imple- mentations have evolved rapidly in recent years along with vir- tualization support directly on standard x86 hardware, it is nec- essary to carefully and accurately evaluate the performance im- plications of each system. Hence, we conducted an investiga- tion of several virtualization technologies, namely Xen, KVM, Virtual Box, and in part VMWare.

3 VIRTUAL MACHINE MONITOR (VMM) ARCHITECTURE

AND CLASSIFICATION

In their 1974 article "Formal Requirements for Virtualiza-ble Third Generation Architectures" Gerald J. Popek and Robert P. Goldberg classified two types of hypervisor.
Type 1 (or native, bare metal) hypervisors run directly on the host's hardware to control the hardware and to manage guest

IJSER © 2015

http://www.ijser.org

International Journal of Scientific & Engineering Research Volume 6, Issue 1, January-2015

ISSN 2229-5518

1327

operating systems. A guest operating system thus runs on an- other level above the hypervisor.
This model represents the classic implementation of vir- tual-machine architectures; IBM developed the original hyper- visors as bare metal tools in the 1960s: the test tool SIMMON, and CP/CMS. CP/CMS was the ancestor of IBM's z/VM. Modern equivalents include Oracle VM Serv-er for SPARC, Oracle VM Server for x86, the Citrix Xen-Server, VMware ESX/ESXi and Microsoft Hyper-V 2008/2012.
Type 2 (or hosted) hypervisors run within a conventional operating system environment. With the hypervisor layer as a distinct second software level, guest operating systems run at the third level above the hardware. VMware Workstation and VirtualBox exemplify Type 2 hypervisors

Fig.1: hypervisor classification [2].

4 EXPERIMENTAL ARRANGEMENT

We have choosed the simplest way to perform this certain tests. This work of comparison of VMM is done by virtual-izing my system with the main specification like Proces-sor: Intel Core i5
430M (2.26GHz, 1066MHz, 3MB) OS: Windows 8 Professional (32-bit) Memory: 4GB Dual Channel DDR3 at 1066MHz Stor- age: 320GB 7200rpm HDD. We have also virtualized external
1Tb hard disk to run the test concurrently and more smoothly. At the top of the every virtualization technology three instances of the operating system is created where one of them is Linux Ubuntu and other two are windows 7 operating system.

5 EVALUATION AND COMPARISON

5.1 Feature Comparison

is provided. The first way chose of comparison is the virtualiza- tion method. Every VMMs are designed concentrating on some specific task to perform.

TABLE 1

THE FEATURE COMPARISON TABLE OF VMMS

5.2 Technical Comparison: VMware and VBox

In technical comparisons between the virtualization techniques certain few points are considered though there can be many other functionality to be considered.
In host operating system support, we found virtual box is better and configuring, updating and editing is easier in virtual box then that of VM-ware. VM ware is better in USB support. Virtual box supports relatively larger range of virtual hard disks. Teleportation or migration of VM in virtual box is better along with the command line options where copying and editing is very easy. In case of graphics and Ovf support it is found that VM-ware is better.
Vehicle The number of VMM is growing with the growing tech- nology. With the wide and large number of potential choices of virtualization technologies available, it is often difficult for us- ers to identify which platform is best suited for their needs. Ba- sically none of the virtualization technique is bad but the degree of its superlative depends up-on the need. In order to simplify this task of choosing, a detailed comparison chart between VMWare ESX, Virtu-alBox 3.2, Xen 3.1 and KVM from RHEL5

IJSER © 2015

http://www.ijser.org

International Journal of Scientific & Engineering Research Volume 6, Issue 1, January-2015

ISSN 2229-5518

1328

TABLE 2

THE TECHNICAL COMPARISON TABLE (VMWARE & VBOX)

5.4 Data Compression and Decompression speed (s)

In order to measure data compression and decompression speed of a linux system gzip compressor is choosen and the time taken is measured by time cmd in seconds.

100


80

Vm ware

60

V box

40 KVM XEN

20

5.3 Technical Comparison: KVM & Xen

Similarly the comparison between KVM and XEN says that in host operating system KVM isn’t an option on older CPUs made before the virtualization extensions were developed, and it rules out newer CPUs like Intel atom CPUs that don’t include virtualization technique.
XEN is very widely used in the market then KVM. In case of Operating System overhead XEN is less burdened with any op- erating system overhead that is unrelated to processing a series of guests on a given machine. XEN ensures the high security via variety of features like guest isolation, privileged access, small code base and operating system separation. XEN hypervisor has been introduced long time back. It is available since 2004 and is the first open source hypervisor to successfully be de- ployed by Linux vendors. Xen uses its own kernel for thread scheduling and dispatching VMs while KVM accepted into mainline Linux kernel sources. KVM is generally considered

0

COMP DECOMP

Fig.2: Data compression and decompression speed (s).

We can see that the time taken to compress by VM ware and Xen is quiet more then those of Virtual Box and KVM. Sim- ilarly for the decompression time taken by the VBox is highest wherease others seem to be close to each other. KVM and Vbox seems to be the winner in nthis test with average time.

5.5 Benchmark performance comparisons

5.5.1 CPU Speed

100

80

60 vmware

easier to configure and operate.
In memory page sharing XEN does not implement memory
page sharing and KVM does it very efficiently. KVM has many
performance benefits like less I/O Latency due to lack of Dom
0.

TABLE 3

THE TECHNICAL COMPARISON TABLE (KVM & XEN)

40

20

0

Fig.3: CPU Overhead Performance Test.

vbox

kvm xen


In Sysbench simple CPU load performance the comparison shows that Xen, KVM and Virtual Box have great percentage of CPU utilization where VM-ware seems to be the poor one.

IJSER © 2015

http://www.ijser.org

International Journal of Scientific & Engineering Research Volume 6, Issue 1, January-2015

ISSN 2229-5518

1329

5.5.2 Cache and Memory performance

8.6

8.4

8.2

8

7.8

7.6

7.4

7.2

7

VM ware V box KVM

XEN

algorithm while the other use a write through policy, though greater risk of data loss in spite of speed. In this test VM- ware, KVM and Xen are quite close to each other and the clear loosers.

5.5.5 Network Speed performance

In order to determine the network speed ping flood CPU test was performed where the results of all the VMM are similar ex- cept Xen.

60

50

Fig.4: Cache and Memory Performance Test.

Cache and memory speed performance shows that Xen is the fastest one and KVM is also remarkably close. Vm ware is slight faster and least the vbox. It seems that Xen do a good use of nested page table feature.

5.5.3 Sequential read performance

40

30

20

10

0

IRQ PRIV

Fig. 7: Network speed performance

Vm ware V box KVM

XEN

3

2.5

2

1.5

1

0.5

0


Fig.5: Sequential Data Read Performance.

VM-ware Vbox KVM

XEN

In this test we can see that the percentage of IRQ servicing time of KVM is dominating others which implies that the Net- work related syscalls are executed fastest on KVM and slowest on VM-ware. Privilege time of Xen is very high but not the IRQ time which also says that the network syscalls are executed slowly here. Virtual Box seems to be the average one with simi- lar percentage of IRQ and PRIV time.

6 RESULT AND DISCUSSIONS

In sequential read test VM-ware amazed me with great per- formance where KVM is much slower it is because of the very poor caching and great I/O overhead.Virtual Box Nd Xen seems to be the average one.

5.5.4 Sequential write performance

350

300

From a feature comparison point of view, most of today’s vir- tualization technologies fit the small scale deployment, in- cluding VMWare. All the tests done shows the overall wise hypervisor depending upon what actually the client desires.

In short, each support Linux x86 64 platforms, use VT-X technology for full virtualization, and support live migration. From a CPU and memory point of view, Xen seems to pro- vide the best expandability, supporting up to 128 cpus and

4TB of addressable RAM. So as KVM’s vCPU limit. One of

Virtualbox’s greatest limitations was the 16GB maximum

250

200

150

100

50

0

Fig. 6: Sequential data write performance.

Vm ware

V box KVM XEN

memory allotment for individual guest VMs, which actually limited us from giving VMs more memory for our perfor- mance benchmarks. If this can be fixed and Oracle does not move the product into the proprietary market, VirtualBox may also stand a chance for deployment in HPC environ- ments. The data compression and decompression test also is very useful to determine which virtualization technique to be choosen. In this research work we have also tried to give the

Virtual Box surprisingly come up with best score in Sequen- tial write test for me it seems like it use a write back cache

reasons behind such performance of the virtualization tech- nologies.

IJSER © 2015

http://www.ijser.org

International Journal of Scientific & Engineering Research Volume 6, Issue 1, January-2015

ISSN 2229-5518

1330

From the benchmark results point of view in CPU over- head performance and cache and memory performance tests Xen seems to be the winnerWhereas in sequential read and write test Xen and Kvm looks poor. According to sequential read performance surprisingly vm-ware is best and in write test virtual box is the clear winner.in network speed perfor- mance test KVM and VBox seems to be the wise one in the coparison with better score in compression and decompres- sion timing.

7 CONCLUSION

In conclusion, it is the authors’ projection that none of the virtualization technologies can be marked as best or worst be- cause every technologies are efficient enough in their own way of computing. KVM’s feature-rich experience and near-native performance makes it a natural fit for deployment in an envi- ronment where usability and performance are supreme. In some tests, VM ware and Vbox has also shown its remarkable performance so it is very hard to conclude with one best name. On the other side XEN is also very remarkable in security and memory sub system.
Primary goal of this manuscript is to understand the virtual-
ization and multi-tenancy together with VMM in the cloud
computing,After our analysis, the answer seems to be a re-
sounding ”yes.” However, we also hope to select the best virtu-
alization technology. After these certain tests we concluded that
to benchmark best to any virtualization technology is not pos- sible it depends upon the purpose of the use.

REFERENCES

[1] M. Armbrust, A. Fox, R. Griffith, A. Joseph, R. Katz, A. Konwinski, G. Lee, D. Patterson, A. Rabkin, I. Stoica et al., “A view of cloud computing,” Communications of the ACM, vol. 53, no. 4, pp. 50–58,

2010.

[2] Popek, Gerald J.; Goldberg, Robert P. (1974). "Formal Requirements for Virtualizable Third Generation Architectures". Communications of the ACM 17 (7): 412–421.doi:10.1145/361011.361073.

[3] E. Ciurana, Developing with Google App Engine. Springer, 2009. S.

Nanda and T. Chiueh, “A survey of virtualization technologies,” Tech.

Rep., 2005.

[4] Rackspace, “Openstack,” WebPage, Jan 2011. [Online]. Available:

http://www.openstack.org/

[5] K. Jackson, L. Ramakrishnan, K. Muriki, S. Canon, S. Cholia, J. Shalf, H. Wasserman, and N. Wright, “Performance Analysis of High Perfor- mance Computing Applications on the Amazon Web Services Cloud,” in 2nd IEEE International Conference on Cloud Computing Technology and Science. IEEE, 2010, pp. 159–168.

[6] SPEC, “Standard performance evaluation corporation,” Webpage, Jan

2011. [Online]. Available: http://www.spec.org/

[7] VMware Inc. Transform your business with virtualization. http://www.vmware.com/virtualization/history.html, 2011.

[8] Why xen? http://www.xen.org/files/Marketing/WhyXen.pdf, 2005-

2011

[9] Linux tutorials http://www.howtoforge.com/

[10] VMware Inc. Timekeeping best practices for linux guests. http://kb.vmware.com/selfservice/microsites/search.do?language=en_ US&cmd=displayKC&externalId=1006427, 2011.

[11] A. Kowalski, “Bonnie—File System Benchmarks,” technical report, Jefferson Lab, http://cc.jlab.org/docs/scicomp/ benchmark/bonnie.html, Oct. 2002

[12] A Modest Constructs,” Linux Command-Line Compressors Compared” http://heliologue.com/2011/05/03/linux-command-line- compressors-compared/

IJSER © 2015

http://www.ijser.org