Virtualization Redefined: Embedded virtualization through CGE7 and Docker. Paul Farmer Technical Solutions Engineering Manager MontaVista Software

Slides:



Advertisements
Similar presentations
Virtualization Dr. Michael L. Collard
Advertisements

Virtual Machine Technology Dr. Gregor von Laszewski Dr. Lizhe Wang.
Virtualisation From the Bottom Up From storage to application.
虛擬化技術 Virtualization Techniques
Profit from the cloud TM Parallels Dynamic Infrastructure AndOpenStack.
Introduction to Virtualization
CS-3013 & CS-502, Summer 2006 Virtual Machine Systems1 CS-502 Operating Systems Slides excerpted from Silbershatz, Ch. 2.
Network Implementation for Xen and KVM Class project for E : Network System Design and Implantation 12 Apr 2010 Kangkook Jee (kj2181)
Virtualization and the Cloud
Virtual Machines. Virtualization Virtualization deals with “extending or replacing an existing interface so as to mimic the behavior of another system”
European Organization for Nuclear Research Virtualization Review and Discussion Omer Khalid 17 th June 2010.
Virtualization B. Ramamurthy. References Practical Virtualization Solutions: Virtualization from the Trenches by K. Hess and A. Newman, Prentice-Hall.
Virtualization for Cloud Computing
A Brief Introduction To Virtualization Technologies Yin Yunqiao HP.
LINUX Virtualization Running other code under LINUX.
5205 – IT Service Delivery and Support
Tanenbaum 8.3 See references
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
Operating System Virtualization
Virtualization Virtualization is the creation of substitutes for real resources – abstraction of real resources Users/Applications are typically unaware.
An Introduction to Xen Prof. Chih-Hung Wu
Microkernels, virtualization, exokernels Tutorial 1 – CSC469.
Virtualization Lab 3 – Virtualization Fall 2012 CSCI 6303 Principles of I.T.
SAIGONTECH COPPERATIVE EDUCATION NETWORKING Spring 2010 Seminar #1 VIRTUALIZATION EVERYWHERE.
SAIGONTECH COPPERATIVE EDUCATION NETWORKING Spring 2009 Seminar #1 VIRTUALIZATION EVERYWHERE.
Virtualization. Virtualization  In computing, virtualization is a broad term that refers to the abstraction of computer resources  It is "a technique.
Virtualization Paul Krzyzanowski Distributed Systems Except as otherwise noted, the content of this presentation is licensed.
Virtualization: Not Just For Servers Hollis Blanchard PowerPC kernel hacker.
Virtual Machine and its Role in Distributed Systems.
Presented by John Marian, Andrew Buhr, and Alvin Chen.
COMS E Cloud Computing and Data Center Networking Sambit Sahu
Our work on virtualization Chen Haogang, Wang Xiaolin {hchen, Institute of Network and Information Systems School of Electrical Engineering.
High Performance Computing on Virtualized Environments Ganesh Thiagarajan Fall 2014 Instructor: Yuzhe(Richard) Tang Syracuse University.
Cloud Operating System Unit 09 Cloud OS Core Technology M. C. Chiang Department of Computer Science and Engineering National Sun Yat-sen University Kaohsiung,
Introduction to virtualization
Full and Para Virtualization
Introduction Why are virtual machines interesting?
Operating-System Structures
Cloud Computing Lecture 5-6 Muhammad Ahmad Jan.
VM vs Container Xen, KVM, VMware, etc. Hardware emulation / paravirtualization Can run different OSs on the same box Dozens of instances OS sprawl problem.
CSE 451: Operating Systems Winter 2015 Module 25 Virtual Machine Monitors Mark Zbikowski Allen Center 476 © 2013 Gribble, Lazowska,
E Virtual Machines Lecture 1 What is Virtualization? Scott Devine VMware, Inc.
Intro To Virtualization Mohammed Morsi
Open Source Virtualization Andrey Meganov RHCA, RHCX Consultant / VDEL
Virtualization Neependra Khare
Containers vs Others Xen, VMware, etc. ● Emulation/paravirtualization ● Can run different OSs on the same box ● Lower density/scalability ● OS sprawl problem.
XEN – The Art of Virtualisation. So what is Virtualisation? ● Makes use of spare capacity ● Run multiple instances of OSes simultaneously ● Multitasking.
Virtualization for Cloud Computing
Guide to Operating Systems, 5th Edition
A move towards Greener Planet
Introduction to Virtualization
Chapter 6: Securing the Cloud
Fundamentals Sunny Sharma Microsoft
Dockerize OpenEdge Srinivasa Rao Nalla.
Virtualization Dr. Michael L. Collard
Prepared by: Assistant prof. Aslamzai
Linux Containers Overview & Roadmap
Virtualization Virtualization is the creation of substitutes for real resources – abstraction of real resources Users/Applications are typically unaware.
Container-based Operating System Virtualization: A scalable, High-performance Alternative to Hypervisors Stephen Soltesz, Herbert Potzl, Marc E. Fiuczynski,
Containers and Virtualisation
Virtualization overview
Running other code under LINUX
Virtualization Virtualization is the creation of substitutes for real resources – abstraction of real resources Users/Applications are typically unaware.
Guide to Operating Systems, 5th Edition
Intro about Contanier and Docker Technology
SCONE: Secure Linux Containers Environments with Intel SGX
Virtualization Dr. S. R. Ahmed.
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
Hypervisor A hypervisor or virtual machine monitor (VMM) is computer software, firmware or hardware that creates and runs virtual machines. A computer.
Presentation transcript:

Virtualization Redefined: Embedded virtualization through CGE7 and Docker. Paul Farmer Technical Solutions Engineering Manager MontaVista Software

Setting the Stage Docker is a new leading container based technology that offers a more efficient and lightweight approach to application deployment. Using this technology together with CGE7 creates a powerful solution for key use-cases in the datacenter and networking in general. This presentation focuses on introducing Docker interoperation with CGE7.

Agenda Virtualization Technologies Performance Benchmarks Use Cases Docker Advantages CGE7 Advantages Summary Q&A

Virtualization Technologies

History of Virtualization Technologies Hypervisor on CP-40 and CP-67 from IBM chroot Virtualization with bare metal performance from MontaVista VMware workstation ESX server from VMware Virtual Server from Microsoft OpenVZ Solaris Containers LXC KVM CGE & Virtual Resource Manager from MontaVista Deterministic KVM from MontaVista Docker CGE7 from MontaVista Xen & QEMU Hypervisor on UNIX from IBM Java

Complexity of Virtualization Technologies Complexity Time OS Emulation HW Emulation HW Simulation Application Protection (MMU) CPU Virtualization (VT-x) Device Virtualization (VT-d ) Containers

Virtualization Technologies Containers are lightweight: – share the host OS kernel – share the host OS root filesystem wherever appropriate

Virtualization Technologies Docker provides a unified access to – Linux container technology (cgroups, namespaces) – Various container implementations (lxc, libvirt, libcontainer, etc.) ‘libcontainer’ is Docker’s implementation of container technology

Virtualization Technologies Docker – Underlying Technology

Performance Benchmarks

I/O Performance

IBM Research Report July, 2014

Real-time Latency Cyclictest Intel Ivy bridge based 4 core with hyper-threading (8 logical cores) each 2.2 GHz. 8 GB RAM

Math Performance IBM Research Report July, 2014

Random Access Performance IBM Research Report July, 2014

Security of Docker Containers

How secure are Docker containers? Intrinsic security of containers – Depends on kernel namespaces and cgroups feature – The code base has been around for more than 6 years Attack surface of the Docker daemon – currently Docker daemon requires root privileges, and you should therefore be careful – Solution: Two additional security improvements – Map the root user of a container to a non-root user of the Docker host, to mitigate the effects of a container-to-host privilege escalation; – Allow the Docker daemon to run without root privileges "Hardening" security features of the kernel – Linux Kernel Capabilities – Kernel with grsecurity and PaX – Linux Security Modules

Security in CGE7 Standards Conformance – CGL 5.0, STIG 2.0, USGv6, OSPP “Hardening” security features of the kernel – PaX, Linux capabilities, SELinux, etc. CVE - Common Vulnerabilities and Exposures Wide Deployment

Use Cases

Platform-as-a-Service (PaaS) Cloud

Containers-Based Multi-Tenancy in the Cloud

Bundling/Consolidating HW+SW Configurations in Network Servers Consolidate certain legacy applications all on the same platform Bundle HW plugin and SW plugin components with automatic configuration: – Launch Docker image automatically based on hot plugging of certain HW

Migration Between Legacy Virtualization and Containers Move applications dynamically to and from KVM Hypervisor-based applications to Docker-based application contained in either virtual machines or containers domains.

Cloud RAN

Docker Advantages

Portability across machines – A containers-based virtualization solution suitable for dynamic multi- node cloud deployments. – Live Migration capabilities. Security and Isolation of services and applications – Comply with legal or contractual obligations to isolate an application. – Prevent flawed applications from compromising the rest of the system. Limit resource usage – Get higher density and run more workloads. Application-centric, easy and fast removal and addition

Docker Advantages Copy-on-write mechanism – Every instance of your Docker image uses the same files until one of them needs to change a file. – Better utilization of system memory. – Higher density of containers for a given resource than other container implementations. Version control Container Repository Component reuse – Reducing the cycle time of development, testing and deployment – Easy to deploy PaaS-type solutions Active Community

Docker Security If you really have to give root, give looks-like-root If that’s not enough, give root but build another wall Don’t run regular applications as root – Remove SUID binaries, SUID bit, mount file system with nosuid – Limit available syscalls (seccomp-bpf = whitelist/blacklist syscalls) – SELinux (assign different security contexts to containers) System services do not all have to be run as root – whitelist/blacklist devices – Prevent unauthorized access control (AppArmor, SELinux)

CGE7 Advantages

Virtualization in CGE7 Virtualization in CGE7 offers the best combination of flexibility, performance and ease of application development 1. KVM Hypervisor Full virtualization with Paravirtualization options 2. Linux Containers Operating system resource virtualization (lxc, Docker) 3. Core Isolation

Multicore I/O Symmetry Intel Multiprocessor Specification Version 1.4

“Carrier Grade Docker” Advantages Combining Docker with an embedded, Carrier Grade distributions, such as CGE7, offers several advantages over plain desktop distributions: 100% native Linux with real-time performance features including hrtimers, core isolation and other enhancements Support for various virtualization technologies – You can choose the right virtualization technology for the right problem. Long term commercial support options with customizable models for different use-cases The same advantages can be extended to Cloud components like OpenStack – Full use-case support using a single baseline.

Multi-Architecture support for Docker True multi-architecture platform with support for ARM64 exists today in Embedded Baselines (like MV CGE7) – Enables Docker on all these architectures Best approach is align with community development – Linaro Networking Group (LNG) – GNU GCC (4.9+) with Go support (gccgo) Support on a single Carrier-Grade Baseline provides the best stability and deployability on the field

Summary

Which Virtualization Solution Do You Choose? Performance Requirements? Functionality and ease of use? How much legacy content do you want to preserve?

Questions?

Backup / rough slides

Performance Benchmarks Host v/s Docker v/s KVM Real-time Latency Network Performance Process related latency File-system Performance

1. Real-time Latency Cyclictest

2. Network Performance netperf

3. Process Creation lat_proc (lmbench)

4. Page Fault lat_pagefault (lmbench)

4. File-system Read Performance IOzone

4. File-system Write Performance IOzone