OpenStack hypervisor, container and Baremetal servers performance comparison

Similar documents
Build Cloud like Rackspace with OpenStack Ansible

Nested Virtualization and Server Consolidation

Server Selection, Configuration and Reconfiguration Technology for IaaS Cloud with Multiple Server Types

Analysis of transmission line loaded with BCI probe using circuit concept approach

A comparison of performance between KVM and Docker instances in OpenStack

Spring 2017 :: CSE 506. Introduction to. Virtual Machines. Nima Honarmand

EE 660: Computer Architecture Cloud Architecture: Virtualization

HPE HELION CLOUDSYSTEM 9.0. Copyright 2015 Hewlett Packard Enterprise Development LP

An Experimental Study of Load Balancing of OpenNebula Open-Source Cloud Computing Platform

Originally prepared by Lehigh graduate Greg Bosch; last modified April 2016 by B. Davison

Topics II SaaS 2.0 OaSe*: OpenCms as a Service Cloud Sites SaaS 3.0 Google Apps (Gmail, Google Docs) Cloud Assessment Services Cloudify: Cloud Applica

Baremetal with Apache CloudStack

Design and Implementation of Log Collection and System Statistics Model for Android Containers in OpenStack

Development of resource management server for production IaaS services based on OpenStack

IBM Research Report. Docker and Container Security White Paper

Ubuntuを利用した世界最高のOSSプラットフォーム. Takaaki Suzuki Canonical - Solutions Architect

Power Efficiency of Hypervisor and Container-based Virtualization

Xen and CloudStack. Ewan Mellor. Director, Engineering, Open-source Cloud Platforms Citrix Systems

Automatic Verification Technology of Virtual Machine Software Patch on IaaS Cloud

Introduction to OpenStack

Case Study on Enterprise Private Cloud

CS 470 Spring Virtualization and Cloud Computing. Mike Lam, Professor. Content taken from the following:

How CloudEndure Works

Travis Cardwell Technical Meeting

What s New in Newton. Emily Hugenbruch, Advisory Software

SUSE An introduction...

GPU. Study of Automatic GPU Offloading Technology for Open IoT

1. What is Cloud Computing (CC)? What are the Pros and Cons of CC? Technologies of CC 27

What is Cloud Computing? Cloud computing is the dynamic delivery of IT resources and capabilities as a Service over the Internet.

IBM Leading High Performance Computing and Deep Learning Technologies

Rapid Bare-Metal Provisioning and Image Management Service. Presenters: Apoorve Mohan Ravi Santosh Gudimetla (Northeastern University)

Acceleration of Virtual Machine Live Migration on QEMU/KVM by Reusing VM Memory

Virtualized Infrastructure Managers for edge computing: OpenVIM and OpenStack comparison IEEE BMSB2018, Valencia,

An overview of virtual machine architecture

Testing Docker Performance for HPC Applications

Comparison of OpenStack Installers

FAIM 14. Cloud Computing. Paul Rad Rackspace, Inc. VP Technology

VM Migration, Containers (Lecture 12, cs262a)

How CloudEndure Works

Build your own Cloud on Christof Westhues

NTT Com Press Conference March 1, 2016 #enterprisecloud

Virtualization and Performance

Use of containerisation as an alternative to full virtualisation in grid environments.

Lecture 09: VMs and VCS head in the clouds

Performance Analysis of Various Guest OS in Ubuntu 14.04

Virtual Machines. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

OPENSTACK: THE OPEN CLOUD

Module 1: Virtualization. Types of Interfaces

Launching StarlingX. The Journey to Drive Compute to the Edge Pilot Project Supported by the OpenStack

Devops, Docker and Security. John

OS Virtualization. Linux Containers (LXC)

Performance Evaluation of Virtualization Technologies

Toward SLO Complying SSDs Through OPS Isolation

Bare-metal, Virtual Machines and Containers in OpenStack

Cloud and Datacenter Networking

Virtualization. Guillaume Urvoy-Keller UNS/I3S

Getting to Know Apache CloudStack

Virtual Machine Monitors!

How CloudEndure Disaster Recovery Works

StorPool Distributed Storage Software Technical Overview

Virtualisation on Mobile Devices {Hugo Marques, Nuno Conceição, Luis Pereira}

openqrm Enterprise Administrator Guide Enterprise System Adminstration and IaaS Datacenter Automation with openqrm 5.2

Distributed Systems COMP 212. Lecture 18 Othon Michail

The Post-Cloud. Where Google, DevOps, and Docker Converge

Distributed Systems. 31. The Cloud: Infrastructure as a Service Paul Krzyzanowski. Rutgers University. Fall 2013

SaaSaMe Transport Workload Snapshot Export for. Alibaba Cloud

Upcoming Services in OpenStack Rohit Agarwalla, Technical DEVNET-1102

OpenNebula on VMware: Cloud Reference Architecture

LINUX Virtualization. Running other code under LINUX

Available online at ScienceDirect. Procedia Computer Science 98 (2016 )

HPC over Cloud. July 16 th, SCENT HPC Summer GIST. SCENT (Super Computing CENTer) GIST (Gwangju Institute of Science & Technology)

ITRI Cloud OS: An End-to-End OpenStack Solution

Evaluating CPU utilization in a Cloud Environment

Performance Considerations of Network Functions Virtualization using Containers

Comparing Function of OpenStack and VMware. Li-qiu JIANG and Da-wei XIAO

A Fine-grained Performance-based Decision Model for Virtualization Application Solution

How Container Runtimes matter in Kubernetes?

The OnApp Cloud Platform

How CloudEndure Disaster Recovery Works

Getting Started with Contributing to OpenStack An Introductory Crash Course on OpenStack Development

BCS EXIN Foundation Certificate in OpenStack Software Syllabus

SUBSCRIPTION OVERVIEW

CLOUD COMPUTING. Rajesh Kumar. DevOps Architect.

NEC SigmaSystemCenter Integrated Virtualization Platform Management Software

Introduction to Virtualization and Containers Phil Hopkins

SUSE OpenStack Cloud

KVM for IBM z Systems

Can we boost more HPC performance? Integrate IBM POWER servers with GPUs to OpenStack Environment

White Paper The Storage System Best Suited for OpenStack FUJITSU Storage ETERNUS DX S4/S3 series and ETERNUS AF series

Virtualisation: The KVM Way. Amit Shah

Chapter 5 C. Virtual machines

POWERED BY OPENSTACK. Powered by OpenStack. Globo.Tech GloboTech Communications

SUSE OpenStack Cloud. Enabling your SoftwareDefined Data Center. SUSE Expert Days. Nyers Gábor Trainer &

SUSE OpenStack Cloud Production Deployment Architecture. Guide. Solution Guide Cloud Computing.

Multi-tenancy Virtualization Challenges & Solutions. Daniel J Walsh Mr SELinux, Red Hat Date

Virtual Machines. To do. q VM over time q Implementation methods q Hardware features supporting VM q Next time: Midterm?

Enterprise Journey to OpenStack Adoption: Real World Stories

Advanced Cloud Infrastructures

Andrew Pullin, Senior Software Designer, School of Computer Science / x4338 / HP5165 Last Updated: October 05, 2015

The only open-source type-1 hypervisor

Transcription:

OpenStack hypervisor, container and Baremetal servers performance comparison Yoji Yamato a) Software Innovation Center, NTT Corporation, 3 9 11 Midori-cho, Musashino-shi, Tokyo 180 8585, Japan a) yamato.yoji@lab.ntt.co.jp Abstract: Recently, IaaS services provide not only virtual machines on hypervisors but also Baremetal servers or container based virtual servers. In this paper, we measure performances and start up time of Baremetal server, container servers, virtual machines on OpenStack with virtual server number changing and evaluate quantitative performances. Keywords: performance, cloud computing, IaaS, Baremetal, container, hypervisor, OpenStack Classification: Network References [1] OpenStack web site, http://www.openstack.org/. [2] W. Fester, A. Ferreria, R. Rajamony and J. Rubio, An updated performance comparison of virtual machines and Linux containers, IBM Research Report, July 2014. [3] B. Russell, Passive benchmarking with docker LXC, KVM & OpenStack, slides in http://www.slideshare.net/bodenrussell/kvm-anddocker-lxc-benchmarking-with-openstack, Apr. 2014. [4] UnixBench web site, https://github.com/kdlucas/byte-unixbench. 1 Introduction Recently, cloud technology has been progressed and many providers have started cloud services. To build IaaS systems, many providers adopt open source software such as OpenStack [1] and CloudStack. NTT group also has started IaaS services based on OpenStack since 2013. Currently, many cloud services provide virtual servers to users using virtual machines deployed on hypervisors such as Xen or KVM. However, hypervisors have a demerit of much virtualization overhead. Therefore, some providers have started to provide non-virtualized Baremetal servers (hereafter, Baremetal) or container based virtual servers which overheads are small (hereafter, Container). 228

It is generally said that Baremetals and Containers show better performances than virtual machines on hypervisors. However, there are few works to compare performances and start up time of those three in same conditions and appropriate usage discussions based on quantitative data are not enough. For example, [2] compared performances of Baremetal, Docker and KVM but there is no data of start up time. The work of [3] includes Baremetal, Docker and KVM results of boot up time, reboot time and other performance data other than Unixbench data. However, it did not compare 3 types with virtual server number changing. Therefore, this paper measures performances and start-up time of Baremetal using Ironic, Containers by Docker and virtual machines on KVM with virtual server number changing on OpenStack and shows quantitative data. The previous work of [2] and [3] do not have enough data with virtual server number changing. 2 Outline of Baremetal, Container and Hypervisor In this section, we compare Baremetal, Container and Hypervisor qualitatively. Baremetal is a non-virtualized physical server and same as an existing dedicated hosting server. IBM SoftLayer provides Baremetal cloud services adding characteristics of prompt provisioning and pay-per-use billing to dedicated servers. In OpenStack, Ironic component provides baremetal provisioning. Because Baremetal is a dedicated server, flexibility and performance are high but provisioning and start-up time are long and it also cannot conduct live migrations. Containers technology is OS virtualization. OpenVZ or FreeBSD jail were used for VPS (Virtual Private Server) for many years. Computer resources are isolated with each unit called container but OS kernel is shared among all containers. Docker which uses LXC (Linux Container) appeared in 2013 and attracted many users because of its usability. Containers do not have kernel flexibility but a container creation only needs a process invocation and it takes a short time for start up. Virtualization overhead is also small. OpenVZ can conduct live migrations but Docker or LXC cannot conduct live migrations now. Hypervisors technology is hardware virtualization and virtual machines are behaved on emulated hardware, thus users can customize virtual machine OS flexibly. Major hypervisors are Xen, KVM and VMware ESX. Virtual machines have merits of flexible OS and live migrations but those have demerits of performances and start up time. Next, we compare performance and start-up time quantitatively. 3 Performance measurement conditions This paper measures performances and start up time of 3 types servers with same conditions. We use OpenStack version Juno as a cloud controller, a physical server provisioned by Ironic as Baremetal, Docker 1.4.1 as a container technology and KVM/QEMU 2.0.0 as a hypervisor. Ironic, Docker and KVM are de facto standard software in OpenStack community. Server instances are Ubuntu 14.04 Linux servers with Apache2 web servers from 10 GB image file and we request 3 types instances provisioning to a same physical server using OpenStack compute component Nova. 229

Fig. 1. Performance measurement environment servers 3.1 Performance measurement items Measured servers: Baremetal provisioned by Ironic, Containers based on Docker, Virtual machines on KVM Virtual server number: 1, 2, 3, 4 Only 1 for Baremetal case, 1 4 containers for Docker case and 1 4 virtual machines for KVM case. When there are plural virtual servers, all physical resources are equally separated to these plural servers. Performance measurement UnixBench [4] is conducted to acquire UnixBench performance indexes. Note that UnixBench is a major system performance benchmark. Start up time measurement A time from Nova server instance creation API call to each Linux and Apache2 server start up is measured. For Baremetal case, we measure not only total time but also each processing time of start up and we also measure the 1st time boot and the 2nd time boot. 3.2 Performance measurement environment For a performance measurement environment, we prepared 1 physical server on which 3 types servers were provisioned and 1 physical server which had OpenStack components (Nova, Ironic, PXE server for Ironic PXE boot and so on). These servers were connected with Gigabit Ethernet and Layer 2 switch. Fig. 1 shows each server specification. 4 Performances of Baremetal, Docker and KVM 4.1 UnixBench performance Fig. 2 shows a performance comparison of 3 types servers. Vertical axis shows UnixBench performance index value and horizon axis shows each server with virtual server number changing. Based on Fig. 2 results, it is clear that Docker containers performance degradation is about 75% performance compared to Baremetal performance. And it is also said that Docker performance is degraded when we change virtual server number but it is not inverse proportion. Almost all performances of Docker are 230

Fig. 2. UnixBench performance index score comparison better than KVM but file copy performances are worse than KVM, therefore the total index value is not much higher than KVM. Meanwhile, virtual machines on KVM performance degradation is more larger and only 60% performance compared to Baremetal performance and KVM performance degradation tendency with virtual server number change is as same as Docker. 4.2 Start up time Fig. 3(a) shows start up time of 3 type servers. When virtual servers are plural, average start up time is showed. Fig. 3(b) shows each processing time of Baremetal start up for the 1st time boot and the 2nd time boot. From Fig. 3(a), Baremetal start up takes much long time than KVM and Docker. This is because Baremetal start up needs image writing for PXE boot for the 1st time boot and it takes long time. For the 2nd time boot, it does not need image writing and total start up time is about only 200 sec (see, Fig. 3(b)). Comparing Docker and KVM, Docker containers start up are shorter than KVM virtual machines and are less than 15 sec. This is because a virtual machine start up needs OS boot but a container creation only needs a process invocation. Precisely, Docker instance creation only takes several hundred msec but OpenStack processing such as API check, port creation and IP address setting take about 5 sec. Fig. 3. Start-up time comparison. (a) Baremetal, Docker and KVM start up time. (b) Each processing time of Baremetal start up. 231

4.3 Discussion Here, we discuss appropriate usages of IaaS servers based on quantitative data. Because Baremetal shows better performances than other 2 types servers, it is suitable to use large scale DB processing or real time processing which have performance problems when we use virtual machines. Containers lack flexibility of kernel but performance degradation is small and start up time is short. Thus, it is suitable for auto scaling for existing servers or shared usages of basic services such as Web or mail. Hypervisors are suitable to use for areas which need system flexibility such as business applications on specific OS. 5 Conclusion This paper measured performances and start up time of 3 types IaaS servers; Baremetal, Docker and KVM with virtual server number changing and showed quantatitive data. We also studied application areas of each type based on the rusults. In the future, we plan to enhance IaaS services line up for appropriate use of 3 types servers. 232