Performance Evaluation of Virtualization Technologies

Similar documents
Performance Evaluation of Virtualization Technologies for Server Consolidation

Nested Virtualization and Server Consolidation

Virtualization. Michael Tsai 2018/4/16

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

Virtual Machines Disco and Xen (Lecture 10, cs262a) Ion Stoica & Ali Ghodsi UC Berkeley February 26, 2018

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

Using MySQL in a Virtualized Environment. Scott Seighman Systems Engineer Sun Microsystems

Typical scenario in shared infrastructures

Performance & Scalability Testing in Virtual Environment Hemant Gaidhani, Senior Technical Marketing Manager, VMware

VM Migration, Containers (Lecture 12, cs262a)

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

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

Virtual Leverage: Server Consolidation in Open Source Environments. Margaret Lewis Commercial Software Strategist AMD

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

Module 1: Virtualization. Types of Interfaces

Modeling VM Performance Interference with Fuzzy MIMO Model

INNOV-4: Fun With Virtualization. Or, How I learned to love computers that don t really exist...

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

COMPUTER ARCHITECTURE. Virtualization and Memory Hierarchy

Performance Profiling

Utilizing Oracle Solaris Containers with Oracle Database. Björn Rost

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

CSC 5930/9010 Cloud S & P: Virtualization

WHY SHOULD I USE OVM. For Oracle Databases By Francisco Munoz Alvarez Oracle Professional Services Manager

IMPLEMENTING SOLARIS CONTAINERS TO INCREASE PERFORMANCE AND SCALABILITY OF FINANCIAL MANAGEMENT SOFTWARE Genti Daci, Polytechnic University of Tirana

OPS-9: Fun With Virtualization. John Harlow. John Harlow. About John Harlow

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

Virtualization. join, aggregation, concatenation, array, N 1 ühendamine, agregeerimine, konkateneerimine, massiiv

Efficient QoS for Multi-Tiered Storage Systems

Power Efficiency of Hypervisor and Container-based Virtualization

The Convergence of Storage and Server Virtualization Solarflare Communications, Inc.

VMware vsphere Clusters in Security Zones

ArcGIS Enterprise Performance and Scalability Best Practices. Andrew Sakowicz

Roadmap for Challenging Times System Virtualiztion

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

Cloud Computing Virtualization

Deploying Application and OS Virtualization Together: Citrix and Virtuozzo

COS 318: Operating Systems. Virtual Machine Monitors

Cloud and Datacenter Networking

vsan Security Zone Deployment First Published On: Last Updated On:

Increasing Cloud Power Efficiency through Consolidation Techniques

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

Distributed Systems COMP 212. Lecture 18 Othon Michail

How it can help your organisation

Parallels Virtuozzo Containers

Virtualization and memory hierarchy

Lecture 5: February 3

EE 660: Computer Architecture Cloud Architecture: Virtualization

for Kerrighed? February 1 st 2008 Kerrighed Summit, Paris Erich Focht NEC

NON SCHOLAE, SED VITAE

Multiprocessor Scheduling. Multiprocessor Scheduling

OS Virtualization. Linux Containers (LXC)

Oracle s SPARC T8, T7, M8, and M7 Servers: Domaining Best Practices O R A C L E T E C H N I C A L W H I T E P A P E R S E P T E M B E R

Re-architecting Virtualization in Heterogeneous Multicore Systems

Java. Measurement of Virtualization Overhead in a Java Application Server. Kazuaki Takahashi 1 and Hitoshi Oi 1. J2EE SPECjAppServer2004

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

PAC094 Performance Tips for New Features in Workstation 5. Anne Holler Irfan Ahmad Aravind Pavuluri

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

Virtualization. Dr. Yingwu Zhu

vsan Management Cluster First Published On: Last Updated On:

Lecture 09: VMs and VCS head in the clouds

Advanced RDMA-based Admission Control for Modern Data-Centers

Oracle Real Application Clusters One Node

SERVE. -Priyal Lokhandwala

Running SQL Server 2008 in a Hyper-V Environment

Virtualization. Pradipta De

Virtualization of the MS Exchange Server Environment

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

Improving CPU Performance of Xen Hypervisor in Virtualized Environment

Novell SLES 10/Xen. Roadmap Presentation. Clyde R. Griffin Manager, Xen Virtualization Novell, Inc. cgriffin at novell.com.

TA7750 Understanding Virtualization Memory Management Concepts. Kit Colbert, Principal Engineer, VMware, Inc. Fei Guo, Sr. MTS, VMware, Inc.

An overview of virtual machine architecture

Chapter 5 C. Virtual machines

ANR call for proposals number ANR-08-VERS-010 FINEP settlement number 1655/08. Horizon - A New Horizon for Internet

Micro VMMs and Nested Virtualization

B.H.GARDI COLLEGE OF ENGINEERING & TECHNOLOGY (MCA Dept.) Parallel Database Database Management System - 2

vsan Remote Office Deployment January 09, 2018

IX: A Protected Dataplane Operating System for High Throughput and Low Latency

Mission-Critical Enterprise Linux. April 17, 2006

W H I T E P A P E R. What s New in VMware vsphere 4: Performance Enhancements

Real-Time Internet of Things

Linux and Xen. Andrea Sarro. andrea.sarro(at)quadrics.it. Linux Kernel Hacking Free Course IV Edition

Red Hat Enterprise Linux on IBM System z Performance Evaluation

OS Virtualization. Why Virtualize? Introduction. Virtualization Basics 12/10/2012. Motivation. Types of Virtualization.

W H I T E P A P E R. Comparison of Storage Protocol Performance in VMware vsphere 4

Virtualization with XEN. Trusted Computing CS599 Spring 2007 Arun Viswanathan University of Southern California

Qlik Sense Enterprise architecture and scalability

Maximizing VMware ESX Performance Through Defragmentation of Guest Systems

vcache: Architectural Support for Transparent and Isolated Virtual LLCs in Virtualized Environments

Types of Virtualization. Types of virtualization

Native vsphere Storage for Remote and Branch Offices

IBM Systems: Helping the world use less servers

CHAPTER 16 - VIRTUAL MACHINES

Virtualisation: The KVM Way. Amit Shah

Chapter 3 Virtualization Model for Cloud Computing Environment

A Comparison of Capacity Management Schemes for Shared CMP Caches

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

Cloudamize Agents FAQ

Experience the GRID Today with Oracle9i RAC

IBM Emulex 16Gb Fibre Channel HBA Evaluation

Transcription:

Performance Evaluation of Virtualization Technologies Saad Arif Dept. of Electrical Engineering and Computer Science University of Central Florida - Orlando, FL September 19, 2013

1 Introduction

1 Introduction 2 Xen and OpenVZ Systems

1 Introduction 2 Xen and OpenVZ Systems 3 Testbed Architecture

1 Introduction 2 Xen and OpenVZ Systems 3 Testbed Architecture 4 Experimental Results

1 Introduction 2 Xen and OpenVZ Systems 3 Testbed Architecture 4 Experimental Results 5 Conclusion

1 Introduction 2 Xen and OpenVZ Systems 3 Testbed Architecture 4 Experimental Results 5 Conclusion

What we have already covered... Virtualization. Layering and virtualization. Virtual machine monitor. Virtual machine. Performance and security isolation. Architectural support for virtualization. x86 support for virtualization. Full and paravirtualization. Xen 1.0 and Xen 2.0. Performance comparison of virtual machine monitors. The darker side of virtualization. Software fault isolation.

Overview Server consolidation Reduces cost Improves efficiency New challenges Choosing the right virtualization technology Consolidation configuration Performance evaluation of two representative virtualization technologies Xen system OpenVZ system

Overview (contd) Comparison in terms of Application performance Resource consumption Scalability Low-level system metrics like Cache misses Virtualization-specific metrics

What is Virtualization? The ability to run multiple operating systems on a single physical system and share the underlying hardware resources VMware white paper, Virtualization Overview

Motivation Rapid growth of servers in data centers High maintenence costs Enterprise data centers under-utilized Typical average utilization 30% Overload under peak demands Resulting in Lower application throughput Longer latency Significant interest in Virtualization Figure : Example peak/off peak CPU utilization

Types of Virtualizations Hypervisor-based technology VMware Microsoft Virtual Server Xen Operating system (OS) level virtualization OpenVZ Linux VServer Solaris Zones Both allow a single physical server to be partitioned into multiple isolated virtual machines (VMs) for running multiple applications at the same time Easier centralized server administration Higher operational efficiency

Capacity Management Enterprise applications often have resource demands that vary over time If consolidated into VMs on a shared server Dynamic resource allocation Maintained QoS Efficient server resource utilization

1 Introduction 2 Xen and OpenVZ Systems 3 Testbed Architecture 4 Experimental Results 5 Conclusion

Xen System Paravirtualization technology Linux based Allows multiple guest operating systems Provides Thin software virtualization layer between guest OS and HW Presents hardware abstraction CPU scheduler

OpenVZ System Linux based Allows creation of secure, isolated virtual enironments (VEs) Each VE Behaves as a stand-alone server Can be rebooted independently Can be setup with a different distribution with seperate root directory Single kernel shared by all VEs Low level of fault isolation compared to Xen

1 Introduction 2 Xen and OpenVZ Systems 3 Testbed Architecture 4 Experimental Results 5 Conclusion

Performance Evaluation Critereon How is application-level performance, including throughput and response time, impacted? How does application-level performance scale up as workload increases? How is application-level performance affected when multiple tiers of each application are placed on virtualized servers in different ways? As the number of multi-tiered applications increases, how do application-level performance and resource consumption scale?

Setup Base system Vanilla Linux 2.6 kernel Xen system Xen 3.0.3 OpenVZ sysyem ovz-stable-2.6 kernel Virtual Machine One or more virtual VMs supported by either Xen or OpenVZ Sensors collecting CPU consumption Memory consumption Response time

Setup (contd)

Oprofile Tool to measure hardware events Requires hardware performance counters Specific Counters: CPU CLK UNHALT - number of CPU cycles outside halt state RETIRED INSTRUCTIONS - number of retired instructions L2 CACHE MISS - number of L2 cache misses and main memory hits

Experiment Design Benchmark RUBiS: online auction site Multi-tiered application Web-tier: runs Apache web server with PHP DB-tier: runs MySQL database server Multiple clients connect to Web-tier Client sessions Connect Browse Buy/sell Client waits for each request completion before starting a new one (closed-loop behaviour)

Experiment Design (contd) Load distribution: browsing mix Goal Higher load on Web-tier than DB-tier Quantitatively evaluate impact of virtualization Evalualte application-level performance including Throughput Response time

Experiment Configurations Single-node: Both Web and DB tiers in a single node Two-node: Web and DB tiers in seperate nodes Two-node (scaled): Multiple web/db tiers in each nodes

1 Introduction 2 Xen and OpenVZ Systems 3 Testbed Architecture 4 Experimental Results 5 Conclusion

Single-Node Both Web and DB tiers hosted on single node Xen/OpenVZ run two tiers in seperate VM 500-800 concurrent clients

Performance Evaluation: Single-Node Similar perfomance of base, Xen and OpenVZ Throughput increases linearly with number of threads Figure : Throughput

Performance Evaluation: Single-Node (contd) Higher performance overhead in Xen compared to Open VZ Base and OpenVZ show slight increase Xen shows growth of 600% (from 18 ms to 130 ms) At 800 threads, Xen is over 4 times of OpenVZ Figure : Average response time Xen system is less scalable with the workload than Open VZ or a nonvirtualized system

Performance Evaluation: Single-Node (contd) Average CPU consumption of Web and DB tiers as a function of workload Goes up linearly with number of threads for both tiers DB consumption low in browsing mix (1-4% of total CPU) hence not marked difference Web tier for Xen twice that of base OpenVZ stays close to base Xen shows higher slope of increase Figure : Average CPU consumption Xen system shows higher CPU overhead, related to the higher response time

Oprofile Analysis: Single-Node Aggregate values of counters at 800 threads For OpenVZ, counter values for whole system For Xen, counters for each domain DomU = sum of values from Web and DB domains All counters normalized with base

Oprofile Analysis: Single-Node (contd) OpenVZ shows counter less than twice of base L2 cache misses in Xen 11 times of base Xen s higher CPU overhead and response time due to high L2 cache misses

Two-Node Web and DB tier of one RUBiS application on seperate nodes Xen/OpenVZ run one VM on each node (Web or DB) 500-800 concurrent clients We will omit throughput comparison for two-node as it is similar to the single-node

Performance Evaluation: Two-Node Small overhead in Open VZ compared to base case Xen shows increase of 115% (13 ms to 28 ms) Figure : Average response time Xen s increase in response time is significantly lower than Xen in single-node case

Performance Evaluation: Two-Node (contd) Average CPU consumption of Web and DB tiers as a function of workload Similar trend as single-node case Goes up linearly with number of threads for both tiers Web tier consumption higher than DB Xen shows higher slope of increase for Web tier Figure : Average CPU consumption

Performance Evaluation: Two-Node (contd) Dom0 CPU consumptions of single-node vs two-node configurations for Xen For two-node case, Dom0 = sum of Dom0 for noth nodes Dom0 CPU consumption remains low (below 4%) Shows slow linear increase Figure : Single-node vs two-node Dom0 CPU consumption is mostly workload dependent, and there is very little fixed cost

Oprofile Analysis: Two-Node OpenVZ L2 cache misses less than twice of the base L2 cache misses in Xen 5-10 times of base Figure : Web tier Xen s higher CPU overhead and response time due to high L2 cache misses

Oprofile Analysis: Two-Node (contd) OpenVZ L2 cache misses about 4 times of the base L2 cache misses in Xen 5-10 times of base Figure : DB tier

Oprofile Analysis: Two-Node (contd) For two-node, each counter = sum of counter from each node L2 cache misses are higher for single-node compared to two-node for both Xen and OpenVZ Due to extra overhead caused by two VMs on one node Figure : Single-node vs two-node

Scalability Evaluation Increase the number of RUBiS instances on two nodes One to two Two to four Compare the scalability of Xen and OpenVZ Application performance Resource consumption

Scalability Evaluation (contd) Remains relatively constant for OpenVZ. Goes up about 500% (15 ms to roughly 90 ms) for Xen Figure : Two-node two instances - average response time

Scalability Evaluation (contd) Remains below 30 ms for OpenVZ. Goes up about 600% (20 ms to between 140 and 200 ms) for Xen Figure : Two-node four instances - average response time Average response time in Xen increases with increasing number of instances

Scalability Evaluation (contd) Xen For two-node case OpenVZ system One instance: grows to 28 ms Four instances: grows to 158 ms Overall 400% increase! Increase is only about 100% Figure : Average response time comparison - All configurations at 800 threads

Scalability Evaluation (contd) Xen Roughly twice of OpenVZ Aready becoming overloaded with four instances OpenVZ system Total consumption below 60% Can fit at least two more instances of RUBiS Figure : Web tier CPU consumption comparison - All configurations at 800 threads

1 Introduction 2 Xen and OpenVZ Systems 3 Testbed Architecture 4 Experimental Results 5 Conclusion

Conclusion Xen shows higher virtualization overhead than Open VZ Performance degradation in Xen increases as application workloads increase Virtualization overhead observed in Open VZ is limited Web tier CPU consumption for Xen is roughly twice that of the base system or Open VZ Main reason of performance overhead in Xen is large number of L2 cache misses

Questions