Power Efficiency of Hypervisor and Container-based Virtualization

Similar documents
Virtualization. Michael Tsai 2018/4/16

LINUX Virtualization. Running other code under LINUX

CSC 5930/9010 Cloud S & P: Virtualization

Todd Deshane, Ph.D. Student, Clarkson University Xen Summit, June 23-24, 2008, Boston, MA, USA.

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

International Journal of Computer & Organization Trends Volume5 Issue3 May to June 2015

An overview of virtual machine architecture

Advanced Cloud Infrastructures

Performance Evaluation of Virtualization Technologies

Virtualization. Pradipta De

CSCI 8530 Advanced Operating Systems. Part 19 Virtualization

Networks and/in data centers! Dr. Paola Grosso! System and Network Engineering (SNE) research group! UvA!

[This is not an article, chapter, of conference paper!]

VM Migration, Containers (Lecture 12, cs262a)

OpenStack hypervisor, container and Baremetal servers performance comparison

Module 1: Virtualization. Types of Interfaces

Virtualization. ...or how adding another layer of abstraction is changing the world. CIS 399: Unix Skills University of Pennsylvania.

Benchmark Study: A Performance Comparison Between RHEL 5 and RHEL 6 on System z

COMPUTER ARCHITECTURE. Virtualization and Memory Hierarchy

Enhancing cloud energy models for optimizing datacenters efficiency.

Oracle Real Application Clusters One Node

The Challenges of X86 Hardware Virtualization. GCC- Virtualization: Rajeev Wankar 36

Nested Virtualization and Server Consolidation

Chapter 5 C. Virtual machines

IBM Bluemix compute capabilities IBM Corporation

Measuring zseries System Performance. Dr. Chu J. Jong School of Information Technology Illinois State University 06/11/2012

SUSE An introduction...

Multiprocessor Scheduling. Multiprocessor Scheduling

Virtual Machines. Part 2: starting 19 years ago. Operating Systems In Depth IX 1 Copyright 2018 Thomas W. Doeppner. All rights reserved.

IBM Research Report. A Comparison of Virtualization Technologies for Use in Cloud Data Centers

Efficient Resource Management for Cloud Computing Environments

RT- Xen: Real- Time Virtualiza2on. Chenyang Lu Cyber- Physical Systems Laboratory Department of Computer Science and Engineering

Difference Engine: Harnessing Memory Redundancy in Virtual Machines (D. Gupta et all) Presented by: Konrad Go uchowski

Introduction to Cloud Computing and Virtualization. Mayank Mishra Sujesha Sudevalayam PhD Students CSE, IIT Bombay

Virtualization. Starting Point: A Physical Machine. What is a Virtual Machine? Virtualization Properties. Types of Virtualization

Full Scalable Media Cloud Solution with Kubernetes Orchestration. Zhenyu Wang, Xin(Owen)Zhang

Virtualization. ! Physical Hardware Processors, memory, chipset, I/O devices, etc. Resources often grossly underutilized

The Missing Piece of Virtualization. I/O Virtualization on 10 Gb Ethernet For Virtualized Data Centers

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

QuartzV: Bringing Quality of Time to Virtual Machines

Table of Contents. Virtual Server Software Trade Study Architecture Working Group, Systems Administrators Group , Revised

Lecture 5: February 3

24-vm.txt Mon Nov 21 22:13: Notes on Virtual Machines , Fall 2011 Carnegie Mellon University Randal E. Bryant.

CS 550 Operating Systems Spring Introduction to Virtual Machines

Abstract Video streaming has been rising for that past years and is responsible for the majority of all consumer Internet traffic.

Hardware Virtualization towards a Proficient Computing Environment

CFS-v: I/O Demand-driven VM Scheduler in KVM

Performance Analysis of Various Guest OS in Ubuntu 14.04

Preserving I/O Prioritization in Virtualized OSes

FIVE REASONS YOU SHOULD RUN CONTAINERS ON BARE METAL, NOT VMS

Power Consumption of Virtual Machine Live Migration in Clouds. Anusha Karur Manar Alqarni Muhannad Alghamdi

Empirical Evaluation of Latency-Sensitive Application Performance in the Cloud

Virtualization and Performance

Virtualization Introduction

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

Evaluating CPU utilization in a Cloud Environment

Container Adoption for NFV Challenges & Opportunities. Sriram Natarajan, T-Labs Silicon Valley Innovation Center

Performance Considerations of Network Functions Virtualization using Containers

Looking ahead with IBM i. 10+ year roadmap

Security versus Energy Tradeoffs in Host-Based Mobile Malware Detection

Intel Graphics Virtualization Technology. Kevin Tian Graphics Virtualization Architect

Hypervisor security. Evgeny Yakovlev, DEFCON NN, 2017

Open-source library and tools to support the OVF.

Virtualization and memory hierarchy

Virtualization Security & Audit. John Tannahill, CA, CISM, CGEIT, CRISC

OS Virtualization. Linux Containers (LXC)

Abstract. Testing Parameters. Introduction. Hardware Platform. Native System

Bachelor Thesis Project

Parallels Virtuozzo Containers

SSD and Container Native Storage for High- Performance Databases

I/O and virtualization

Xen and the Art of Virtualization

what is the problem to be solved

LINUX CONTAINERS. Where Enterprise Meets Embedded Operating Environments WHEN IT MATTERS, IT RUNS ON WIND RIVER

Lecture 09: VMs and VCS head in the clouds

EE 660: Computer Architecture Cloud Architecture: Virtualization

Duy Le (Dan) - The College of William and Mary Hai Huang - IBM T. J. Watson Research Center Haining Wang - The College of William and Mary

CHAPTER 16 - VIRTUAL MACHINES

Estimating Working Set Size by Guest OS Performance Counters Means

MultiLanes: Providing Virtualized Storage for OS-level Virtualization on Many Cores

IBM Emulex 16Gb Fibre Channel HBA Evaluation

Intel Cache Acceleration Software (Intel CAS) for Linux* v2.9 (GA)

Virtualization. Darren Alton

The only open-source type-1 hypervisor

VIRTUALIZATION PERFORMANCE: VMWARE VSPHERE 5 VS. RED HAT ENTERPRISE VIRTUALIZATION 3

CrashOS: Hypervisor testing tool

Extremely Fast Distributed Storage for Cloud Service Providers

Performance and Scalability Evaluation of Oracle VM Server Software Virtualization in a 64 bit Linux Environment

Testing Docker Performance for HPC Applications

CLOUD COMPUTING IT0530. G.JEYA BHARATHI Asst.Prof.(O.G) Department of IT SRM University

Deploying Application and OS Virtualization Together: Citrix and Virtuozzo

What Makes Up the Modern Linux OS?

An Analysis and Empirical Study of Container Networks

Intel Clear Containers. Amy Leeland Program Manager Clear Linux, Clear Containers And Ciao

Utilization-based Scheduling in OpenStack* Compute (Nova)

RT#Xen:(Real#Time( Virtualiza2on(for(the(Cloud( Chenyang(Lu( Cyber-Physical(Systems(Laboratory( Department(of(Computer(Science(and(Engineering(

Virtualization. Dr. Yingwu Zhu

Xen and the Art of Virtualization. Nikola Gvozdiev Georgian Mihaila

OPENSTACK: THE OPEN CLOUD

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

Transcription:

Power Efficiency of Hypervisor and Container-based Virtualization University of Amsterdam MSc. System & Network Engineering Research Project II Jeroen van Kessel 02-02-2016 Supervised by: dr. ir. Arie Taal dr. Paola Grosso

Significance Growing consumption of cloud services Cisco claims: "by 2019, more than 86 percent of all workload will be processed by cloud data centers" More awareness on power consumption Container-based virtualization is an emerging technology Docker became very popular in a relative short time 2/26

Van der Poll [2015] Related Work (1) - Power consumption of two open-source hypervisors, KVM and Xen - KVM as a more green solution than Xen. IBM research division [2014] - Performance comparison of virtual nodes ran by a hypervisor versus Linux containers - Docker had equal or faster performance compared to KVM Ericsson research division [2015] [1] Empirical Investigation of power consumption of virtualization platforms - Compared number of VMs and Containers - Power impact of CPU, memory and HDD - Used a Power Measurement Device - Results: virtualization platforms behave similarly in idle state and in CPU/Memory stress test Figure 1: Power Measurement Device Image source: http://media.bestofmicro.com/green-power-cpu-performance,e-0-228600-13.jpg 3/26

Related Work (2) Ericsson research division [2015] [2] - Performance comparison between traditional hypervisors and Linux containers - Containers achieve generally better performance compared to traditional VMs Figure 2: LINPACK CPU performance Source: Ericsson, Hypervisors vs. Lightweight Virtualization: a Performance Comparison [2015] 4/26

Research Question (1) Is there a difference in power efficiency under a traditional hypervisor-based virtualization versus Linux containers? 5 /26

VMs and Containers Container virtualization is a lightweight alternative to hypervisor-based virtualization Container runs on top of the same shared host OS kernel While VMs install a full Guest OS Containers do not isolate resources as well as hypervisors Xen 4.5.1 Docker 1.9.1 Figure 3: Image source: http://gordonsun-blog.s3.amazonaws.com/wp-content/uploads/2015/05/docker-containers-vs-vms.png 6 /26

Approach Figure 4: Power Measurement Setup 7 /26

Measurement Setup Table 1: IBM 1U Server Specifications Running Ubuntu 15.10 x64 8 /26

9 /26

Measurement Sensors (1) Power Usage Sensor (2) Data Acquisition Interface Board 11 /26 Image source: eurocircuits.com blueprints

Measurement results Synthetics Applications Table 2: Dominant components and their synthetics benchmark applications But first, IDLE is measured as a baseline 12 /26

Average Power Usage in Watt (W) IDLE Power consumption (1) 9 8 7 7.73 6.91 7.39 7.27 6.63 6.56 6 5 4.93 4.87 4.86 4 3 2 1 0 Xen running 1 Virtual Node Docker running 1 Container Native OS CPU Memory HDD 13 /26

Total Power Usage in Watt (W) Total IDLE Power consumption (2) 20 19.57 18.88 18.68 18 4.93 16 4.87 4.86 HDD 14 12 10 8 6.91 6.63 6.55 Memory 6 4 7.73 7.38 7.27 CPU 2 0 Xen running 1 Virtual Node Docker running 1 Container Native OS 14 /26

CPUs and Cores CPU1 CPU2 Experiment 1: 4 cores on CPU1 CPU1 CPU2 Experiment 2: 2 cores both CPU1 and CPU2 15 /26 Image source: http://img.tomshardware.com/us/2007/10/29/hitting_4ghz_with_air_cooling/intel_penryn_45_nm_octo_core.jpg

Power Consumption during LINPACK on Docker (1) and Xen (2) 1 2 3 (1) Docker: All 4 cores used on physical CPU1 (2) Xen: All 4 cores used on physical CPU1 16 /26

Power Consumption during LINPACK on Docker (1) and Xen (2) (1) Docker: 2 cores used of each CPU1 and CPU2 (2) Xen: 2 cores used of each CPU1 and CPU2 17 /26

Total Power consumption of LINPACK CPU Docker and Xen 18 /26

Power Efficiency in MFLOPS / W Energy efficiency during LINPACK (CPU intensive) 1800 1600 1400 1397 1341 1581 1502 1200 1000 800 600 400 200 0 Xen 1 CPU Xen 2 CPUs Docker 1 CPU Docker 2 CPUs 19 /26

Power Consumption during sysbench 350GiB memory transfer Power Usage of all memory banks (1) Power Usage of all memory banks (2) 20 /26

Power Efficiency in (Ops/sec) / W Total Power efficiency during a sysbench 350GiB memory transfer 120.000 100.000 100.661 101.560 104.411 80.000 60.000 40.000 20.000 0.000 Xen Memory Docker Memory Native OS Memory 21 /26

Power Consumption during Bonnie++ (25GiB) 22 /26

Power Efficiency in (Kb/sec) / W (Sequential Write) Total Power efficiency during Bonnie++ 25GiB (Sequential Writes in Kb/sec) 14.000 12.000 11.555 12.252 12.140 10.000 8.000 6.000 4.000 2.000 0.000 Xen HDD Docker HDD Native OS HDD 23 /26

Research question: Conclusion Is there a difference in power efficiency under a traditional hypervisor-based virtualization versus Linux containers? Performance results match with the Ericsson research Power Efficiency results: CPU: Docker is more efficient in terms of power Memory, HDD (Writes) and IDLE: Docker is more efficient but almost negligible 24 /26

Future Work Benchmark multiple virtual nodes and containers Investigate the energy footprint of the network component Test other applications Performance evaluation of real life applications Futher investigation of other platforms such as LXC, KVM and VMware Investigate energy impact of (Xen) Paravirtualization 25 /26

Thanks for your attention