Virtualization, Xen and Denali
|
|
- Diana Holland
- 6 years ago
- Views:
Transcription
1 Virtualization, Xen and Denali Susmit Shannigrahi November 9, 2011 Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
2 Introduction Virtualization is the technology to allow two or more OSes one one hardware. Virtualization = Abstraction. More powerful computers mean less utilization. Virtualization is not new, it dates back to the 1960s. CP-40 for S/360 was the first operating system that implemented complete virtualization. The goal was to test other OSes for S/360. S/ mainframes are still used. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
3 Why Save hardware cost. Save maintainance and running costs. Properly utilize hardware. Get best of all OSes. Maintain legacy software. Good testing platform. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
4 Types Too many keywords and terminology Can be categorized into three main categories: Full Virtualization Hardware assisted Para Virtualization Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
5 Terminology Hypervisor / Virtual Machine Monitor Ring 0..4 Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
6 Normal OS Execution Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
7 Bare Metal Virtualization Note that there is no underlying OS. Hypervisor communicates directly with the hardware. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
8 Bare Metal Virtualization - I/O - I Virtual machines share the I/O devices: ethernet, hard drives etc. Hypervisor must have a low-level drivers to communicate with the devices. Hypervisor must emulate each shared devices. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
9 Bare Metal Virtualization - I/O - II Assign individual devices to specific virtual machines. Called partitioning. I/O devices can be accessed directly from VMs using native drivers. Less intervention by VMM improves I/O performance. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
10 Hosted Virtualization Each virtual machine has access to limited I/O devices. Host provides an emulated view of actual hardware. Some hardware can not be emulated, generic hardware is offered. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
11 Hosted Virtualization I/O is pretty complex in here. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
12 Hosted Virtualization - Benefits and Drawbacks Benefits: Ease of installation and configuration. Run on almost all hardware. Drawbacks: No RTOS. Performance penalty. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
13 Full Virtualization - I Insert a Vitual Machine Manager between hardware and OS. VMM is common for all OSes running on that hardware. In this approach, VMM is directly installed on bare metal. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
14 Full Virtualization - Benefits and Drawbacks Benefits: Improved I/O performance. Supports real time OSes because deterministic performance is possible. Can run generic and RTOS is parallel. Drawbacks: More drivers need to be written and incorporated in VMM. More difficult to install and configure. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
15 Hardware Assist Instead of implementing the VMM in software, move it to hardware. Directly trap system calls and send to hardware. Need newer processors -Intel VT-x or AMD-V. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
16 Hardware Assist - Benefits and Drawbacks Benefits: Closer to hardware, better performance. Drawbacks: Implemented in Hardware, little room for flexibility. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
17 Paravirtualization Software interface to virtual machines pretty close(not exact) to underlying hardware. Paravirtualization provides specially defined hooks for tasks. The host operating system is modified and ported for para-api. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
18 Virtualization Comparison Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
19 References paravirtualization.pdf Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
20 Xen and the Art of Virtualization Pal Barham et. al. SOSP 03 Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
21 Xen and requirements for concurrent performance Xen - High performance resource managed virtual machine monitors. VMs isolated form one another. Commodity machines running commodity OSes. Performance overhead of virtualization should be low. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
22 Features Some source modifications needed for Xen. Dynamic instantiation of OS. Multiple OS on a shared system is the easiest way to go. System administration is a nightmare for such a complex system. Not enough isolation. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
23 Isolation Support for isolation at the operating system level. Multiplexes physical resources on per OS basis. Reduces interference between OSes. A bit more heavyweight. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
24 Xen- approach Unmodified binary support needed. Full OS support needed. But full virtualization was never supported on X86. Workarounds possible, but complex. Solution: Paravirtualization. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
25 VM interfaces Memory management CPU I/O devices Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
26 Memory Management Most difficult part. Hypervisor support and modifications in each guest OS. X86 does not have a software managed TLB. Complete TLB flush for each OS. In Xen, guest OSes are responsible for hardware page tables. Xen acts as a proxy to page table/tlb. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
27 CPU Generally, OSes are the most privileged entity. In virtualization, they should have lower privilege than VMM. Guest OSes run on lower privileged level of apps. Privileged instructions are paravirtualized, validated and executed via xen. Exceptions are registered with Xen, which creates a copy of exception stack. Safety is ensured by validating exception handlers. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
28 Device I/O Abstraction, not emulation. All I/O via Xen, shared memory, asynchronous. High performance, Xen does validation. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
29 LOC cost for porting OSes Linux XP Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
30 Control and Management Policies are separate from mechanisms. Policy decisions are in software on guestoses. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
31 Control and Data transfer Domain to Xen => hypercall. Xen to domain => asynchronous event notifications. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
32 Subsystem Virtualization - CPU Scheduling Borrowed Virtual Time Scheduling. With BVT scheduling, thread execution time is monitored in terms of virtual time. It dispatches the runnable thread with the earliest effective virtual time (EVT). However, a latency-sensitive thread is allowed to warp back in virtual time. It borrows time from CPU to gain preference. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
33 Subsystem Virtualization - Time Guest OSes are provided with real time, virtual time, wall-clock time. Guest OS can have two timers, for real and virtual timers. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
34 Subsystem Virtualization - Physical Memory Initial allocation at the time of creation. Statically partitioned between guests. Max reservation can also be specified. Memory allocation is sparse. Physical to logical mapping is on GuestOS. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
35 Network Xen provides Virtual Firewall Router. Each VM has virtual interfaces connected to the VFR. For transmitting a packet, GuestOS en-queues a buffer descriptor on the transmit ring. Xen copies the descriptor and header. Transmission using scatter gather DMA. Received packets directly written to a page frame (frame exchange). Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
36 Disk VMs access persistent storage through virtual block devices. Only host OS have unchecked access to hardware. Xen uses RR between competing VMs in batch. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
37 Performance Evaluation Dell GHz Xeon Server 2GB Ram Broadcom 3Gbps NIC Hitachi 146GB 10K RPM SCSI Disk. Linux i686 kernel. RedHat 7.2 on ext3 file system. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
38 Relative performance SPEC INT = CPU scheduling, OSDB = DB benchmark (postgres), dbench = FS, WEB99 = web hosting (apache 1.3) Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
39 Network Performance 400 MB transfer. Socket buffer size = 128Kb. Uses ttcp. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
40 Scalability Target 100 VMs. RH7.2 clients. Reservation of 64MB on boot. Minimize page usage reduces memory footprint to 6.2 MB. Swap allowed reduction to 4.2 MB. 20kB swap per domain. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
41 Optimizing Network Virtualization in Xen Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
42 Goal Retain Xen architecture. Redefine virtual network interfaces. Optimize implementation of data transfer path between guest and driver domains. Support for Guest OS to effectively utilize advanced virtual memory. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
43 Network I/O architecture in Xen Host OS uses native drivers to access I/O directly. GuestOSes use virtual interfaces. Zero copy data transfer between backend and virtual interfaces. Remaps physical page into target domain. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
44 Stock performance - Xen Much higher overhead. 60% time for transfer from physical to virtual. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
45 Virtual Interface Optimization - New I/O architecture Checksum offloading, scatter-gather I/O, TCP segmentation offloading. Guest can transmit network packets much larger than network MTU. Offload driver takes care of functionality not supported by NIC. For the functionality supported by NIC, hand packets over to it. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
46 Advantages Reduce network processing overhead by handing some overhead to NIC. Most of the overhead is logical to physical interface transfer. Bulk transfer reduces per-packet overhead. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
47 I/O channel optimization 30-40% execution time spent in Xen VMM. Page remapping, ownership transfer. Three address remap and two memory allocation fo each packet receive. Two remap for each transmit. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
48 Alternate approach - Transmit path optimization I/O channel augmented with out-of-band header channel using shared pages. Guest passes the headers to the driver. Driver examines the header and if possible, constructs the packet from unmapped fragments. Network driver uses only physical addresses, so unmapped page passing is safe. NIC must support gather DMA. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
49 Alternate approach - Receive path optimization Xen uses page remapping to avoid data copy. Multiple small packets : Copy is cheaper. Even all transfer by data copy results in small improvement. Data copy is done by using shared memory. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
50 Virtual memory modifications Introduces super page mapping (contiguous virtual address to physical address), global page table mapping. Modified Xen and Guest OSes to support these. Improves performance. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
51 Evaluation - Transmit Xen, Xen-driver, Xen-driver-opt achieve 3760Mb/S. CPU utilization 40, 46, 43%. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
52 Evaluation - Receive Native: 2508Mb/s, Xen-driver:1738Mb/s, Xen-driver-opt: 2343Mb/s. Guest: Xen: 820Mb/s, Xen-Opt: 970Mb/s. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
53 Evaluation - High Level Interface Shows the overheads (in million CPU cycles/second) High level interfaces are useful. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
54 Reduced overhead. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70 Evaluation - I/O channel optimization I/O channel with high level interfaces. Improves performance from 2794Mb/s to 3239Mb/s.
55 Denali: Lighweight Virtual Machines for Distributed and Networked Applications Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
56 High level picture Many independent, untrusted servers on a single machine. Aggressive use of par-virtualization. Should scale up to order of magnitude compared to existing VMs. Prototype VMM, prototype guest OS. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
57 Lightweight protection domain Strong isolation Scales to many protected domains Rapid swapping of services. Sharing across domains is infrequent. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
58 Denali - VMM Isolation: The unit of protection is services, not users. No sharing if not over network. Data private to VM. File system, network stacks on guest OS. Each VM has private namespaces. No global namespace. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
59 Denali - performance isolation Fairness in resource sharing across services. Does not provide any performance guarantee. Virtual hardware devices within the VMM act as queues of resources. Exposes hardware resources to all VMs. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
60 Denali - Design Uses para-virtualization for scaling. No idle loop for VMs, idle instruction similar to sleep instead. VM remains unscheduled after idle instruction. Second issue is virtual interrupt dispatching. Asynchronous interrupt dispatch mechanism, interrupts are queues until VM runs. Interrupt means something happened, not just happened. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
61 Para-virtualization in Denali Enables Denali to remove unnecessary components. Does not expose a virtual memory hardware. All VMs use single address space. Exposes a small number of generic I/O devices. Currently supports an NIC, timer, console, keyboard. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
62 Yakima VMM Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
63 Yakima VMM OSKit for hardware abstraction. RR CPU at core. Emulates ethernet subnet. Allocates static physical memory. Supervisor VM for booting the VMM. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
64 Ilwaco guest OS Based on FreeBSD. Uses BSD kernel. Console I/O via printf, scanf. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
65 Benchmarks 1700MHz P4 with 256KB L2 cache. 1GB Ram. Intel Gigabit Ethernet card bytes of MTUs. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
66 Context switch time Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
67 Packer processing overhead 100 and 1400 bytes UDP packets. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
68 TCP/IP performance Latency increases with number of machines. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
69 Discussions Xen and Denali has different goals. Both have their design trade-offs. Xen is well established while Denali is more of a proof of concept. In either cases, performance improvements are active area of research. Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
70 Thank You Susmit Shannigrahi () Virtualization, Xen and Denali November 9, / 70
Lecture 7. Xen and the Art of Virtualization. Paul Braham, Boris Dragovic, Keir Fraser et al. 16 November, Advanced Operating Systems
Lecture 7 Xen and the Art of Virtualization Paul Braham, Boris Dragovic, Keir Fraser et al. Advanced Operating Systems 16 November, 2011 SOA/OS Lecture 7, Xen 1/38 Contents Virtualization Xen Memory CPU
More informationXen and the Art of Virtualization. CSE-291 (Cloud Computing) Fall 2016
Xen and the Art of Virtualization CSE-291 (Cloud Computing) Fall 2016 Why Virtualization? Share resources among many uses Allow heterogeneity in environments Allow differences in host and guest Provide
More informationXen and the Art of Virtualization. Nikola Gvozdiev Georgian Mihaila
Xen and the Art of Virtualization Nikola Gvozdiev Georgian Mihaila Outline Xen and the Art of Virtualization Ian Pratt et al. I. The Art of Virtualization II. Xen, goals and design III. Xen evaluation
More informationXen and the Art of 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 University of Cambridge Computer Laboratory Presented
More informationVMMS: DISCO AND XEN CS6410. Ken Birman
VMMS: DISCO AND XEN CS6410 Ken Birman Disco (First version of VMWare) Edouard Bugnion, Scott Devine, and Mendel Rosenblum Virtualization 3 a technique for hiding the physical characteristics of computing
More informationBackground. IBM sold expensive mainframes to large organizations. Monitor sits between one or more OSes and HW
Virtual Machines Background IBM sold expensive mainframes to large organizations Some wanted to run different OSes at the same time (because applications were developed on old OSes) Solution: IBM developed
More informationAdvanced Operating Systems (CS 202) Virtualization
Advanced Operating Systems (CS 202) Virtualization Virtualization One of the natural consequences of the extensibility research we discussed What is virtualization and what are the benefits? 2 Virtualization
More informationVirtual Machines Disco and Xen (Lecture 10, cs262a) Ion Stoica & Ali Ghodsi UC Berkeley February 26, 2018
Virtual Machines Disco and Xen (Lecture 10, cs262a) Ion Stoica & Ali Ghodsi UC Berkeley February 26, 2018 Today s Papers Disco: Running Commodity Operating Systems on Scalable Multiprocessors, Edouard
More informationCloud Computing Virtualization
Cloud Computing Virtualization Anil Madhavapeddy anil@recoil.org Contents Virtualization. Layering and virtualization. Virtual machine monitor. Virtual machine. x86 support for virtualization. Full and
More informationCOMPUTER ARCHITECTURE. Virtualization and Memory Hierarchy
COMPUTER ARCHITECTURE Virtualization and Memory Hierarchy 2 Contents Virtual memory. Policies and strategies. Page tables. Virtual machines. Requirements of virtual machines and ISA support. Virtual machines:
More informationI/O and virtualization
I/O and virtualization CSE-C3200 Operating systems Autumn 2015 (I), Lecture 8 Vesa Hirvisalo Today I/O management Control of I/O Data transfers, DMA (Direct Memory Access) Buffering Single buffering Double
More informationLinux and Xen. Andrea Sarro. andrea.sarro(at)quadrics.it. Linux Kernel Hacking Free Course IV Edition
Linux and Xen Andrea Sarro andrea.sarro(at)quadrics.it Linux Kernel Hacking Free Course IV Edition Andrea Sarro (andrea.sarro(at)quadrics.it) Linux and Xen 07/05/2008 1 / 37 Introduction Xen and Virtualization
More informationCOS 318: Operating Systems. Virtual Machine Monitors
COS 318: Operating Systems Virtual Machine Monitors Prof. Margaret Martonosi Computer Science Department Princeton University http://www.cs.princeton.edu/courses/archive/fall11/cos318/ Announcements Project
More informationVirtualization with XEN. Trusted Computing CS599 Spring 2007 Arun Viswanathan University of Southern California
Virtualization with XEN Trusted Computing CS599 Spring 2007 Arun Viswanathan University of Southern California A g e n d a Introduction Virtualization approaches Basic XEN Architecture Setting up XEN Bootstrapping
More informationModule 1: Virtualization. Types of Interfaces
Module 1: Virtualization Virtualization: extend or replace an existing interface to mimic the behavior of another system. Introduced in 1970s: run legacy software on newer mainframe hardware Handle platform
More informationVirtualization. Pradipta De
Virtualization Pradipta De pradipta.de@sunykorea.ac.kr Today s Topic Virtualization Basics System Virtualization Techniques CSE506: Ext Filesystem 2 Virtualization? A virtual machine (VM) is an emulation
More informationVIRTUALIZATION: IBM VM/370 AND XEN
1 VIRTUALIZATION: IBM VM/370 AND XEN CS6410 Hakim Weatherspoon IBM VM/370 Robert Jay Creasy (1939-2005) Project leader of the first full virtualization hypervisor: IBM CP-40, a core component in the VM
More informationVirtualization. Part 1 Concepts & XEN
Part 1 Concepts & XEN Concepts References and Sources James Smith, Ravi Nair, The Architectures of Virtual Machines, IEEE Computer, May 2005, pp. 32-38. Mendel Rosenblum, Tal Garfinkel, Virtual Machine
More informationXen and the Art of Virtualiza2on
Paul Barham, Boris Dragovic, Keir Fraser, Steven Hand, Tim Harris, Alex Ho, Rolf Neugebauer, Ian PraF, Andrew Warfield University of Cambridge Computer Laboratory Kyle SchuF CS 5204 Virtualiza2on Abstrac2on
More informationCSC 5930/9010 Cloud S & P: Virtualization
CSC 5930/9010 Cloud S & P: Virtualization Professor Henry Carter Fall 2016 Recap Network traffic can be encrypted at different layers depending on application needs TLS: transport layer IPsec: network
More informationImplementation and Analysis of Large Receive Offload in a Virtualized System
Implementation and Analysis of Large Receive Offload in a Virtualized System Takayuki Hatori and Hitoshi Oi The University of Aizu, Aizu Wakamatsu, JAPAN {s1110173,hitoshi}@u-aizu.ac.jp Abstract System
More informationLecture 5: February 3
CMPSCI 677 Operating Systems Spring 2014 Lecture 5: February 3 Lecturer: Prashant Shenoy Scribe: Aditya Sundarrajan 5.1 Virtualization Virtualization is a technique that extends or replaces an existing
More informationThe Challenges of X86 Hardware Virtualization. GCC- Virtualization: Rajeev Wankar 36
The Challenges of X86 Hardware Virtualization GCC- Virtualization: Rajeev Wankar 36 The Challenges of X86 Hardware Virtualization X86 operating systems are designed to run directly on the bare-metal hardware,
More informationCSE 120 Principles of Operating Systems
CSE 120 Principles of Operating Systems Spring 2018 Lecture 16: Virtual Machine Monitors Geoffrey M. Voelker Virtual Machine Monitors 2 Virtual Machine Monitors Virtual Machine Monitors (VMMs) are a hot
More informationVirtualization and memory hierarchy
Virtualization and memory hierarchy Computer Architecture J. Daniel García Sánchez (coordinator) David Expósito Singh Francisco Javier García Blas ARCOS Group Computer Science and Engineering Department
More informationNested Virtualization and Server Consolidation
Nested Virtualization and Server Consolidation Vara Varavithya Department of Electrical Engineering, KMUTNB varavithya@gmail.com 1 Outline Virtualization & Background Nested Virtualization Hybrid-Nested
More informationChapter 5 C. Virtual machines
Chapter 5 C Virtual machines Virtual Machines Host computer emulates guest operating system and machine resources Improved isolation of multiple guests Avoids security and reliability problems Aids sharing
More informationFairness Issues in Software Virtual Routers
Fairness Issues in Software Virtual Routers Norbert Egi, Adam Greenhalgh, h Mark Handley, Mickael Hoerdt, Felipe Huici, Laurent Mathy Lancaster University PRESTO 2008 Presenter: Munhwan Choi Virtual Router
More informationVirtual Machine Monitors (VMMs) are a hot topic in
CSE 120 Principles of Operating Systems Winter 2007 Lecture 16: Virtual Machine Monitors Keith Marzullo and Geoffrey M. Voelker Virtual Machine Monitors Virtual Machine Monitors (VMMs) are a hot topic
More informationOS Virtualization. Why Virtualize? Introduction. Virtualization Basics 12/10/2012. Motivation. Types of Virtualization.
Virtualization Basics Motivation OS Virtualization CSC 456 Final Presentation Brandon D. Shroyer Types of Virtualization Process virtualization (Java) System virtualization (classic, hosted) Emulation
More informationVirtualization and Virtual Machines. CS522 Principles of Computer Systems Dr. Edouard Bugnion
Virtualization and Virtual Machines CS522 Principles of Computer Systems Dr. Edouard Bugnion Virtualization and Virtual Machines 2 This week Introduction, definitions, A short history of virtualization
More informationCHAPTER 16 - VIRTUAL MACHINES
CHAPTER 16 - VIRTUAL MACHINES 1 OBJECTIVES Explore history and benefits of virtual machines. Discuss the various virtual machine technologies. Describe the methods used to implement virtualization. Show
More informationPerformance & Scalability Testing in Virtual Environment Hemant Gaidhani, Senior Technical Marketing Manager, VMware
Performance & Scalability Testing in Virtual Environment Hemant Gaidhani, Senior Technical Marketing Manager, VMware 2010 VMware Inc. All rights reserved About the Speaker Hemant Gaidhani Senior Technical
More informationNetwork device virtualization: issues and solutions
Network device virtualization: issues and solutions Ph.D. Seminar Report Submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy by Debadatta Mishra Roll No: 114050005
More informationSpring 2017 :: CSE 506. Introduction to. Virtual Machines. Nima Honarmand
Introduction to Virtual Machines Nima Honarmand Virtual Machines & Hypervisors Virtual Machine: an abstraction of a complete compute environment through the combined virtualization of the processor, memory,
More informationCS 350 Winter 2011 Current Topics: Virtual Machines + Solid State Drives
CS 350 Winter 2011 Current Topics: Virtual Machines + Solid State Drives Virtual Machines Resource Virtualization Separating the abstract view of computing resources from the implementation of these resources
More information24-vm.txt Mon Nov 21 22:13: Notes on Virtual Machines , Fall 2011 Carnegie Mellon University Randal E. Bryant.
24-vm.txt Mon Nov 21 22:13:36 2011 1 Notes on Virtual Machines 15-440, Fall 2011 Carnegie Mellon University Randal E. Bryant References: Tannenbaum, 3.2 Barham, et al., "Xen and the art of virtualization,"
More informationVirtual Machines. Part 2: starting 19 years ago. Operating Systems In Depth IX 1 Copyright 2018 Thomas W. Doeppner. All rights reserved.
Virtual Machines Part 2: starting 19 years ago Operating Systems In Depth IX 1 Copyright 2018 Thomas W. Doeppner. All rights reserved. Operating Systems In Depth IX 2 Copyright 2018 Thomas W. Doeppner.
More informationCS370 Operating Systems
CS370 Operating Systems Colorado State University Yashwant K Malaiya Fall 2017 Lecture 27 Virtualization Slides based on Various sources 1 1 Virtualization Why we need virtualization? The concepts and
More informationVirtual Memory. Lecture for CPSC 5155 Edward Bosworth, Ph.D. Computer Science Department Columbus State University
Virtual Memory Lecture for CPSC 5155 Edward Bosworth, Ph.D. Computer Science Department Columbus State University Precise Definition of Virtual Memory Virtual memory is a mechanism for translating logical
More informationDISCO and Virtualization
DISCO and Virtualization 1. Announcements: a. Project now due Friday at 9 pm b. Class moving to CS 1325 starting Thursday. 2. Questions from reviews: a. NFS scalability bottleneck? i. Yes, other things
More informationThe Architecture of Virtual Machines Lecture for the Embedded Systems Course CSD, University of Crete (April 29, 2014)
The Architecture of Virtual Machines Lecture for the Embedded Systems Course CSD, University of Crete (April 29, 2014) ManolisMarazakis (maraz@ics.forth.gr) Institute of Computer Science (ICS) Foundation
More informationCprE Virtualization. Dr. Yong Guan. Department of Electrical and Computer Engineering & Information Assurance Center Iowa State University
Virtualization Dr. Yong Guan Department of Electrical and Computer Engineering & Information Assurance Center Iowa State University Outline for Today s Talk Introduction Virtualization Technology Applications
More informationCLOUD COMPUTING IT0530. G.JEYA BHARATHI Asst.Prof.(O.G) Department of IT SRM University
CLOUD COMPUTING IT0530 G.JEYA BHARATHI Asst.Prof.(O.G) Department of IT SRM University What is virtualization? Virtualization is way to run multiple operating systems and user applications on the same
More informationW H I T E P A P E R. What s New in VMware vsphere 4: Performance Enhancements
W H I T E P A P E R What s New in VMware vsphere 4: Performance Enhancements Scalability Enhancements...................................................... 3 CPU Enhancements............................................................
More informationPart 1: Introduction to device drivers Part 2: Overview of research on device driver reliability Part 3: Device drivers research at ERTOS
Some statistics 70% of OS code is in device s 3,448,000 out of 4,997,000 loc in Linux 2.6.27 A typical Linux laptop runs ~240,000 lines of kernel code, including ~72,000 loc in 36 different device s s
More informationVirtual Machines. To do. q VM over time q Implementation methods q Hardware features supporting VM q Next time: Midterm?
Virtual Machines To do q VM over time q Implementation methods q Hardware features supporting VM q Next time: Midterm? *Partially based on notes from C. Waldspurger, VMware, 2010 and Arpaci-Dusseau s Three
More informationSystem Virtual Machines
System Virtual Machines Outline Need and genesis of system Virtual Machines Basic concepts User Interface and Appearance State Management Resource Control Bare Metal and Hosted Virtual Machines Co-designed
More informationVirtualization. Dr. Yingwu Zhu
Virtualization Dr. Yingwu Zhu Virtualization Definition Framework or methodology of dividing the resources of a computer into multiple execution environments. Types Platform Virtualization: Simulate a
More informationCapriccio : Scalable Threads for Internet Services
Capriccio : Scalable Threads for Internet Services - Ron von Behren &et al - University of California, Berkeley. Presented By: Rajesh Subbiah Background Each incoming request is dispatched to a separate
More informationSystem Virtual Machines
System Virtual Machines Outline Need and genesis of system Virtual Machines Basic concepts User Interface and Appearance State Management Resource Control Bare Metal and Hosted Virtual Machines Co-designed
More informationCHAPTER 16 - VIRTUAL MACHINES
CHAPTER 16 - VIRTUAL MACHINES 1 OBJECTIVES Explore history and bene ts of virtual machines. Discuss the various virtual machine technologies. Describe the methods used to implement virtualization. Show
More informationServer Virtualization Approaches
Server Virtualization Approaches Virtual Machine Applications Emulation Replication Composition Emulation: Mix-and-match cross-platform portability Replication: Multiple VMs on single platform Composition:
More informationreferences Virtualization services Topics Virtualization
references Virtualization services Virtual machines Intel Virtualization technology IEEE xplorer, May 2005 Comparison of software and hardware techniques for x86 virtualization ASPLOS 2006 Memory resource
More informationCIS 21 Final Study Guide. Final covers ch. 1-20, except for 17. Need to know:
CIS 21 Final Study Guide Final covers ch. 1-20, except for 17. Need to know: I. Amdahl's Law II. Moore s Law III. Processes and Threading A. What is a process? B. What is a thread? C. Modes (kernel mode,
More informationVirtualization. ! Physical Hardware Processors, memory, chipset, I/O devices, etc. Resources often grossly underutilized
Starting Point: A Physical Machine Virtualization Based on materials from: Introduction to Virtual Machines by Carl Waldspurger Understanding Intel Virtualization Technology (VT) by N. B. Sahgal and D.
More informationVirtualization. Starting Point: A Physical Machine. What is a Virtual Machine? Virtualization Properties. Types of Virtualization
Starting Point: A Physical Machine Virtualization Based on materials from: Introduction to Virtual Machines by Carl Waldspurger Understanding Intel Virtualization Technology (VT) by N. B. Sahgal and D.
More informationANR call for proposals number ANR-08-VERS-010 FINEP settlement number 1655/08. Horizon - A New Horizon for Internet
Horizon Project ANR call for proposals number ANR-08-VERS-010 FINEP settlement number 1655/08 Horizon - A New Horizon for Internet WP2 - TASK 2.1: Identification and Comparison of Appropriate Virtualisation
More informationVirtualization. Operating Systems, 2016, Meni Adler, Danny Hendler & Amnon Meisels
Virtualization Operating Systems, 2016, Meni Adler, Danny Hendler & Amnon Meisels 1 What is virtualization? Creating a virtual version of something o Hardware, operating system, application, network, memory,
More informationArchitecture and Performance Implications
VMWARE WHITE PAPER VMware ESX Server 2 Architecture and Performance Implications ESX Server 2 is scalable, high-performance virtualization software that allows consolidation of multiple applications in
More informationDifference Engine: Harnessing Memory Redundancy in Virtual Machines (D. Gupta et all) Presented by: Konrad Go uchowski
Difference Engine: Harnessing Memory Redundancy in Virtual Machines (D. Gupta et all) Presented by: Konrad Go uchowski What is Virtual machine monitor (VMM)? Guest OS Guest OS Guest OS Virtual machine
More informationVirtual Leverage: Server Consolidation in Open Source Environments. Margaret Lewis Commercial Software Strategist AMD
Virtual Leverage: Server Consolidation in Open Source Environments Margaret Lewis Commercial Software Strategist AMD What Is Virtualization? Abstraction of Hardware Components Virtual Memory Virtual Volume
More informationVirtual Machines. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University
Virtual Machines Jinkyu Jeong (jinkyu@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today's Topics History and benefits of virtual machines Virtual machine technologies
More informationToday s Papers. Virtual Machines Background. Why Virtualize? EECS 262a Advanced Topics in Computer Systems Lecture 19
EECS 262a Advanced Topics in Computer Systems Lecture 19 Xen/Microkernels November 5 th, 2014 John Kubiatowicz Electrical Engineering and Computer Sciences University of California, Berkeley Today s Papers
More informationNON SCHOLAE, SED VITAE
TDIU11 Operating systems Operating System Structures and Machines [SGG7/8] Chapter 2.7-2.8 [SGG9] Chapter 2.7, 1.11.6 Copyright Notice: The lecture notes are modifications of the slides accompanying the
More informationIsoStack Highly Efficient Network Processing on Dedicated Cores
IsoStack Highly Efficient Network Processing on Dedicated Cores Leah Shalev Eran Borovik, Julian Satran, Muli Ben-Yehuda Outline Motivation IsoStack architecture Prototype TCP/IP over 10GE on a single
More informationBackground. IBM sold expensive mainframes to large organiza<ons. Monitor sits between one or more OSes and HW
Virtual Machines Background IBM sold expensive mainframes to large organiza
More informationCS-580K/480K Advanced Topics in Cloud Computing. VM Virtualization II
CS-580K/480K Advanced Topics in Cloud Computing VM Virtualization II 1 How to Build a Virtual Machine? 2 How to Run a Program Compiling Source Program Loading Instruction Instruction Instruction Instruction
More informationOptimizing TCP Receive Performance
Optimizing TCP Receive Performance Aravind Menon and Willy Zwaenepoel School of Computer and Communication Sciences EPFL Abstract The performance of receive side TCP processing has traditionally been dominated
More informationDistributed Systems COMP 212. Lecture 18 Othon Michail
Distributed Systems COMP 212 Lecture 18 Othon Michail Virtualisation & Cloud Computing 2/27 Protection rings It s all about protection rings in modern processors Hardware mechanism to protect data and
More informationMultiprocessor Scheduling. Multiprocessor Scheduling
Multiprocessor Scheduling Will consider only shared memory multiprocessor or multi-core CPU Salient features: One or more caches: cache affinity is important Semaphores/locks typically implemented as spin-locks:
More informationEvolution of the netmap architecture
L < > T H local Evolution of the netmap architecture Evolution of the netmap architecture -- Page 1/21 Evolution of the netmap architecture Luigi Rizzo, Università di Pisa http://info.iet.unipi.it/~luigi/vale/
More informationSupport for Smart NICs. Ian Pratt
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 Network device channel NetChannel2 proposal I/O Architecture
More informationDistributed Systems Operation System Support
Hajussüsteemid MTAT.08.009 Distributed Systems Operation System Support slides are adopted from: lecture: Operating System(OS) support (years 2016, 2017) book: Distributed Systems: Concepts and Design,
More informationXen and the Art of 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 Presented by Thomas DuBuisson Outline Motivation
More informationMission-Critical Enterprise Linux. April 17, 2006
Mission-Critical Enterprise Linux April 17, 2006 Agenda Welcome Who we are & what we do Steve Meyers, Director Unisys Linux Systems Group (steven.meyers@unisys.com) Technical Presentations Xen Virtualization
More informationBackground. IBM sold expensive mainframes to large organiza<ons. Monitor sits between one or more OSes and HW
Virtual Machines Background IBM sold expensive mainframes to large organiza
More informationXen Summit Spring 2007
Xen Summit Spring 2007 Platform Virtualization with XenEnterprise Rich Persaud 4/20/07 Copyright 2005-2006, XenSource, Inc. All rights reserved. 1 Xen, XenSource and XenEnterprise
More informationOriginally prepared by Lehigh graduate Greg Bosch; last modified April 2016 by B. Davison
Virtualization Originally prepared by Lehigh graduate Greg Bosch; last modified April 2016 by B. Davison I. Introduction to Virtualization II. Virtual liances III. Benefits to Virtualization IV. Example
More informationBridging the Gap between Software and Hardware Techniques for I/O Virtualization
Bridging the Gap between Software and Hardware Techniques for I/O Virtualization Jose Renato Santos, Yoshio Turner, G.(John) Janakiraman, Ian Pratt HP Laboratories HPL-28-39 Keyword(s): Virtualization,
More informationVirtualization Overview NSRC
Virtualization Overview NSRC Terminology Virtualization: dividing available resources into smaller independent units Emulation: using software to simulate hardware which you do not have The two often come
More informationI/O virtualization. Jiang, Yunhong Yang, Xiaowei Software and Service Group 2009 虚拟化技术全国高校师资研讨班
I/O virtualization Jiang, Yunhong Yang, Xiaowei 1 Legal Disclaimer INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE,
More informationOperating Systems 4/27/2015
Virtualization inside the OS Operating Systems 24. Virtualization Memory virtualization Process feels like it has its own address space Created by MMU, configured by OS Storage virtualization Logical view
More informationVirtual Machine Monitors!
ISA 673 Operating Systems Security Virtual Machine Monitors! Angelos Stavrou, George Mason University! Virtual Machine Monitors 2! Virtual Machine Monitors (VMMs) are everywhere! Industry commitment! Software:
More informationVirtual Virtual Memory
Virtual Virtual Memory Jason Power 3/20/2015 With contributions from Jayneel Gandhi and Lena Olson 4/17/2015 UNIVERSITY OF WISCONSIN 1 Virtual Machine History 1970 s: VMMs 1997: Disco 1999: VMWare (binary
More informationG Disco. Robert Grimm New York University
G22.3250-001 Disco Robert Grimm New York University The Three Questions! What is the problem?! What is new or different?! What are the contributions and limitations? Background: ccnuma! Cache-coherent
More informationXen Network I/O Performance Analysis and Opportunities for Improvement
Xen Network I/O Performance Analysis and Opportunities for Improvement J. Renato Santos G. (John) Janakiraman Yoshio Turner HP Labs Xen Summit April 17-18, 27 23 Hewlett-Packard Development Company, L.P.
More informationG Xen and Nooks. Robert Grimm New York University
G22.3250-001 Xen and Nooks Robert Grimm New York University Agenda! Altogether now: The three questions! The (gory) details of Xen! We already covered Disco, so let s focus on the details! Nooks! The grand
More informationA Novel Approach to Gain High Throughput and Low Latency through SR- IOV
A Novel Approach to Gain High Throughput and Low Latency through SR- IOV Usha Devi G #1, Kasthuri Theja Peduru #2, Mallikarjuna Reddy B #3 School of Information Technology, VIT University, Vellore 632014,
More informationSoftware Routers: NetMap
Software Routers: NetMap Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking October 8, 2014 Slides from the NetMap: A Novel Framework for
More informationCSCE 410/611: Virtualization
CSCE 410/611: Virtualization Definitions, Terminology Why Virtual Machines? Mechanics of Virtualization Virtualization of Resources (Memory) Some slides made available Courtesy of Gernot Heiser, UNSW.
More informationArrakis: The Operating System is the Control Plane
Arrakis: The Operating System is the Control Plane Simon Peter, Jialin Li, Irene Zhang, Dan Ports, Doug Woos, Arvind Krishnamurthy, Tom Anderson University of Washington Timothy Roscoe ETH Zurich Building
More informationRe-architecting Virtualization in Heterogeneous Multicore Systems
Re-architecting Virtualization in Heterogeneous Multicore Systems Himanshu Raj, Sanjay Kumar, Vishakha Gupta, Gregory Diamos, Nawaf Alamoosa, Ada Gavrilovska, Karsten Schwan, Sudhakar Yalamanchili College
More informationFast packet processing in the cloud. Dániel Géhberger Ericsson Research
Fast packet processing in the cloud Dániel Géhberger Ericsson Research Outline Motivation Service chains Hardware related topics, acceleration Virtualization basics Software performance and acceleration
More informationVirtual Memory. Patterson & Hennessey Chapter 5 ELEC 5200/6200 1
Virtual Memory Patterson & Hennessey Chapter 5 ELEC 5200/6200 1 Virtual Memory Use main memory as a cache for secondary (disk) storage Managed jointly by CPU hardware and the operating system (OS) Programs
More information2 nd Half. Memory management Disk management Network and Security Virtual machine
Final Review 1 2 nd Half Memory management Disk management Network and Security Virtual machine 2 Abstraction Virtual Memory (VM) 4GB (32bit) linear address space for each process Reality 1GB of actual
More informationOperating System Security
Operating System Security Operating Systems Defined Hardware: I/o...Memory.CPU Operating Systems: Windows or Android, etc Applications run on operating system Operating Systems Makes it easier to use resources.
More information1 Virtualization Recap
1 Virtualization Recap 2 Recap 1 What is the user part of an ISA? What is the system part of an ISA? What functionality do they provide? 3 Recap 2 Application Programs Libraries Operating System Arrows?
More informationVirtualization. Michael Tsai 2018/4/16
Virtualization Michael Tsai 2018/4/16 What is virtualization? Let s first look at a video from VMware http://www.vmware.com/tw/products/vsphere.html Problems? Low utilization Different needs DNS DHCP Web
More informationVirtualisation: The KVM Way. Amit Shah
Virtualisation: The KVM Way Amit Shah amit.shah@qumranet.com foss.in/2007 Virtualisation Simulation of computer system in software Components Processor Management: register state, instructions, exceptions
More information