The xCloud and Design Alternatives Presented by Lavone Rodolph.

Slides:



Advertisements
Similar presentations
Virtualization Dr. Michael L. Collard
Advertisements

CS533 Concepts of Operating Systems Class 14 Virtualization and Exokernels.
Department of Computer Science and Engineering University of Washington Brian N. Bershad, Stefan Savage, Przemyslaw Pardyak, Emin Gun Sirer, Marc E. Fiuczynski,
XEN AND THE ART OF VIRTUALIZATION Paul Barham, Boris Dragovic, Keir Fraser, Steven Hand, Tim Harris, Alex Ho, Rolf Neugebauer, lan Pratt, Andrew Warfield.
EXTENSIBILITY, SAFETY AND PERFORMANCE IN THE SPIN OPERATING SYSTEM B. Bershad, S. Savage, P. Pardyak, E. G. Sirer, D. Becker, M. Fiuczynski, C. Chambers,
Bart Miller. Outline Definition and goals Paravirtualization System Architecture The Virtual Machine Interface Memory Management CPU Device I/O Network,
Background Computer System Architectures Computer System Software.
Extensibility, Safety and Performance in the SPIN Operating System Department of Computer Science and Engineering, University of Washington Brian N. Bershad,
Virtualization and Cloud Computing
Extensible Kernels Edgar Velázquez-Armendáriz September 24 th 2009.
Extensibility, Safety and Performance in the SPIN Operating System Brian Bershad, Stefan Savage, Przemyslaw Pardyak, Emin Gun Sirer, Marc E. Fiuczynski,
Network Implementation for Xen and KVM Class project for E : Network System Design and Implantation 12 Apr 2010 Kangkook Jee (kj2181)
Extensibility, Safety and Performance in the SPIN Operating System Brian Bershad, Stefan Savage, Przemyslaw Pardyak, Emin Gun Sirer, Marc E. Fiuczynski,
Virtualization and the Cloud
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Virtual Machines. Virtualization Virtualization deals with “extending or replacing an existing interface so as to mimic the behavior of another system”
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.
Virtual Machine Monitors. Bibliography 1.“Virtual Machine Monitors: Current Technology And Future Trends”, Mendel Rosenblum and Tal Garfinkel, IEEE Computer,
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
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.
Data Center Virtualization: Xen and Xen-blanket
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
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.
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.
Improving Network I/O Virtualization for Cloud Computing.
Xen and The Art of Virtualization Paul Barham, Boris Dragovic, Keir Fraser, Steven Hand, Tim Harris, Alex Ho, Rolf Neugebauer, Ian Pratt & Andrew Warfield.
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.
COMS E Cloud Computing and Data Center Networking Sambit Sahu
Our work on virtualization Chen Haogang, Wang Xiaolin {hchen, Institute of Network and Information Systems School of Electrical Engineering.
High Performance Computing on Virtualized Environments Ganesh Thiagarajan Fall 2014 Instructor: Yuzhe(Richard) Tang Syracuse University.
 Virtual machine systems: simulators for multiple copies of a machine on itself.  Virtual machine (VM): the simulated machine.  Virtual machine monitor.
Cloud Operating System Unit 09 Cloud OS Core Technology M. C. Chiang Department of Computer Science and Engineering National Sun Yat-sen University Kaohsiung,
EXTENSIBILITY, SAFETY AND PERFORMANCE IN THE SPIN OPERATING SYSTEM
Introduction to virtualization
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Full and Para Virtualization
Lecture 12 Virtualization Overview 1 Dec. 1, 2015 Prof. Kyu Ho Park “Understanding Full Virtualization, Paravirtualization, and Hardware Assist”, White.
Protecting The Kernel Data through Virtualization Technology BY VENKATA SAI PUNDAMALLI id :
Operating-System Structures
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->
Unit 2 VIRTUALISATION. Unit 2 - Syllabus Basics of Virtualization Types of Virtualization Implementation Levels of Virtualization Virtualization Structures.
Virtualization Neependra Khare
Xen and the Art of Virtualization
Virtualization for Cloud Computing
Virtual Machine Monitors
Virtualization Technology
Presented by Yoon-Soo Lee
Virtualization Dr. Michael L. Collard
Virtualization overview
Xen: The Art of Virtualization
Virtual Servers.
Group 8 Virtualization of the Cloud
OS Virtualization.
Virtualization Techniques
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
Operating Systems: A Modern Perspective, Chapter 3
Operating Systems Structure
Virtualization Dr. S. R. Ahmed.
Xen and the Art of Virtualization
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
Presentation transcript:

The xCloud and Design Alternatives Presented by Lavone Rodolph

Overview Definition of Virtualization Why Virtualization is hot Two major virtualization hypervisor platforms Cloud Providers Major cloud provider problem for cloud users Solutions to problem Testing Results

Virtualization Definition “Virtualization is the creation of a virtual device or resource such as a server, storage device, network or even an operating system” [3]

Why virtualization is hot The 4 drivers of virtualization Hardware is underutilized Data Centers run out of space Energy Cost is high System administration cost mounts

Two Major Virtualization VMM Platforms Xen KVM

Xen Hypervisor Platform 2 Main Components: Hypervisor (VMM) – manages memory, CPU scheduling, etc. VM0 (Domain 0) – has direct access to HW. Provides device drivers and I/O mgmt. for guest VM’s Paravirtualization replaces all privileged instructions with direct calls to hypervisor

KVM Hypervisor 4 privilege levels Rings 0-3 Ring 0 (Most Privileged) controls HW& Sys. Functions KVM model depends on architecture set. Ex. In X86 Guest OS runs in Ring 3, Rings 1 & 2 not used.

Cloud Providers Amazon (EC2) Google IBM Microsoft Rackspace Salesforce

Cloud Provider Problems Immutable Hypervisor and Buried HW Users are dependent on Cloud Vendor hypervisor tools Ex.) Amazon EC2 – CloudWatch Monitoring tool, Elastic load balancing. Users can not create custom hypervisor tools or employ techniques (such as efficient page sharing) at the hypervisor level. HW details lies behind virtual abstraction. Users can only use HW interfaces exposed by cloud provider

Solution: General Extensibility Architecture Note: U = User modules, P = Provider modules Allows user to create custom hypervisor modules. Interact directly with provider modules and with HW. Provide better service, enhanced performance Note: Provider Modules multiplex HW & enforce protection (isolate containers)

Three Design Alternatives The Extensible Hypervisor Design Download custom extensions (grafts or modules) into hypervisor. The ExoHypervisor Design Expose HW through the hypervisor via custom VMMLibraries The Nested virtualization approach Add another Virtual Machine Monitor (Hypervisor) that user can control

The Extensible Hypervisor Design Allows user to have some control of the hypervisor by downloading custom modules/extensions into the kernel Based on extensible OS ex. (SPIN & VINO) User defined modules make hypervisor mutable Modules execute in privilege mode, can access HW

The Extensible Hypervisor Design Immutable modules must be protected. Safe languages (ex. Modual- 3) are used to protect immutable modules Software fault isolation protect modules

The ExoHypervisor Design VMMlibrary used to manage HW, instead of Kernel, kernel enforces protection between applications VMMLibrary can be custom built Library can be linked to application Allows users to access HW Based on Exokernel OS LibVMM is mutable

Nested Virtualization Approach User modules made in the user controlled VM HW still remains buried However, paravirtualization may be applied Provider involvement is not necessary

Testing Nested Virtualization Design Nested virtualization testing performed within Amazon EC2 on machines with 24GB of RAM, 6 dual core 2.3GHz Intel Xeon X5670 Processors.

Testing Results 1 Below are microbenchmark testing results using lmbench for performing the following operations: double division, null system calls and fork. PV invokes hypervisor on system call. PV Fork causes overhead by inducing traps in lower layer hypervisor (it’s not privileged to do so)

Testing Disk I/O Testing I/O by writing 1.6 GB of data to a disk partition using blocks of size 256K. Tested 5 times Results: Nested virtualization did not cost much overhead, it achieved 90% throughput

I/O Results

References 1. ELDEHIRY, M., ELNIKETY, E., HUANG, H., JAMJOOM, H,. WEATHERSPOON, H., AND WILLIAMS, D. Unshackle the Cloud! In Proc. of USENIX HotCloud’11 (Portland, OR, June 2011). 2. BARHAM, P., DRAGOVIC, B., FRASER, K., HAND, S., HARRIS, T., HO, A., NEUGEBAUER, R., PRATT, I., AND WARFIELD, A. Xen and the art of virtualization. In Proc. of ACM SOSP (Bolton Landing, NY, Oct. 2003). 3. BEN-YEHUDA, M., DAY, M. D., DUBITZKY, Z., FACTOR, M., HAR’EL, N., GORDON, A., LIGUORI, A., WASSERMAN, O., AND YASSOUR, B.- A. The turtles project: Design and implementation of nested virtualization. In Proc. of USENIX OSDI (Vancouver, BC, Canada, Oct. 2010).

References (cont.) 4. BERSHAD, B. N., SAVAGE, S., PARDYAK, P., SIRER, E. G., FIUCZYN- SKI, M. E., BECKER, D., CHAMBERS, C., AND EGGERS, S. Extensibil- ity, safety and performance in the SPIN operating system. In Proc. of ACM SOSP (Copper Mountain, CO, Dec. 1995). 5. CLARK, C., FRASER, K., HAND, S., HANSEN, J. G., JUL, E., LIMPACH, C., PRATT, I., AND WARFIELD, A. Live migration of virtual machines. In Proc. of USENIX NSDI (Boston, MA, May 2005) virtualization