Memory-efficient Virtual Machine High Availability Karen Kai-Yuan Hou Prof. Kang G. Shin University of Michigan Mustafa Uysal (VMware) Arif Merchant (HP.

Slides:



Advertisements
Similar presentations
Remus: High Availability via Asynchronous Virtual Machine Replication
Advertisements

Profit from the cloud TM Parallels Dynamic Infrastructure AndOpenStack.
Performance Evaluation of Open Virtual Routers M.Siraj Rathore
KMemvisor: Flexible System Wide Memory Mirroring in Virtual Environments Bin Wang Zhengwei Qi Haibing Guan Haoliang Dong Wei Sun Shanghai Key Laboratory.
1 Cheriton School of Computer Science 2 Department of Computer Science RemusDB: Transparent High Availability for Database Systems Umar Farooq Minhas 1,
Virtualization and Cloud Computing Virtualization David Bednárek, Jakub Yaghob, Filip Zavoral.
Adam Duffy Edina Public Schools.  The heart of virtualization is the “virtual machine” (VM), a tightly isolated software container with an operating.
Ton Huynh, VCP Solutions Architect, Southwest Veeam Software.
Towards High-Availability for IP Telephony using Virtual Machines Devdutt Patnaik, Ashish Bijlani and Vishal K Singh.
CS 333 Introduction to Operating Systems Class 18 - File System Performance Jonathan Walpole Computer Science Portland State University.
VMware Update 2009 Daniel Griggs Solutions Architect, Virtualization Servers & Storage Solutions Practice Dayton OH.
Cse Feb-001 CSE 451 Section February 24, 2000 Project 3 – VM.
Chapter 9 Virtual Memory Produced by Lemlem Kebede Monday, July 16, 2001.
Remus: High Availability via Asynchronous Virtual Machine Replication.
KVM/ARM: The Design and Implementation of the Linux ARM Hypervisor Fall 2014 Presented By: Probir Roy.
Virtualization and the Cloud
1 ExtraVirt: Detecting and recovering from transient processor faults Dominic Lucchetti, Steve Reinhardt, Peter Chen University of Michigan.
VIRTUALIZATION AND YOUR BUSINESS November 18, 2010 | Worksighted.
 Prof. Dr. M. H. Assal Introduction to Computer AS 26/10/2014.
Virtualization for Cloud Computing
5 Ways Smart vSphere Backups May Surprise You vForum Series Mario Marquez System Engineer.
VIRTUALISATION OF HADOOP CLUSTERS Dr G Sudha Sadasivam Assistant Professor Department of CSE PSGCT.
Scalability Module 6.
Selling the Database Edition for Oracle on HP-UX November 2000.
Tanenbaum 8.3 See references
Insight Proprietary & Confidential. Do Not Copy or Distribute. © 2015 Insight Direct USA, Inc. All Rights Reserved. Insight Presentation Insight’s Tagline.
Making the Virtualization Decision. Agenda The Virtualization Umbrella Server Virtualization Architectures The Players Getting Started.
Adaptive Control of Virtualized Resources in Utility Computing Environments HP Labs: Xiaoyun Zhu, Mustafa Uysal, Zhikui Wang, Sharad Singhal University.
Automated Control of Multiple Virtualized Resources
Remus: VM Replication Jeff Chase Duke University.
INTRODUCTION TO CLOUD COMPUTING CS 595 LECTURE 2.
Benefits: Increased server utilization Reduced IT TCO Improved IT agility.
Selling the Storage Edition for Oracle November 2000.
Revisiting Hardware-Assisted Page Walks for Virtualized Systems
Chapter 9: Virtual Memory Background Demand Paging Copy-on-Write Page Replacement Allocation of Frames Thrashing Memory-Mapped Files Allocating Kernel.
Virtualization Infrastructure Administration
Transparent Fault-Tolerant Java Virtual Machine Roy Friedman & Alon Kama Computer Science — Technion.
02/09/2010 Industrial Project Course (234313) Virtualization-aware database engine Final Presentation Industrial Project Course (234313) Virtualization-aware.
Module 4.0: File Systems File is a contiguous logical address space.
Computer Systems Week 14: Memory Management Amanda Oddie.
Seminar of “Virtual Machines” Course Mohammad Mahdizadeh SM. University of Science and Technology Mazandaran-Babol January 2010.
CS333 Intro to Operating Systems Jonathan Walpole.
Efficient Live Checkpointing Mechanisms for computation and memory-intensive VMs in a data center Kasidit Chanchio Vasabilab Dept of Computer Science,
Project Presentation By: Dean Morrison 12/6/2006 Dynamically Adaptive Prepaging for Effective Virtual Memory Management.
THAWAN KOOBURAT MICHAEL SWIFT UNIVERSITY OF WISCONSIN - MADISON 1 The Best of Both Worlds with On-Demand Virtualization.
Windows XP Memory Management Aaron Lanoy and Jason Farnsworth.
Cloud Computing Lecture 5-6 Muhammad Ahmad Jan.
Cloud Computing – UNIT - II. VIRTUALIZATION Virtualization Hiding the reality The mantra of smart computing is to intelligently hide the reality Binary->
Virtual Machine Movement and Hyper-V Replica
Indexing strategies and good physical designs for performance tuning Kenneth Ureña /SpanishPASSVC.
Eliminating the I/O Blender Realizing “World Class” Storage Performance in Virtual Server Environments.
PHD Virtual Technologies “Reader’s Choice” Preferred product.
Virtualization for Cloud Computing
Virtualization.
Virtual Machine Monitors
Jonathan Walpole Computer Science Portland State University
Managing Multi-User Databases
Presented by Yoon-Soo Lee
Swapping Segmented paging allows us to have non-contiguous allocations
Group 8 Virtualization of the Cloud
Introduction to Operating Systems
EECS 498 Introduction to Distributed Systems Fall 2017
OS Virtualization.
دکتر محمد کاظم اکبری مرتضی سرگلزایی جوان
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Page Replacement.
Overview: File system implementation (cont)
Cloud Computing Architecture
Low-cost and Fast Failure Recovery Using In-VM Containers in Clouds
Clock Algorithm Example
Presentation transcript:

Memory-efficient Virtual Machine High Availability Karen Kai-Yuan Hou Prof. Kang G. Shin University of Michigan Mustafa Uysal (VMware) Arif Merchant (HP Labs) Sharad Singhal (HP Labs) 1

Protect VM from Host Failures Set up backup by primary VM replication Backup takes over execution promptly if primary fails High memory cost E.g. To protect a 1G VM, an additional 1G memory is reserved to just hold the backup. 2 App 1 Primary VM Hypervisor Primary Host App 2 App 1 Backup VM Hypervisor Backup Host App 2 Physical Host Failure

Use a Shared Storage “Maintain” backup VM in storage instead of RAM Improve resource and energy efficiency. Recover anywhere. 3 Other primary (active) VM App 1 Primary VM Hypervisor App 2 Host 1 Hypervisor Host 2 Shared Storage Hypervisor Host 2 Hypervisor Host n App 1 Backup VM App 2 App 1 Primary VM Hypervisor Host 1 App 2

Protection: Tracking Primary VM State Take checkpoints of the primary VM – Incremental, periodic, copy-on-write checkpoints 4 Primary VM App 1 App 2 VM memory space VM Fail-over Image

Fail-over: Bringing Up Backup VM Slim VM Restore – Load only necessary information and switch on backup VM quickly – Fetch pages on-demand as the backup VM executes 5 VM Fail-over Image Restored backup VM App 1 App 2 VM memory space

Improving I/O Efficiency with SSDs Small, random I/O’s are more efficient on SSDs 6 Primary Side Updating the VM image continuously. Restore Side Fetching from the VM image on-demand. VM Fail-over Image small, random writessmall, random reads

Preliminary Evaluation Prototype built on Xen Questions – How much overhead does continuous checkpointing introduce on the primary VM? – How does the shared storage support continuous updating of the fail-over image? – How quickly can our system bring up a backup VM? – How does the backup VM perform when it executes by fetching pages on-demand? 7

Checkpointing Overheads Kernel Compilation RUBiS 8

CoW and SSD Enhancements CoW reduces VM pause time for taking checkpoints Checkpoints commit faster on a SSD 9

Fail-over Time and Demand Fetching Time required to bring up a backup VM Overheads of fetching VM pages on-demand 10

Interesting Observations: Page Fetching Behavior How a VM uses (demand fetches) its pages while compiling a kernel: 11

Interesting Observations: Page Fetching Behavior What actually happens on disk (recorded by blktrace): 12

Conclusions s

Thank you! 14