Virtual Machines (part 2) CPS210 Spring 2006. Papers  Xen and the Art of Virtualization  Paul Barham  ReVirt: Enabling Intrusion Analysis through Virtual.

Slides:



Advertisements
Similar presentations
Slide 19-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 19.
Advertisements

Virtualization Technology
XEN AND THE ART OF VIRTUALIZATION Paul Barham, Boris Dragovic, Keir Fraser, Steven Hand, Tim Harris, Alex Ho, Rolf Neugebauer, lan Pratt, Andrew Warfield.
E Virtual Machines Lecture 3 Memory Virtualization
Bart Miller. Outline Definition and goals Paravirtualization System Architecture The Virtual Machine Interface Memory Management CPU Device I/O Network,
G Robert Grimm New York University Disco.
Xen and the Art of Virtualization A paper from the University of Cambridge, presented by Charlie Schluting For CS533 at Portland State University.
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.
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.
Microkernels, virtualization, exokernels Tutorial 1 – CSC469.
1 Xen and the Art of Virtualization Paul Barham, Boris Dragovic, Keir Fraser, Steven Hand, Tim Harris, Alex Ho, Rolf Neugebauer, Ian Pratt, Andrew Warfield.
Virtualization The XEN Approach. Virtualization 2 CS5204 – Operating Systems XEN: paravirtualization References and Sources Paul Barham, et.al., “Xen.
Benefits: Increased server utilization Reduced IT TCO Improved IT agility.
Xen Overview for Campus Grids Andrew Warfield University of Cambridge Computer Laboratory.
CS 153 Design of Operating Systems Spring 2015 Lecture 17: Paging.
Virtual Machine Monitors: Technology and Trends Jonathan Kaldor CS614 / F07.
Xen and The Art of Virtualization Paul Barham, Boris Dragovic, Keir Fraser, Steven Hand, Tim Harris, Alex Ho, Rolf Neugebauer, Ian Pratt & Andrew Warfield.
Operating Systems ECE344 Ding Yuan Paging Lecture 8: Paging.
COMS E Cloud Computing and Data Center Networking Sambit Sahu
CS533 Concepts of Operating Systems Jonathan Walpole.
CPS110: Wrapping up memory Landon Cox March 6, 2008.
Outline for Today Announcements –1 st programming assignment coming soon. Objective of the lecture –OS and Virtual Machines.
Introduction to virtualization
Virtual Memory Additional Slides Slide Source: Topics Address translation Accelerating translation with TLBs class12.ppt.
Operating Systems ECE344 Ashvin Goel ECE University of Toronto Demand Paging.
Full and Para Virtualization
Lecture 26 Virtual Machine Monitors. Virtual Machines Goal: run an guest OS over an host OS Who has done this? Why might it be useful? Examples: Vmware,
Protecting The Kernel Data through Virtualization Technology BY VENKATA SAI PUNDAMALLI id :
Protection of Processes Security and privacy of data is challenging currently. Protecting information – Not limited to hardware. – Depends on innovation.
CSE 451: Operating Systems Winter 2015 Module 25 Virtual Machine Monitors Mark Zbikowski Allen Center 476 © 2013 Gribble, Lazowska,
CS 140 Lecture Notes: Virtual MachinesSlide 1 Process Abstraction Instruction Set Registers MMU I/O Devices Physical Memory Virtual Memory System Calls.
Running Commodity Operating Systems on Scalable Multiprocessors Edouard Bugnion, Scott Devine and Mendel Rosenblum Presentation by Mark Smith.
Memory Virtualization In Xen
7/2/20161 Re-architecting VMMs for Multicore Systems: The Sidecore Approach Presented by: Sanjay Kumar PhD Candidate, Georgia Institute of Technology Co-Authors:
Agile Paging: Exceeding the Best of Nested and Shadow Paging
Kernel-based Virtual Machine (KVM) Memory Management Unit (MMU) Virtualization Mohammad H. Mofrad February 11, 2016
XEN – The Art of Virtualisation. So what is Virtualisation? ● Makes use of spare capacity ● Run multiple instances of OSes simultaneously ● Multitasking.
Introduction to Virtualization
Virtualization Technology
Lecture 11 Virtual Memory
Presented by Yoon-Soo Lee
CS 3214 Introduction to Computer Systems
CS 3214 Operating Systems Virtualization.
A Survey of Virtual Machine Research
CS161 – Design and Architecture of Computer
CS352H: Computer Systems Architecture
Virtual Memory User memory model so far:
Section 9: Virtual Memory (VM)
Day 21 Virtual Memory.
Day 22 Virtual Memory.
Lecture 24 Virtual Machine Monitors
Morgan Kaufmann Publishers
Xen: The Art of Virtualization
Morgan Kaufmann Publishers Large and Fast: Exploiting Memory Hierarchy
CSE 153 Design of Operating Systems Winter 2018
CS 140 Lecture Notes: Virtual Machines
Introduction to Operating Systems
OS Virtualization.
CS 140 Lecture Notes: Virtual Machines
Morgan Kaufmann Publishers Memory Hierarchy: Virtual Memory
Virtual machines benefits
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
Paging and Segmentation
CSE 153 Design of Operating Systems Winter 2019
CS 140 Lecture Notes: Virtual Machines
Xen and the Art of Virtualization
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
System Virtualization
Presentation transcript:

Virtual Machines (part 2) CPS210 Spring 2006

Papers  Xen and the Art of Virtualization  Paul Barham  ReVirt: Enabling Intrusion Analysis through Virtual Machine Logging and Replay  George Dunlap

Virtualization in the enterprise X Consolidate under-utilized servers to reduce CapEx and OpEx Avoid downtime with VM Relocation Dynamically re-balance workload to guarantee application SLAs X Enforce security policy X

VMware architecture Host Machine Host OS VM AppTarget OS Target App Target App Virtual Machine Monitor VM Driver Host App VMM World Host World

SimOS architecture Host Machine Host OS SimOS Target OS Target App Target App Host App Host App

SimOS memory SimOS Target OS Host Machine Host OS Target App Mem File SimDisk File SimDisk SimOS VMemory Target App SimOS code, data TargOS code, data TargApp code, data Virtual MMU

SimOS page fault SimOS Target OS Host Machine Host OS Target App Mem File SimDisk File SimDisk SimOS VMemory Target App Unmapped addr SimOS Fault handler TargOS Fault handler Virtual MMU

Generic TLB  Cache of recently used PTEs  Small – usually about 64 entries  Huge impact on performance TLB Virtual Address Physical Address or TLB Miss or Access fault

ring 3 x86_32 Address space Kernel User 4GB 3GB 0GB Xen S S U ring 1 ring 0

VMware Guest Page Tables MMU Guest OS VMM Hardware Virtual → Machine Shadow page table Update PTE

Para-Virtualizing the MMU  Guest OSes allocate and manage own PTs  “Hypercall” to change PT base  Xen must validate PT updates before use  Validation rules applied to each PTE: 1. Guest may only map phys. pages it owns 2. PT pages may only be mapped RO

Xen guest page tables MMU Guest OS VMM Hardware Virtual → Machine Update PTE 1) Validation check 2) Perform update