An overview of virtual machine architecture

Similar documents
Virtualization. Pradipta De

Chapter 5 C. Virtual machines

Virtual Machine Monitors!

Introduction to Virtual Machines

CSCI 8530 Advanced Operating Systems. Part 19 Virtualization

Nested Virtualization and Server Consolidation

Introduction to Virtual Machines. Michael Jantz

System Virtual Machines

Learning Outcomes. Extended OS. Observations Operating systems provide well defined interfaces. Virtual Machines. Interface Levels

System Virtual Machines

Originally prepared by Lehigh graduate Greg Bosch; last modified April 2016 by B. Davison

Virtual Machines. Virtual Machines

Distributed Systems COMP 212. Lecture 18 Othon Michail

The Challenges of X86 Hardware Virtualization. GCC- Virtualization: Rajeev Wankar 36

Virtual Machines. Part 2: starting 19 years ago. Operating Systems In Depth IX 1 Copyright 2018 Thomas W. Doeppner. All rights reserved.

The Architecture of Virtual Machines Lecture for the Embedded Systems Course CSD, University of Crete (April 29, 2014)

e-pg Pathshala Subject: Computer Science Paper: Cloud Computing Module 23: Virtualization II Module No: CS/CC/23 Quadrant 1 e-text

What is Cloud Computing? Cloud computing is the dynamic delivery of IT resources and capabilities as a Service over the Internet.

Spring 2017 :: CSE 506. Introduction to. Virtual Machines. Nima Honarmand

Virtualization. Dr. Yingwu Zhu

CS 550 Operating Systems Spring Introduction to Virtual Machines

CS370 Operating Systems

Module 1: Virtualization. Types of Interfaces

Introduction to Virtual Machines. Carl Waldspurger (SB SM 89 PhD 95) VMware R&D

Virtual Machines. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

CHAPTER 16 - VIRTUAL MACHINES

Overview of System Virtualization: The most powerful platform for program analysis and system security. Zhiqiang Lin

CS 470 Spring Virtualization and Cloud Computing. Mike Lam, Professor. Content taken from the following:

Virtualization and High-Availability

Introduction to Virtualization

Server Virtualization Approaches

Software Engineering at VMware Dan Scales May 2008

Virtual Machine Security

Concepts. Virtualization

Virtual Machines. To do. q VM over time q Implementation methods q Hardware features supporting VM q Next time: Midterm?

Virtual Machines Disco and Xen (Lecture 10, cs262a) Ion Stoica & Ali Ghodsi UC Berkeley February 26, 2018

A Survey on Virtualization Technologies

Virtualization. Application Application Application. MCSN - N. Tonellotto - Distributed Enabling Platforms OPERATING SYSTEM OPERATING SYSTEM

Virtualization. Starting Point: A Physical Machine. What is a Virtual Machine? Virtualization Properties. Types of Virtualization

Virtualization. ! Physical Hardware Processors, memory, chipset, I/O devices, etc. Resources often grossly underutilized

Lab 0 Getting Started. Sistemas Operativos: Práctica 0 1

NON SCHOLAE, SED VITAE

OPS-9: Fun With Virtualization. John Harlow. John Harlow. About John Harlow

COMPUTER ARCHITECTURE. Virtualization and Memory Hierarchy

Linux and Xen. Andrea Sarro. andrea.sarro(at)quadrics.it. Linux Kernel Hacking Free Course IV Edition

Virtual Machine Systems

Virtualization. Operating Systems, 2016, Meni Adler, Danny Hendler & Amnon Meisels

I/O and virtualization

Types of Virtualization. Types of virtualization

Micro VMMs and Nested Virtualization

A Resource Management Mechanism and Its Implementation for Virtual Machines

CHAPTER 16 - VIRTUAL MACHINES

Virtualization. ...or how adding another layer of abstraction is changing the world. CIS 399: Unix Skills University of Pennsylvania.

Πποχωπημένη Κατανεμημένη Υπολογιστική

Virtualization and memory hierarchy

Operating System: Chap2 OS Structure. National Tsing-Hua University 2016, Fall Semester

CSE 120 Principles of Operating Systems

Operating-System Structures

OS Virtualization. Why Virtualize? Introduction. Virtualization Basics 12/10/2012. Motivation. Types of Virtualization.

Introduction to Cloud Computing and Virtualization. Mayank Mishra Sujesha Sudevalayam PhD Students CSE, IIT Bombay

CSE 237B Fall 2009 Virtualization, Security and RTOS. Rajesh Gupta Computer Science and Engineering University of California, San Diego.

Operating Systems 4/27/2015

Migration Strategies from vsphere to Linux and OpenStack via a shared virtualized network

W4118: virtual machines

What does an Operating System do?

Lecture 4: Extensibility (and finishing virtual machines) CSC 469H1F Fall 2006 Angela Demke Brown

COS 318: Operating Systems. Virtual Machine Monitors

ECE 331 Hardware Organization and Design. UMass ECE Discussion 11 4/12/2018

Performance & Scalability Testing in Virtual Environment Hemant Gaidhani, Senior Technical Marketing Manager, VMware

for Kerrighed? February 1 st 2008 Kerrighed Summit, Paris Erich Focht NEC

About John Harlow. About BravePoint. OPS- 4: Fun With Virtualization

Operating Systems Structure. Otto J. Anshus

1 Virtualization Recap

Unit 5: Distributed, Real-Time, and Multimedia Systems

LINUX Virtualization. Running other code under LINUX

Resource Virtualization and the Enterprise

Cloud Computing Virtualization

Difference Engine: Harnessing Memory Redundancy in Virtual Machines (D. Gupta et all) Presented by: Konrad Go uchowski

Virtualization Introduction

Power Efficiency of Hypervisor and Container-based Virtualization

CSE543 - Computer and Network Security Module: Virtualization

references Virtualization services Topics Virtualization

Lecture 09: VMs and VCS head in the clouds

Roadmap for Challenging Times System Virtualiztion

VMware Overview VMware Infrastructure 3: Install and Configure Rev C Copyright 2007 VMware, Inc. All rights reserved.

CSE543 - Computer and Network Security Module: Virtualization

CSE543 - Computer and Network Security Module: Virtualization

Virtualization. join, aggregation, concatenation, array, N 1 ühendamine, agregeerimine, konkateneerimine, massiiv

Virtualization. Darren Alton

Disco. CS380L: Mike Dahlin. September 13, This week: Disco and Exokernel. One lesson: If at first you don t succeed, try try again.

Is Virtualization Killing SSI Research? Jérôme Gallard Kerrighed Summit Paris February 2008

Hypervisor security. Evgeny Yakovlev, DEFCON NN, 2017

COS 318: Operating Systems

Virtualization Overview

CprE Virtualization. Dr. Yong Guan. Department of Electrical and Computer Engineering & Information Assurance Center Iowa State University

A Review On optimization technique in Server Virtualization

Cloud and Datacenter Networking

CS370 Operating Systems

CSCE 410/611: Virtualization

CS 350 Winter 2011 Current Topics: Virtual Machines + Solid State Drives

Transcription:

An overview of virtual machine architecture

Outline History Standardized System Components Virtual Machine Basics Process VMs System VMs Virtualizing Process Summary and Taxonomy

History In ancient times: System was handcrafted with its own instr. set Software was developed with specific instr. set Small user communities Simple programs Fixed hardware

History (Cont d) But User communities started to grow Operating systems became more complex Number of applications rapidly expanded So, how to make software run everywhere is a problem Portable and compatible software

History (Cont d) Attempt 1 (in hardware) : HW designers for various computer companies gravitated toward certain common features Big success in IBM 360 series computers ISA is precisely defined Software can run on any computer in this series People start to realize the importance of compatibility and portability

History (Cont d) Attempt 2 (in OS) : OS start to standardize their interfaces to the upper application layer It s also a big success We can develop large, complex, varied app now Software is now flexible and portable As a reminder, Operating systems are responsible for managing hw resources, isolation, sharing, hiding idiosyncrasies of the underlying hw.

History (Cont d) However, it s still NOT perfect We still have incompatible ISAs & OSes Software are closely limited to certain platforms and standards OS is tied to a specific instruction set, mm system, and I/O system interfaces

History (Cont d) Definition: Virtual machine is an extra software layer to an existing execution platform to give it the appearance of a different platform, or for that matter, to give the appearance of multiple platforms.

History (Cont d) Virtual Machine May have a different OS from underlying real hw May have an instruction set Or both A common misunderstanding: the upper layer which virtual machine supports must be operating systems. For example, only Xen or Vmware is virtual machine. ---- this is incomplete.

History (Cont d) Benefits of Virtual Machine Portability (as we ve just discussed) Software Consolidation (in Data Centers) Increase security Enhance performance Simplify software migration Etc. VM (abbr.) has already been investigated and built by system developers, compiler developers, language designers, and hardware designers.

Standardized System Components Standardized computers components Hardware The operating system Application programs

Virtual Machine Basics some new terms through an example New terms: Host, Virtualizing software (or VMM), Guest, Most important: Virtual Machine Pay attention to the difference between virtualizing software & virtual machine

VM Basics (Cont d) There are three application fields of virtualizing software Emulation Replication *Hybrid

VM Basics (Cont d) Emulation Emulation adds considerable flexibility by permitting mix and match cross-platform software portability One example of emulation: emulating one instruction set with another

VM Basics (Cont d) Replication Give a single platform the appearance of multiple platforms One example of replication: replicating a virtual machine so that multiple OSes can be supported simultaneously

Another Classification There are two types of virtual machines, it depends how we define the real machine From the perspective of a process, a real machine consists of Memory address space User level registers & instructions I/O system as a collection of files

VM Basics (Cont d) Process Virtual Machine Created along and terminates with its guest process For example: Java VM

Process VMs (Cont d) High Level VMs illustration

VM Basics (Cont d) System Virtual Machine Provides a complete system environment Support multiple processes, file system Provides processes with access to I/O devices Support GUI For example: KVM in linux

System VMs Usually, System VMs provide replication functions Divide hardware resources among multiple guest Oses VMM manage the hardware Oses are under control of VMM Advantages Consolidation Isolation

System VMs (Cont d) Two typical implementation methods Classic VM VMM is put on bare hardware But existing system should be wiped away And device drivers must be available for installation in VMM For example: Xen, VMWare ESX Server

System VMs (Cont d) Hosted VM VMM is put on top of an existing host OS Installation is easy Device drivers are in the host OS But efficiency is a problem For example: VMware Workstation, Virtual PC

System VMs (Cont d) System VMs can also provide emulation functions Whole System VMs Host and guest systems don t have a common ISA Virtualizing all software Typically VMM is put on top of an existing OS

Virtualizing Process If you want to implement a virtual machine, you will focus on the three key aspects of the virtualizing process Mapping of state (register, memory state) Instruction mapping (emulation) Precise state materialization

Virtualizing Process (Cont d) Key aspects of the virtualizing Process VMs

Virtualizing Process (Cont d) Key aspects of the virtualizing System VMs