VM vs Container Xen, KVM, VMware, etc. ● Hardware emulation / paravirtualization ● Can run different OSs on the same box ● Dozens of instances ● OS sprawl.

Slides:



Advertisements
Similar presentations
Computer Laboratory Virtualizing the Data Center with Xen Steve Hand University of Cambridge and XenSource.
Advertisements

Virtual Machine Technology Dr. Gregor von Laszewski Dr. Lizhe Wang.
Profit from the cloud TM Parallels Dynamic Infrastructure AndOpenStack.
© 2010 VMware Inc. All rights reserved Confidential Performance Tuning for Windows Guest OS IT Pro Camp Presented by: Matthew Mitchell.
Virtual Machines What Why How Powerpoint?. What is a Virtual Machine? A Piece of software that emulates hardware.  Might emulate the I/O devices  Might.
KVM and Container Performance and Isolation Deep Dive.
1 Disco: Running Commodity Operating Systems on Scalable Multiprocessors Edouard Bugnion, Scott Devine, and Mendel Rosenblum, Stanford University, 1997.
KVM/ARM: The Design and Implementation of the Linux ARM Hypervisor Fall 2014 Presented By: Probir Roy.
Virtualization for Cloud Computing
Virtual Machine Monitors CSE451 Andrew Whitaker. Hardware Virtualization Running multiple operating systems on a single physical machine Examples:  VMWare,
LINUX Virtualization Running other code under LINUX.
Container-based OS Virtualization A Scalable, High-performance Alternative to Hypervisors Stephen Soltesz, Herbert Pötzl, Marc Fiuczynski, Andy Bavier.
To run the program: To run the program: You need the OS: You need the OS:
Measuring zSeries System Performance Dr. Chu J. Jong School of Information Technology Illinois State University 06/11/2012 Sponsored in part by Deer &
E Virtual Machines Lecture 4 Device Virtualization
Tanenbaum 8.3 See references
Making the Virtualization Decision. Agenda The Virtualization Umbrella Server Virtualization Architectures The Players Getting Started.
CS 149: Operating Systems April 21 Class Meeting
Dual Stack Virtualization: Consolidating HPC and commodity workloads in the cloud Brian Kocoloski, Jiannan Ouyang, Jack Lange University of Pittsburgh.
Hosting Virtual Networks on Commodity Hardware VINI Summer Camp.
Microkernels, virtualization, exokernels Tutorial 1 – CSC469.
Linux Virtualization Technology Alternatives Kir Kolyshkin OpenVZ project manager Rencontres Mondiales du Logiciel Libre 13 July 2007.
An overview of OpenVZ virtualization technology Kir Kolyshkin OpenVZ project manager Gelato ICE 17 Apr 2007.
Xen Overview for Campus Grids Andrew Warfield University of Cambridge Computer Laboratory.
Virtualization Paul Krzyzanowski Distributed Systems Except as otherwise noted, the content of this presentation is licensed.
VirtualBox What you need to know to build a Virtual Machine.
Recent advances in the Linux kernel resource management Kir Kolyshkin, OpenVZ
Our work on virtualization Chen Haogang, Wang Xiaolin {hchen, Institute of Network and Information Systems School of Electrical Engineering.
4061 Session 27 (4/23). Today Virtual Machines and Emulation.
Containers are the future of Cloud Pavel Odintsov CTO, FastVPS Eesti OU
 Virtual machine systems: simulators for multiple copies of a machine on itself.  Virtual machine (VM): the simulated machine.  Virtual machine monitor.
Performance Comparison Xen vs. KVM vs. Native –Benchmarks: SPEC CPU2006, SPEC JBB 2005, SPEC WEB, TPC –Case studies Design instrumentations for figure.
Introduction to virtualization
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Full and Para Virtualization
Virtualization One computer can do the job of multiple computers, by sharing the resources of a single computer across multiple environments. Turning hardware.
VM vs Container Xen, KVM, VMware, etc. Hardware emulation / paravirtualization Can run different OSs on the same box Dozens of instances OS sprawl problem.
© 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Understanding Virtualization Overhead.
Virtualization Redefined: Embedded virtualization through CGE7 and Docker. Paul Farmer Technical Solutions Engineering Manager MontaVista Software
Intro To Virtualization Mohammed Morsi
Linux Virtualization Kir Kolyshkin OpenVZ project manager.
Open Source Virtualization Andrey Meganov RHCA, RHCX Consultant / VDEL
Open Source Virtualisation and Consolidation. Whoami ● Linux and Open Source Consultant ● „Infrastructure Architect“ ● Linux since 0.98 ● IANAKH ● Senior.
Linux Virtualization Kir Kolyshkin OpenVZ project manager.
9/30/2016 OpenVZ: Linux Containers Kir Kolyshkin LinuxCon 2009, Portland.
Containers vs Others Xen, VMware, etc. ● Emulation/paravirtualization ● Can run different OSs on the same box ● Lower density/scalability ● OS sprawl problem.
An overview of OpenVZ virtualization technology Kir Kolyshkin OpenVZ project manager Gelato ICE 17 Apr 2007.
XEN – The Art of Virtualisation. So what is Virtualisation? ● Makes use of spare capacity ● Run multiple instances of OSes simultaneously ● Multitasking.
Virtualization which isn't LXC (Linux Containers) Dobrica Pavlinušić DORS/CLUC, Zagreb,
Seven Problems of Linux Containers
Virtualization for Cloud Computing
Introduction to Virtualization
Virtualization.
Virtual Machine Monitors
Virtualization in Grid Rock
Presented by Yoon-Soo Lee
London OpenStack Meetup, July 2012 libvirt & KVM with OpenStack Nova
Linux Containers Overview & Roadmap
Container-based Operating System Virtualization: A scalable, High-performance Alternative to Hypervisors Stephen Soltesz, Herbert Potzl, Marc E. Fiuczynski,
Building a Virtual Infrastructure
Practical Applications of Virtualization
Containers and Virtualisation
Java Win32 native Java VM Linux OS ARM VM Runtime Windows OS
Virtualization overview
MOM + oVirt: Nurturing our Virtual Machines
Disco: Running Commodity Operating Systems on Scalable Multiprocessors
Running other code under LINUX
Group 8 Virtualization of the Cloud
OS Virtualization.
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
Presentation transcript:

VM vs Container Xen, KVM, VMware, etc. ● Hardware emulation / paravirtualization ● Can run different OSs on the same box ● Dozens of instances ● OS sprawl problem ● Lower performance ● Chroot on steroids ● Single OS per box+ ● Hundreds of instances ● Dynamic resource management, best scalability ● No performance overhead

OpenVZ vs. Xen comparison by HP labs ● “For all the configurations and workloads we have tested, Xen incurs higher virtualization overhead than OpenVZ does.” ● “For all the cases tested, the virtualization overhead observed in OpenVZ is low, and can be neglected in many scenarios.” ● “The two nodes running Xen become overloaded when hosting four instances of RUBiS, whereas those using OpenVZ can host at least six without being overloaded.” From

New Stuff ● RHEL6 kernel port ● VSwap: easy management, RSS reclamation ● Containers CPU binding (cpumask) ● PCI device delegation ● NFS mounts migration ● Journaled quota ● ext4 safe writeback

Future directions ● Mainstream kernel integration ● Container in a file a.k.a. PLOOP – Come to see our talk! ● CRIU: checkpoint/restore in userspace ● Caching de-duplicating FS (pfscache)

Mainstream kernel integration ● OpenVZ project pioneers container technology – Developing new container technology since Features then ported from OpenVZ to upstream Linux “containers”. ● Already upstream (in Linux containers): – IPC namespace, utsname() virtualization, PID namespace, user namespace, cgroups (control groups), Memory controllers (RSS, page cache), Network namespace... – Collaborative community effort: IBM, Google, SGI, Parallels, and many others. ● It's still ongoing – In progress: NFS virtualization, network buffer accounting, Checkpoint/restart in userspace – TODO: Kernel memory accounting,...

To sum it up ● Containers scale as well as Linux does – Benefit from all Linux performance improvements – Native I/O speed, best possible performance – The more memory/CPUs the merrier ● Platform-independent – as long as Linux supports it, we support it – arm/mips/ppc no problem. ● Plays well with others (Xen, KVM, VMware) – VM and container technologies are orthogonal – run containers and VMs side by side