Status Report Ian Pratt University of Cambridge and Founder of XenSource Inc. Computer Laboratory.

Slides:



Advertisements
Similar presentations
Virtualization Dr. Michael L. Collard
Advertisements

Virtualization Technology
Xen 3.0 and the Art of Virtualization
Xen and the Art of Virtualization Ian Pratt University of Cambridge and Founder of XenSource Inc. Computer Laboratory.
Xen and the Art of Virtualization Ian Pratt University of Cambridge and Founder of XenSource Inc. Computer Laboratory.
Xen 3.0 and the Art of Virtualization Ian Pratt XenSource Inc. and University of Cambridge Keir Fraser, Steve Hand, Christian Limpach and many others…
Virtual Machine Technology Dr. Gregor von Laszewski Dr. Lizhe Wang.
Virtualisation From the Bottom Up From storage to application.
XEN AND THE ART OF VIRTUALIZATION Paul Barham, Boris Dragovic, Keir Fraser, Steven Hand, Tim Harris, Alex Ho, Rolf Neugebauer, lan Pratt, Andrew Warfield.
Bart Miller. Outline Definition and goals Paravirtualization System Architecture The Virtual Machine Interface Memory Management CPU Device I/O Network,
Live Migration of Virtual Machines Christopher Clark, Keir Fraser, Steven Hand, Jacob Gorm Hansen, Eric Jul, Christian Limpach, Ian Pratt, Andrew Warfield.
Copyright © Clifford Neuman - UNIVERSITY OF SOUTHERN CALIFORNIA - INFORMATION SCIENCES INSTITUTE USC CSci599 Trusted Computing Lecture Four –
Xen and the Art of Virtualization A paper from the University of Cambridge, presented by Charlie Schluting For CS533 at Portland State University.
Network Implementation for Xen and KVM Class project for E : Network System Design and Implantation 12 Apr 2010 Kangkook Jee (kj2181)
Xen and the Art of Virtualization Paul Barham, Boris Dragovic, Keir Fraser, Steven Hand, Tim Harris, Alex Ho, Rolf Neugebauer, Ian Pratt, Andrew Warfield.
Virtualizzazione: Xen. Tipi di virtualizzazione Singola immagine di SO (Virtuozo,…) –Usa container di risorse –Poco isolamento Virtualizzazione piena:VirtualBox,
Virtualization for Cloud Computing
Virtual Machine Monitors CSE451 Andrew Whitaker. Hardware Virtualization Running multiple operating systems on a single physical machine Examples:  VMWare,
Xen and the Art of Virtualization Paul Barham, Boris Dragovic, Keir Fraser, Steven Hand, Tim Harris, Alex Ho, Rolf Neugebauer, Ian Pratt, Andrew Warfield.
Xen and the Art of Virtualization. Introduction  Challenges to build virtual machines Performance isolation  Scheduling priority  Memory demand  Network.
E Virtual Machines Lecture 4 Device Virtualization
Tanenbaum 8.3 See references
Zen and the Art of Virtualization Paul Barham, et al. University of Cambridge, Microsoft Research Cambridge Published by ACM SOSP’03 Presented by Tina.
An Introduction to Xen Prof. Chih-Hung Wu
Microkernels, virtualization, exokernels Tutorial 1 – CSC469.
Chapter 5. Outline (2nd part)
Support for Smart NICs Ian Pratt. Outline Xen I/O Overview –Why network I/O is harder than block Smart NIC taxonomy –How Xen can exploit them Enhancing.
SAIGONTECH COPPERATIVE EDUCATION NETWORKING Spring 2010 Seminar #1 VIRTUALIZATION EVERYWHERE.
Virtualization The XEN Approach. Virtualization 2 CS5204 – Operating Systems XEN: paravirtualization References and Sources Paul Barham, et.al., “Xen.
Attilio Rao FreeBSD developers summit 2012 FreeBSD Xen status update.
Benefits: Increased server utilization Reduced IT TCO Improved IT agility.
Xen Overview for Campus Grids Andrew Warfield University of Cambridge Computer Laboratory.
Xen I/O Overview. Xen is a popular open-source x86 virtual machine monitor – full-virtualization – para-virtualization para-virtualization as a more efficient.
Virtualization Paul Krzyzanowski Distributed Systems Except as otherwise noted, the content of this presentation is licensed.
The Best of Both Worlds with On-Demand Virtualization Thawan Kooburat and Michael M. Swift On-Demand Virtualization allows systems to benefit from virtualization.
Xen and The Art of Virtualization Paul Barham, Boris Dragovic, Keir Fraser, Steven Hand, Tim Harris, Alex Ho, Rolf Neugebauer, Ian Pratt & Andrew Warfield.
CS533 Concepts of Operating Systems Jonathan Walpole.
Nathanael Thompson and John Kelm
 Virtual machine systems: simulators for multiple copies of a machine on itself.  Virtual machine (VM): the simulated machine.  Virtual machine monitor.
Outline for Today Announcements –1 st programming assignment coming soon. Objective of the lecture –OS and Virtual Machines.
Introduction to virtualization
Full and Para Virtualization
Lecture 12 Virtualization Overview 1 Dec. 1, 2015 Prof. Kyu Ho Park “Understanding Full Virtualization, Paravirtualization, and Hardware Assist”, White.
CSE 451: Operating Systems Winter 2015 Module 25 Virtual Machine Monitors Mark Zbikowski Allen Center 476 © 2013 Gribble, Lazowska,
Cloud Computing – UNIT - II. VIRTUALIZATION Virtualization Hiding the reality The mantra of smart computing is to intelligently hide the reality Binary->
E Virtual Machines Lecture 1 What is Virtualization? Scott Devine VMware, Inc.
Xen 3.0 and the Art of Virtualization Ian Pratt Keir Fraser, Steven Hand, Christian Limpach, Andrew Warfield, Dan Magenheimer (HP), Jun Nakajima (Intel),
Virtualization Neependra Khare
Open Source Virtualisation and Consolidation. Whoami ● Senior Linux and Open Source Consultant/ X-Tend ● „Infrastructure Architect“ ● Linux since.
CS 695 Topics in Virtualization and Cloud Computing, Autumn 2012 CS 695 Topics in Virtualization and Cloud Computing More Introduction + Processor Virtualization.
Open Source Virtualisation and Consolidation. Whoami ● Linux and Open Source Consultant ● „Infrastructure Architect“ ● Linux since 0.98 ● IANAKH ● Senior.
XEN – The Art of Virtualisation. So what is Virtualisation? ● Makes use of spare capacity ● Run multiple instances of OSes simultaneously ● Multitasking.
Virtualization-optimized architectures
Virtualization for Cloud Computing
Virtualization.
Virtual Machine Monitors
Xen and the Art of Virtualization
Presented by Yoon-Soo Lee
Virtualization Dr. Michael L. Collard
Xen and the Art of Virtualization
Virtualization overview
Xen: The Art of Virtualization
XenFS Sharing data in a virtualised environment
Group 8 Virtualization of the Cloud
OS Virtualization.
Xen 3.0 and the Art of Virtualization
Xen and the Art of Virtualization
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
Xen and the Art of Virtualization
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
Presentation transcript:

Status Report Ian Pratt University of Cambridge and Founder of XenSource Inc. Computer Laboratory

Overview  Xen Today:  Xen 3.0 Development Update  New benchmark results  Ongoing research

Xen Today : 2.0 Features  Secure isolation between VMs  Resource control and QoS  Only guest kernel needs to be ported  All user-level apps and libraries run unmodified  Linux 2.4/2.6, NetBSD, FreeBSD, Plan9  Execution performance is close to native  Supports the same hardware as Linux x86  Live Relocation of VMs between Xen nodes

Para-Virtualization in Xen  Arch xen_x86 : like x86, but replace privileged instructions with Xen hypercalls  Avoids binary rewriting and fault trapping  For Linux 2.6, only arch-dep files modified  Modify OS to understand virtualised env.  Wall-clock time vs. virtual processor time Xen provides both types of alarm timer  Expose real resource availability Enables OS to optimise behaviour  MMU virtualisation: direct vs. shadow mode

I/O Architecture  Xen IO-Spaces delegate guest OSes protected access to specified h/w devices  Virtual PCI configuration space  Virtual interrupts  Devices are virtualised and exported to other VMs via Device Channels  Safe asynchronous shared memory transport  ‘Backend’ drivers export to ‘frontend’ drivers  Net: use normal bridging, routing, iptables  Block: export any blk dev e.g. sda4,loop0,vg3

Xen 2.0 Architecture Event Channel Virtual MMUVirtual CPU Control IF Hardware (SMP, MMU, physical memory, Ethernet, SCSI/IDE) Native Device Driver GuestOS (XenLinux) Device Manager & Control s/w VM0 Native Device Driver GuestOS (XenLinux) Unmodified User Software VM1 Front-End Device Drivers GuestOS (XenLinux) Unmodified User Software VM2 Front-End Device Drivers GuestOS (XenBSD) Unmodified User Software VM3 Safe HW IF Xen Virtual Machine Monitor Back-End

Xen 3.0 Architecture Event Channel Virtual MMUVirtual CPU Control IF Hardware (SMP, MMU, physical memory, Ethernet, SCSI/IDE) Native Device Driver GuestOS (XenLinux) Device Manager & Control s/w VM0 Native Device Driver GuestOS (XenLinux) Unmodified User Software VM1 Front-End Device Drivers GuestOS (XenLinux) Unmodified User Software VM2 Front-End Device Drivers Unmodified GuestOS (WinXP)) Unmodified User Software VM3 Safe HW IF Xen Virtual Machine Monitor Back-End VT-x 32/64bit AGP ACPI PCI SMP

3.0 Headline Features  AGP/DRM in dom0  ACPI/PCI support in dom0  Support for SMP guests  x86_64 support  Intel VT-x support for unmodified guests  Enhanced control and management tools  Optimised inter-VM networking  IA64 and Power support, PAE36

x86_64  AMD Opteron and Intel EM64T  Requires different approach to plain x86  Can’t use segmentation to protect Xen from guest OS kernels  Switch page tables between kernel and user  Large VA space offers other optimisations  Current design supports up to 8TB mem  Call for user testing in ~2-3 weeks

SMP Guest OSes  Takes great care to get good performance while remaining secure  Paravirtualized approach yields many benefits  Avoids many virtual IPMIs  Need for better SMP-aware scheduler  Believed stable, optimisations pending

VT-x / Pacifica  Enables unmodified GuestOSes to be supported  Xen has excellent Shadow page table support  Requires simple platform emulation  Install paravirtualized drivers after booting for high-performance IO

4 th Generation Tools  Controlling Xen is easy, it’s coordinating the rest of the system that’s hard  Driver domains; firewall/routeing rules; shaping  LVM / filesystem image management  VM relocation  Resource measurement, control  Managing clusters of Xen nodes  Replace monolithic xend with tool suite communicating via The Registry

Live VM Relocation  Why is VM relocation useful?  Managing a pool of VMs running on a cluster  Taking nodes down for maintenance  Load balancing VMs across the cluster  Why is it a challenge?  VMs have lots of state  Some VMs will have soft real-time requirements E.g. web servers, databases, game servers  Can only commit limited resources to migration

VM Relocation Strategy

Writeable Working Set

Rate Limited Migration

Iterative Progress: SPECWeb

Iterative Progress: Quake3

Quake 3 Server migration

Research Roadmap  Cluster load balancing  Pre-migration analysis phase  Optimization over coarse timescales  Evacuating nodes for maintenance  Move easy to migrate VMs first  Storage-system support for VM clusters  Decentralized, data replication, copy-on-write  “Internet Suspend Resume”  Just rsync plus IPSec tunnels

Research Roadmap  Cluster load balancing algorithms  Exploit properties of live migration  System debugging and fault tolerance  Lightweight checkpointing, distributed watchpoints, deterministic replay  I/O interposition and replay  VM forking  Lightweight service replication, isolation  Secure virtualization  Multi-level secure Xen

Conclusions  Xen 3.0 release on-target!