Container-based operating system virtualization: a scalable, high-performance alternative to hypervisors



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

Container-based Operating System Virtualization: A Scalable, High-performance Alternative to Hypervisors

Virtualization Technologies and Blackboard: The Future of Blackboard Software on Multi-Core Technologies

IOS110. Virtualization 5/27/2014 1

Virtualization. Types of Interfaces

COS 318: Operating Systems. Virtual Machine Monitors

Full and Para Virtualization

Chapter 14 Virtual Machines

nanohub.org An Overview of Virtualization Techniques

PARALLELS CLOUD SERVER

Computing in High- Energy-Physics: How Virtualization meets the Grid

Microkernels, virtualization, exokernels. Tutorial 1 CSC469

HPC performance applications on Virtual Clusters

Virtualization and Performance NSRC

Basics of Virtualisation

COS 318: Operating Systems. Virtual Machine Monitors

Hyper-V vs ESX at the datacenter

Virtualization and the U2 Databases

8Gb Fibre Channel Adapter of Choice in Microsoft Hyper-V Environments

Virtualizare sub Linux: avantaje si pericole. Dragos Manac

GUEST OPERATING SYSTEM BASED PERFORMANCE COMPARISON OF VMWARE AND XEN HYPERVISOR

Technical Paper. Moving SAS Applications from a Physical to a Virtual VMware Environment

Parallels Virtuozzo Containers

BridgeWays Management Pack for VMware ESX

Virtualization. Michael Tsai 2015/06/08

Best Practices for Virtualised SharePoint

Comparison of the Three CPU Schedulers in Xen

Virtualization with Windows

Parallels Virtuozzo Containers

Best Practices on monitoring Solaris Global/Local Zones using IBM Tivoli Monitoring

Performance tuning Xen

Virtualization Overview

Xen and the Art of. Virtualization. Ian Pratt

Distributed Systems. Virtualization. Paul Krzyzanowski

HALF THE PRICE. HALF THE POWER. HALF THE SPACE.

Basics in Energy Information (& Communication) Systems Virtualization / Virtual Machines

RPM Brotherhood: KVM VIRTUALIZATION TECHNOLOGY

Enabling Technologies for Distributed Computing

Virtualization Technologies ORACLE TECHNICAL WHITE PAPER OCTOBER 2015

Performance Isolation of a Misbehaving Virtual Machine with Xen, VMware and Solaris Containers

The Xen of Virtualization

Virtualization for Cloud Computing

Run-time Resource Management in SOA Virtualized Environments. Danilo Ardagna, Raffaela Mirandola, Marco Trubian, Li Zhang

Lecture 2 Cloud Computing & Virtualization. Cloud Application Development (SE808, School of Software, Sun Yat-Sen University) Yabo (Arber) Xu

Unifying Information Security

VMware Server 2.0 Essentials. Virtualization Deployment and Management

Leveraging Thin Hypervisors for Security on Embedded Systems

Identify and control performance and capacity risks. Introduction... 2

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

Pros and Cons of HPC Cloud Computing

Database Virtualization

Best Practices for Monitoring Databases on VMware. Dean Richards Senior DBA, Confio Software

VMWARE WHITE PAPER 1

Cisco Application-Centric Infrastructure (ACI) and Linux Containers

Virtualization Performance on SGI UV 2000 using Red Hat Enterprise Linux 6.3 KVM

The Art of Virtualization with Free Software

Enabling Technologies for Distributed and Cloud Computing

A quantitative comparison between xen and kvm

Virtualization of Linux based computers: the Linux-VServer project

<Insert Picture Here> Introducing Oracle VM: Oracle s Virtualization Product Strategy

Models For Modeling and Measuring the Performance of a Xen Virtual Server

2972 Linux Options and Best Practices for Scaleup Virtualization

Virtualization Technologies. Embrace the new world of healthcare

kvm: Kernel-based Virtual Machine for Linux

Virtualization. Pradipta De

Network performance in virtual infrastructures

Deputy Secretary for Information Technology Date Issued: November 20, 2009 Date Revised: December 20, Revision History Description:

An Oracle Technical White Paper November Oracle Solaris 11 Network Virtualization and Network Resource Management

Virtual Switching Without a Hypervisor for a More Secure Cloud

SUSE Linux Enterprise 10 SP2: Virtualization Technology Support

Performance brief for IBM WebSphere Application Server 7.0 with VMware ESX 4.0 on HP ProLiant DL380 G6 server

BLACKBOARD LEARN TM AND VIRTUALIZATION Anand Gopinath, Software Performance Engineer, Blackboard Inc. Nakisa Shafiee, Senior Software Performance

Performance Management in the Virtual Data Center, Part II Memory Management

Cloud Computing CS

Introduction to Virtualization & KVM

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

Hypervisors. Introduction. Introduction. Introduction. Introduction. Introduction. Credits:

VMWARE Introduction ESX Server Architecture and the design of Virtual Machines

opensm2 Enterprise Performance Monitoring December 2010 Copyright 2010 Fujitsu Technology Solutions

Dynamic Load Balancing of Virtual Machines using QEMU-KVM

Performance Characteristics of VMFS and RDM VMware ESX Server 3.0.1

VegaStream Tutorial - The Advantages & Disadvantages of Using Virtual Machines

Knut Omang Ifi/Oracle 19 Oct, 2015

Building Docker Cloud Services with Virtuozzo

Virtualised MikroTik

Windows Server 2008 R2 Hyper V. Public FAQ

Oracle Database Scalability in VMware ESX VMware ESX 3.5

Transcription:

Container-based operating system virtualization: a scalable, high-performance alternative to hypervisors Soltesz, et al (Princeton/Linux-VServer), Eurosys07 Context: Operating System Structure/Organization 1

Introduction Traditional process abstraction provides a weak form of abstraction. Hypervisors provide more complete isolation between virtual machines (VMs) allowing a single machine to host multiple, unrelated applications from independent organizations. Hypervisor approach has some cost in terms of efficency overhead of running VMs. 2

Container-Based Operating Systems (COSs) Rather than a hypervisor, builds on resource container and security container work. COSs exist in Solaris Zones, Virtuozzo and Linux-VServer. Contributions: 1. Description of Linux VServer (one of authors maintains it) 2. Contrasts with latest version of Xen, which uses a hypervisor. 3

VM Approaches Hardware Intel VT Hardware Abstraction Layer Xen, VMware ESX. Can support multiple kernels. System Call Solaris, VServer Hosted VMs VMware GSX Language VMs Java Application-level VMs Apache virtual hosting 4

VM Usage Scenarios 1. Compute Farms (grid computing), flexibility to support specific software configurations of different applications. 2. Hosting Organizations, run many copies of same server software. CoMon defines a VM as active if it contains a process and live if it is using CPU. 3. Other scenarios where efficiency of virtualization in terms of performance and scale is important. 5

COS Virtualization Efficiency measures: performance (throughput, latency) and scalability (number of VMs) Isolation: fault isolation: do not want fault in one VM to leak into another VM resource isolation: want to avoid cross-talk, where there are undesired interactions between VMs. Resources include CPU, memory, network bandwidth security isolation: configuration and name independence 6

Efficiency/Isolation Tradeoffs 7

Container-Based Operating System Approach Host VM is used to manage other VMs. Guest VMs run applications. 8

Isolation Taxonomy of COS and Hypervisor-Based Systems 9

VServer Resource Isolation CPU Scheduling: use a token-bucket filter where each VM accumulates tokens at given rate. On a timer tick the VM using the CPU gets charged a token. VMs with a reservation accumulate tokens at a rate. VMs that have a share run only after those that have a reservation get the CPU. Network I/O: Hierarchical Token Bucket. Have a reserved rate for outgoing traffic and a share. Disk I/O: use Complete Fair Queueing Storage Limits: for memory and disk usage. Need some overbooking of memory for VMs to let them allocate more memory, but can use watchdog daemon to reset memory usage of memory hog when swap almost filled. 10

VServer Security Isolation Filters out processes outside of the current VM. Creates a fake pid of 1 for init. Networking subsystem shared amongst VMs issues if one VM is say receiving lots of network traffic. Uses copy-on-write in the file system to isolate file systems of VM, but reduce resource consumption file system unification. 11

VServer vs. Xen Performance Comparison Use standard configurations for each. All tests done on a uniprocessor (UP) vs Symmetric Multi-Processor (SMP) VServer has been integrated with PlanetLab. 12

Micro-Benchmarks Use lmbench for micro-benchmarks. Lots of overhead for Xen. Little difference between Linux and VServer. 13

System Benchmarks Use one guest VM for each test (along with host VM). Iperf for network bandwidth benchmark. VServer comparable to Linux while Xen at 60%. Xen on SMP could not achieve line rate. Why? Macro Benchmarks tone of the results is similar Linux and VServer comparable while Xen not as good. Disk performance is 25-35% less. Xen CPU and memory-bound performance a bit worse. OSDB scales best at two VMs for VServer and number of CPUs for Xen. 14

Isolation Similar disk and network I/O management for VServer and Xen. Looked at CPU with Fair Share for all VMs and found comparable results for both VServer and Xen. If one VM given a reservation of 25% then as shown in Table 3 VServer achieves performance much closer to this reservation. Xen does provide performance caps, but still not as good. Both show some performance impact with a competing active VM. 15

Summary Less overhead for VServer relative to Xen and shows up in performance tests. Xen does support multiple kernels. Would be nice to see response from Xen. Solid description of VServer and measurement work. 16