Virtual Machines Measure Up John Staton Karsten Steinhaeuser University of Notre Dame December 15, 2005 Graduate Operating Systems, Fall 2005 Final Project.

Slides:



Advertisements
Similar presentations
An Overview Of Virtual Machine Architectures Ross Rosemark.
Advertisements

Virtual Machine Technology Dr. Gregor von Laszewski Dr. Lizhe Wang.
Virtual Machine Security Design of Secure Operating Systems Summer 2012 Presented By: Musaad Alzahrani.
1 Virtual Machine Resource Monitoring and Networking of Virtual Machines Ananth I. Sundararaj Department of Computer Science Northwestern University July.
Network Implementation for Xen and KVM Class project for E : Network System Design and Implantation 12 Apr 2010 Kangkook Jee (kj2181)
Cloud Computing and Virtualization Sorav Bansal CloudCamp 2010 IIT Delhi.
Hosted VMM Architecture Advantages: –Installs and runs like an application –Portable – host OS does I/O access –Coexists with applications running on.
Chapter 14 Virtual Machines
KVM/ARM: The Design and Implementation of the Linux ARM Hypervisor Fall 2014 Presented By: Probir Roy.
A comparison between xen and kvm Andrea Chierici Riccardo Veraldi INFN-CNAF.
Operating System Support for Virtual Machines Samuel King, George Dunlap, Peter Chen Univ of Michigan Ashish Gupta.
Operating System Support for Virtual Machines Sam King George Dunlap Peter Chen CoVirt Project, University of Michigan.
Virtual Machines. Virtualization Virtualization deals with “extending or replacing an existing interface so as to mimic the behavior of another system”
Virtualization B. Ramamurthy. References Practical Virtualization Solutions: Virtualization from the Trenches by K. Hess and A. Newman, Prentice-Hall.
Virtualization for Cloud Computing
LINUX Virtualization Running other code under LINUX.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 3 Desktop Virtualization McGraw-Hill.
Distributed Systems CS Virtualization- Overview Lecture 22, Dec 4, 2013 Mohammad Hammoud 1.
CSE598C Virtual Machines and Their Applications Operating System Support for Virtual Machines Coauthored by Samuel T. King, George W. Dunlap and Peter.
E Virtual Machines Lecture 4 Device Virtualization
Methodologies, strategies and experiences Virtualization.
Virtualization Technology Prof D M Dhamdhere CSE Department IIT Bombay Moving towards Virtualization… Department of Computer Science and Engineering, IIT.
Tanenbaum 8.3 See references
Operating System Virtualization
Microkernels, virtualization, exokernels Tutorial 1 – CSC469.
CS533 Concepts of Operating Systems Jonathan Walpole.
Operating System Support for Virtual Machines Samuel T. King, George W. Dunlap,Peter M.Chen Presented By, Rajesh 1 References [1] Virtual Machines: Supporting.
Device Drivers.
Virtualization Concepts Presented by: Mariano Diaz.
Exercise #1: Exploring Open- Source Operating Systems with Virtual Machines J. H. Wang Mar. 9, 2010.
Xen Overview for Campus Grids Andrew Warfield University of Cambridge Computer Laboratory.
Operating System Support for Virtual Machines Sam King George Dunlap Peter Chen CoVirt Project, University of Michigan.
Secure & flexible monitoring of virtual machine University of Mazandran Science & Tecnology By : Esmaill Khanlarpour January.
การติดตั้งและทดสอบการทำคลัสเต อร์เสมือนบน Xen, ROCKS, และไท ยกริด Roll Implementation of Virtualization Clusters based on Xen, ROCKS, and ThaiGrid Roll.
Improving Network I/O Virtualization for Cloud Computing.
Stealthy Malware Detection Through VMM-based “Out-of-the-Box” Semantic View Reconstruction CCS’07, Alexandria, VA, Oct 29 – Nov 2, 2007 Xuxian Jiang, Xinyuan.
Virtual Machine and its Role in Distributed Systems.
Hadi Salimi Distributed Systems Lab, School of Computer Engineering, Iran University of Science and Technology, Fall 2010 Performance.
First experience of submission to the EGEE/RDIG Grid of jobs prepared for non standart OSs by means of virtualization. I.Gorbunov, A.Kryukov SINP MSU,
High Performance Computing on Virtualized Environments Ganesh Thiagarajan Fall 2014 Instructor: Yuzhe(Richard) Tang Syracuse University.
Copyright © cs-tutorial.com. Overview Introduction Architecture Implementation Evaluation.
 Virtual machine systems: simulators for multiple copies of a machine on itself.  Virtual machine (VM): the simulated machine.  Virtual machine monitor.
02/09/2010 Industrial Project Course (234313) Virtualization-aware database engine Final Presentation Industrial Project Course (234313) Virtualization-aware.
Exercise #1: Exploring Open- Source Operating Systems with Virtual Machines J. H. Wang Sep. 25, 2015.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Full and Para Virtualization
Introduction Why are virtual machines interesting?
Operating-System Structures
Cloud Computing – UNIT - II. VIRTUALIZATION Virtualization Hiding the reality The mantra of smart computing is to intelligently hide the reality Binary->
Virtual Machines Mr. Monil Adhikari. Agenda Introduction Classes of Virtual Machines System Virtual Machines Process Virtual Machines.
© 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Understanding Virtualization Overhead.
E Virtual Machines Lecture 1 What is Virtualization? Scott Devine VMware, Inc.
A comparison between xen and kvm Andrea Chierici Riccardo Veraldi INFN-CNAF CCR 2009.
Virtualization Neependra Khare
VirtualBox Introduction:
Virtualization for Cloud Computing
A move towards Greener Planet
Introduction to Virtualization
Virtualization.
Virtual Machine Monitors
Virtualization overview
Running other code under LINUX
Group 8 Virtualization of the Cloud
OS Virtualization.
Virtualization Layer Virtual Hardware Virtual Networking
Operating System Support for Virtual Machines
A Survey on Virtualization Technologies
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
Virtualization Dr. S. R. Ahmed.
Xen and the Art of Virtualization
Presentation transcript:

Virtual Machines Measure Up John Staton Karsten Steinhaeuser University of Notre Dame December 15, 2005 Graduate Operating Systems, Fall 2005 Final Project Presentation

University of Notre Dame2 Outline Problem Description Virtual Machine (VM) Overview Timing and Benchmarking  Micro-Benchmarks  Macro-Benchmarks Experimental Results Analysis & Conclusion

University of Notre Dame3 Introduction A Virtual Machine (VM) allows multiple users or processes to share resources Key component of a VM is the virtual machine monitor (VMM), which manages the resources our focus

University of Notre Dame4 Problem Description Different VMs were designed with different goals in mind Trade-offs between performance, flexibility, and portability Weaknesses rarely exposed because authors (obviously) point out strengths Little effort to systematically combine best features for improved VM design

University of Notre Dame5 The Solution Perform a case study of different available VM implementations Qualitative Comparison – platforms, usability Micro-Benchmarks – system calls, file I/O ops Macro-Benchmarks – CPU-intensive tasks Identify design features that lead to good (and bad) performance Combine into an improved design

University of Notre Dame6 VMWare Workstation 5.0 Commercial product from VMWare, Inc Easy to install VMWare itself GUI for VM management and host operating system installation Great documentation and support Method of Operation: Virtualization Host OS: Windows, Linux Guest OS: Any

University of Notre Dame7 User Mode Linux (UML) Open-Source project by Jeff Dike Included in Linux source (version 2.5+) Easy to install UML itself Requires disk image to run (download) Good documentation for open-source Method of Operation: kernel port Host OS: Linux Guest OS: Linux

University of Notre Dame8 Bochs Open-Source project by Kevin Lawton Installation has several pre-requisites Requires disk image to run (download) Setup using configuration file.bochsrc  Limited documentation describing config file Method of Operation: emulation Host OS: Windows, Linux, OS X Guest OS: Windows, Linux, xBSD

University of Notre Dame9 QEMU Open-Source project by Fabrice Bellard Installation of QEMU is straightforward Requires disk image to run (download) Good support for hosting on Linux, poor support for hosting on Windows Method of Operation: dynamic re-compilation Host OS: Windows, Linux, OS X Guest OS: Any

University of Notre Dame10 Xen Academic Research Project, open source Installation of Xen is quite difficult  Documentation is available but not helpful  Configuration / Use resulted in unsolved problems Included in RedHat Fedora Core 4 Method of Operation: Paravirtualization Requires modification to host OS Host OS: Linux, NetBSD Guest OS: Windows XP, Linux, NetBSD

University of Notre Dame11 Micro-Benchmarks Two methods: 1) Execute many times and subtract the loop overhead 2) Use finer granularity measurement gettimeofday() our choice

University of Notre Dame12 Micro-Benchmarks getpid()  “null” (raw) system call stat() open() read()  1 byte, 1 kilobyte, 1 megabyte presented next

University of Notre Dame13 Micro-Benchmark Results Execution time for read() of 1 kilobyte

University of Notre Dame14 Macro-Benchmarks Matrix Multiplication  Square matrices of size 10, 100, 1000 Bubble Sort  Arrays of 1000, 10000, elements Subset of lmbench suite  Context switch latency (2 tasks)  Pipe bandwidth for 50 MB transfer presented next

University of Notre Dame15 Macro-Benchmark Results Execution time for 10,000 element bubble sort

University of Notre Dame16 Analysis I Why is Bochs so slow? And why is VMWare so fast? Bochs’ mode of operation (full emulation) is outdated and requires excessive overhead; each instruction from the guest OS is explicitly translated for physical hardware VMWare takes advantage of two more recently developed techniques: virtualization, an optimized abstraction of resources, and modifications to the host OS for I/O by installing a special driver (VMDriver)

University of Notre Dame17 Analysis II What makes QEMU perform so well? QEMU uses a portable dynamic translator, which can recompile parts of a program during execution (“dynamic compilation”). This allows the generation of code specific to the environment using information that would generally not be available to a compiler. Actually, QEMU’s performance can be improved further by borrowing VMWare’s idea of modifying the operating system. A prototype called KQEMU has recently been implemented and early results indicate performance competitive with VMWare.

University of Notre Dame18 Conclusion Selection of a VM  If cost isn’t an issue, use VMWare for the best available performance  If cost is an issue, QEMU is a competitive open- source alternative Designing a VM  Virtualize most used I/O devices  Emulation is portable, but slow  Modifications to the host OS

University of Notre Dame19 Questions…