Performance Comparison Analysis of Linux Container and Virtual Machine for Building Cloud



Similar documents
Cisco Application-Centric Infrastructure (ACI) and Linux Containers

Development of IaaS-based Cloud Co-location and Management System using Open Source Cloud Stack

Computer Science. About PaaS Security. Donghoon Kim Henry E. Schaffer Mladen A. Vouk

Comparison of Open Source Cloud System for Small and Medium Sized Enterprises

PERFORMANCE ANALYSIS OF KERNEL-BASED VIRTUAL MACHINE

Deploying Business Virtual Appliances on Open Source Cloud Computing

CPET 581 Cloud Computing: Technologies and Enterprise IT Strategies. Virtualization of Clusters and Data Centers

Big Data Collection Study for Providing Efficient Information

Iaas for Private and Public Cloud using Openstack

Data Centers and Cloud Computing

Cloud Computing #6 - Virtualization

Data Centers and Cloud Computing. Data Centers

Enabling Technologies for Distributed Computing

Marvell DragonFly Virtual Storage Accelerator Performance Benchmarks

Mobile Hybrid Cloud Computing Issues and Solutions

Intro to Virtualization

Data Centers and Cloud Computing. Data Centers. MGHPCC Data Center. Inside a Data Center

Research and Performance Analysis of HTML5 WebSocket for a Real-time Multimedia Data Communication Environment

COS 318: Operating Systems. Virtual Machine Monitors

CSE 501 Monday, September 09, 2013 Kevin Cleary

A Dynamic Resource Management with Energy Saving Mechanism for Supporting Cloud Computing

Enabling Technologies for Distributed and Cloud Computing

IADS (Intelligent Application Development Studio): Development of open source software based services

New Data Center architecture

The Software Container pattern

GUEST OPERATING SYSTEM BASED PERFORMANCE COMPARISON OF VMWARE AND XEN HYPERVISOR

RED HAT CLOUD SUITE FOR APPLICATIONS

Customized Efficient Collection of Big Data for Advertising Services

Cloud Simulator for Scalability Testing

Virtual Switching Without a Hypervisor for a More Secure Cloud

RED HAT ENTERPRISE VIRTUALIZATION FOR SERVERS: COMPETITIVE FEATURES

A Study on Integrated Operation of Monitoring Systems using a Water Management Scenario

The Design and Implementation of the Integrated Model of the Advertisement and Remote Control System for an Elevator

Cloud Computing Architecture: A Survey

Distributed and Cloud Computing

International Journal of Computer & Organization Trends Volume20 Number1 May 2015

Performance Comparison of VMware and Xen Hypervisor on Guest OS

Red Hat Enterprise Linux 6. Stanislav Polášek ELOS Technologies

9/26/2011. What is Virtualization? What are the different types of virtualization.

Sistemi Operativi e Reti. Cloud Computing

A Middleware Strategy to Survive Compute Peak Loads in Cloud

IOS110. Virtualization 5/27/2014 1

CHOOSING THE RIGHT RED HAT ENTERPRISE LINUX SUBSCRIPTION. Gerry Riveros Senior Manager Server Solutions, Red Hat May 6, 2011

Security Model for VM in Cloud

Introduction to OpenStack

Build & Manage Clouds with Red Hat Cloud Infrastructure Products. TONI WILLBERG Solution Architect Red Hat toni@redhat.com

Building a Cloud Computing Platform based on Open Source Software Donghoon Kim ( donghoon.kim@kt.com ) Yoonbum Huh ( huhbum@kt.

RED HAT CONTAINER STRATEGY

Use Cases for Docker in Enterprise Linux Environment CloudOpen North America, 2014 Linda Wang Sr. Software Engineering Manager Red Hat, Inc.

FOR SERVERS 2.2: FEATURE matrix

Virtualization. Pradipta De

Virtualization & Cloud Computing (2W-VnCC)

RED HAT ENTERPRISE VIRTUALIZATION & CLOUD COMPUTING

A Study on Detection of Hacking and Malware Codes in Bare Metal Hypervisor for Virtualized Internal Environment of Cloud Service

International Journal of Advancements in Research & Technology, Volume 1, Issue6, November ISSN

Dynamic Load Balancing of Virtual Machines using QEMU-KVM

CS 695 Topics in Virtualization and Cloud Computing. Introduction

Building Docker Cloud Services with Virtuozzo

Introduction to Virtualization & KVM

A Study on Design of Virtual Desktop Infrastructure (VDI) System Model for Cloud Computing BIM Service

The Review of Virtualization in an Isolated Computer Environment

RED HAT ENTERPRISE VIRTUALIZATION SCALING UP LOW LATENCY, VIRTUALIZATION, AND LINUX FOR WALL STREET OPERATIONS

Virtual Machine Monitors. Dr. Marc E. Fiuczynski Research Scholar Princeton University

Next Generation Now: Red Hat Enterprise Linux 6 Virtualization A Unique Cloud Approach. Jeff Ruby Channel Manager jruby@redhat.com

Virtual Machine Instance Scheduling in IaaS Clouds

Computing Service Provision in P2P Clouds

Integration of Hadoop Cluster Prototype and Analysis Software for SMB

Enhancing Hypervisor and Cloud Solutions Using Embedded Linux Iisko Lappalainen MontaVista

Cloud Computing with Red Hat Solutions. Sivaram Shunmugam Red Hat Asia Pacific Pte Ltd.

Hadoop on OpenStack Cloud. Dmitry Mescheryakov Software

STRATEGIC WHITE PAPER. The next step in server virtualization: How containers are changing the cloud and application landscape

RED HAT ENTERPRISE VIRTUALIZATION FOR SERVERS: COMPETITIVE PRICING GUIDE

Virtualization for Cloud Computing

SURVEY ON VIRTUALIZATION VULNERABILITIES

Two-Level Metadata Management for Data Deduplication System

Dheeraj K. Rathore 1, Dr. Vibhakar Pathak 2

How To Choose Cloud Computing

A Study on UNIX Server Consolidation by Virtualization

Comparing Free Virtualization Products

Exchange of Data for Big Data in Hybrid Cloud Environment

Efficient Cloud Management for Parallel Data Processing In Private Cloud

Cloud Computing and the Internet. Conferenza GARR 2010

CS 695 Topics in Virtualization and Cloud Computing and Storage Systems. Introduction

A Design of Mobile Convergence Architecture for U-healthcare

Multi-level Metadata Management Scheme for Cloud Storage System

Creating a Linux Virtual Machine using Virtual Box

Large Construction of a Cloud IaaS with Dynamic Resource Allocation Method Using OpenStack

The Development of an Intellectual Tracking App System based on IoT and RTLS

Hypervisor Software and Virtual Machines. Professor Howard Burpee SMCC Computer Technology Dept.

2) Xen Hypervisor 3) UEC

Transcription:

, pp.105-111 http://dx.doi.org/10.14257/astl.2014.66.25 Performance Comparison Analysis of Linux Container and Virtual Machine for Building Cloud Kyoung-Taek Seo 1, Hyun-Seo Hwang 1, Il-Young Moon 1, Oh-Young Kwon 1, Byeong-Jun Kim 2 1 1600, Chungjeol-ro, Byeongcheon-myeon, Dongnam-gu, Cheonan-si, Chungcheongnam-do, 330-861 Rep. of KOREA 2 ANCLE Inc., Cheon-an 1228-3, Korea 1 {kut1426, smilebear1, oykwon, iymoon}@koreatech.ac.kr 2 {lycos}@ancle.kr Abstract. In these days, Cloud computing is provided by various service ways, and it is possible that practical implement and service by virtualized environment. With developing of cloud computing techniques, many companies propose the different type of platforms through research the relevant technique. Among other platforms, we are going to talk about the performance comparison analysis of Linux Container and Virtual Machine in this paper. We built Cloud environment first on Docker which is based on Linux Container and Hypervisor which is Virtual Machine, we analyzed each of the size, Boot speed, and CPU performance. With this analysis result, Users will be able to understand characteristic of each platforms, and they will be able to choose the platforms reasonably what they need. Keywords: Cloud Computing, Virtual Machine, Linux Container, Hypervisor 1 Introduction In these days, the attention of Cloud computing is getting higher and many relevant products launched [1]. Cloud computing environment is the new paradigm that could optimize, support flexible and allow scalability the computing resources requested by the user [2]. Cloud computing provides the 'Virtualized IT resources service' using Internet technique, Users can borrow and use the IT resources(software, Storage server, Server, Network) as much as they need. They can get real-time expandability by load balancing service, and they just pay as much as they use. ISSN: 2287-1233 ASTL Copyright 2014 SERSC

Fig. 1. Cloud computing The front-runners of IT industry area such as MS, Google, IBM, declared that Cloud computing would be the most important technique in their near future. The necessary base technique for Cloud computing is Virtualization Server technique which is called Hypervisor. Above this, various techniques based on IT have been used for Clud computing [3]. In this paper, we analyze performance comparison of Virtual Machine Hypervisor and Linux Container. Hypervisor means technique that several virtual machines which have independent CPU, Memory and Network, OS share the mechanic server resource. Docker is the Applicaition level virtualization software. It can help managing computer environment seperated from OS using the Libcontainer which is Linux container system. Actually, Docker's basic concept is not that much different from existing virtualization. Only have difference method of approach. Existing virtualization loads hardwear and OS in one time. Therefore in this treatise, we want have practical and reasonable standard of technique selection for proper service after testing and analyzing the Cloud environment on the VM and Docker system. 2 Related research Cloud computing is the technique that after virtualization, provide the resources from various and separated computers with On-demand method. It maximizes the efficiency of resources and minimizes administrative costs. So lately it is rising up as a new Internet environment trend. 106 Copyright 2014 SERSC

2.1 Openstack Openstack is opensource software for building public and private cloud. It is Cloud operation system for control and accumulated resources such as server, storage, network, virtualization techniques. Openstack is composed of Open source developer, companies, users for building Cloud. It was started by Austin (made by Rackspace and NASA).And now, It is huge community of more than 139 countries, 3000 people, 200 partners. 2.2 Virtual Machine Virtualization has used even before Cloud computing was activated, and later it has been settled as a important technique for resource- provisioning, multi-tenancy, and system constitution in IaaS. Cloud computing's core technique is solving the problem using the virtualized resources. Hypervisor is the virtual platform software that implement multiple OS in mechanical server. It is operated as a kind of middle-ware between CPU and OS, and is divided into two - Full Virtualization and Para Virtualization by the virtualization way[4]. 2.3 Docker Docker which is operated in application area is the virtualization platform that can build and distribute Application. Developers and system manager can distribute and test software what they developed easily and quickly in seperated OS environment by Docker[5]. Docker is the tool that manages Linux Container(LXC). Linux Conatainer is one of the OS system-level virtualization method. It implements several isolated Linux system Containers in single control host. Linux kernel compromises cgroups and allocates resources(cpu, Memory, Block I/O, Network, etc) without starting virtualization machine. Fig. 1. comparison Vms and Docker Copyright 2014 SERSC 107

2.4 comparisons Docker and VM KVM is Full Virtualization method and it means virtualizating way from hardwear to OS. And this kind of virtualiztion is the combination of hardware + software which is used very basically, so it is easy to understand. And this method is easy to understand because of isolated OS. Also easy to apply their policy of system, network, user, security and can use various OS[6]. However it has few weaknesses as well. In case of VM's distribution, it distributes images included even OS, that cause a waste of resource. In comparison with KVM, Docker Cloud is just implemented and distributed, without including Guest OS, it can be implemented in short time and use resource economically though, Only can virtualize and distribute with Linux Operating System[7]. 3 System construction environment Constructs Cloud environment under same 2 servers. One for KVM as a virtualization tool in Openstack Platform and the other one for Docker. The reason why choose KVM for Hypervisor is that KVM is the Full virtualization method and mostly contrast with Docker. And also it is provided to user as a basic service at Ubuntu Server. 4. System Performance Comparison Analysis 4.1 Size-Comparison For size-comparison, we evaluated how many photos each system could make in same condition HDD. Table 1. KVM size Scale 10GB 20GB 40GB Number of VMs 45 22 11 Table 2. Docker size Number of Containers 100+ As you can check from Table 3 and Table 4, VM generated by KVM uses Full- Virtualizaion, and specifies the size from when it's generated. When we use Ubuntu- Desktop, we need resources more than 8GB, so it is difficult to generate VM more than 50 on 500GB Hard-disk. On the contrary, Container generated by Docker doesn't 108 Copyright 2014 SERSC

contain OS but only installed software resources, so its size is smaller than VM's. In the case of Ubuntu 14.04 docker image which only have basic software, it only uses half of the same 500GB HDD and 177MB of resources to generate more than 100 images. 4.2 Average boot-time To measure the average boot-time, we generated 20 images on each server and checked the boot time. Each server has same condition of H/W and S/W. We monitored the use of CPU of Host OS while Images was being boot by NMON tool. Fig. 2. Docker vs KVM average boot-time In Fig. 3, in case of Docker, average boot-time is 1.53s and standard deviation is ± 0.03, in case of VM, average boot-time is 11.48s and standard deviation is ±3.4s. These mean that Docker's boot-time is faster than VM. In case of VM, it need time for Guest OS's boot-time. But in case of Docker, it use Host OS, so its boot-time is very short. And also after boot, till get stable ready state for being operated, VM spend much CPU-resources. But Container doesn't need to spend that much of resource. 4.3 Operation speed Measurement For Operation speed measurement, we use code of python language to calculate 100000! and we get average operation process time and standard deviation after repeat 100 times on VM and Docker image. Copyright 2014 SERSC 109

Fig. 3. CPU Calculation Performance In Fig. 4. with Docker environment, operation speed of 100000! is 4.546s and standard deviation is ± 0.02s. And in case of VM environment, operation speed is 4.793s and standard deviation is ±0.05. With this result, we could evaluate operation speed of Docker is faster. 5 Conclusion Cloud computing technique is being steadily extended and evolved. For this reason, we built and analyzed the Cloud through research for comparison between VM and Docker. Cloud comprised of Docker doesn't contain Guest OS, so the waste of CPUresource and storage is small. For this reason, boot-time, time of generating and distributing images are short. This is benefit of using Docker cloud when compared with VM Cloud. Of course, it has weakness as well. VM is operated individually enough to be expressed like it provides new computer to user. Because of this, it is easy to manage and apply the policy of system, network, user, security. Also user can user various virtualization OS regardless of Host OS. With our treatise, we would examine the strengths and weaknesses of each server and evaluate from service design level for providing service with proper virtualization way depending on service environment by building of Cloud, rather than evaluate only superiority of each methods. In the near future, we expect that new project related to Docker would come out soon from Openstack, so need to research consistently about VM and Docker. 110 Copyright 2014 SERSC

Acknowledgement. This treatise is conducted with funding (H0502-14-2007) from ICT/SW creative research process business of NIPA (National IT Industry Promotion Agency) of MSIP (Ministry of Science, ICT and Future Planning) References 1. Lee, B.Y., Park, J.H., Yoo, J.S.:Software Architecture of the Grid for implementing the Cloud Computing of the High Availability. The Korea Contents Association, vol. 12, no.2,pp.19 29(2012) 2. Jung, I.H., Lee, S.H., Eom, Y.I.:Comparative Analysis of Open Source Cloud Computing Platforms. Korea Computer Congress 2012, vol. 39, no.1(a), pp. 383 384(2012) 3. Yoon, J.W., Park, C.Y., Song, U.S.:Building the Educational Practice System based on Open Source Cloud Computing. Journal of Digital Contents Society, vol. 14, no.4, pp. 505 511(2013) 4. Wes Felter., Alexandre Ferreira., Ram Rajamony., Juan Rubio.:An Updated Performance Comparison of Virtual Machines and Linux Containers. Technology, 28, 32(2014) 5. Kim, B.S., Lee, B.C.:The Construction and Use of Cloud Service Platform by Using an OpenStack. The Korean Institute of Communications and Information Sciences, pp. 669 670(2014) 6. Choi, D.H., You, H.N., Park, T.S., Do, K.H., Jun, M.S.:A Design of Security Structure in Bare Metal Hypervisor for Virtualized Internal Environment of Cloud Service. The Journal of Korea Information and Communications Society, vol. 38, no.7, pp.526 534(2013) 7. Jung, S.J., Bae, Y.M.:Comparison of Open Source Server Virtualization based on Linux. Journal of Advanced Information Technology and Convergence, vol.9, no.4, pp. 113-119(2011) Copyright 2014 SERSC 111