Zero-copy Migration for Lightweight Software Rejuvenation of Virtualized Systems Kenichi Kourai Hiroki Ooba Kyushu Institute of Technology.

Slides:



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

Live migration of Virtual Machines Nour Stefan, SCPD.
Diagnosing Performance Overheads in the Xen Virtual Machine Environment Aravind Menon Willy Zwaenepoel EPFL, Lausanne Jose Renato Santos Yoshio Turner.
Virtualization and Cloud Computing. Definition Virtualization is the ability to run multiple operating systems on a single physical system and share the.
Live Migration of Virtual Machines Christopher Clark, Keir Fraser, Steven Hand, Jacob Gorm Hansen, Eric Jul, Christian Limpach, Ian Pratt, Andrew Warfield.
Fast and Safe Performance Recovery on OS Reboot Kenichi Kourai Kyushu Institute of Technology.
A Fast Rejuvenation Technique for Server Consolidation with Virtual Machines Kenichi Kourai Shigeru Chiba Tokyo Institute of Technology.
Xen Virtualization Andrew Hamilton
Virtual Machines What Why How Powerpoint?. What is a Virtual Machine? A Piece of software that emulates hardware.  Might emulate the I/O devices  Might.
Exploiting Data Deduplication to Accelerate Live Virtual Machine Migration Xiang Zhang 1,2, Zhigang Huo 1, Jie Ma 1, Dan Meng 1 1. National Research Center.
Efficient VM Introspection in KVM and Performance Comparison with Xen
Memory Buddies: Exploiting Page Sharing for Smart Colocation in Virtualized Data Centers Timothy Wood, Gabriel Tarasuk-Levin, Prashant Shenoy, Peter Desnoyers*,
Virtual Machine Security Design of Secure Operating Systems Summer 2012 Presented By: Musaad Alzahrani.
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice In search of a virtual yardstick:
Introduction to Virtualization
A Secure System-wide Process Scheduling across Virtual Machines Hidekazu Tadokoro (Tokyo Institute of Technology) Kenichi Kourai (Kyushu Institute of Technology)
CacheMind: Fast Performance Recovery Using a Virtual Machine Monitor Kenichi Kourai Kyushu Institute of Technology, Japan.
Virtualization and the Cloud
Fast and Correct Performance Recovery of Operating Systems Using a Virtual Machine Monitor Kenichi Kourai Kyushu Institute of Technology, Japan.
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
Xen and the Art of Virtualization. Introduction  Challenges to build virtual machines Performance isolation  Scheduling priority  Memory demand  Network.
Virtual Network Servers. What is a Server? 1. A software application that provides a specific one or more services to other computers  Example: Apache.
VIRTUALISATION OF HADOOP CLUSTERS Dr G Sudha Sadasivam Assistant Professor Department of CSE PSGCT.
Presented by : Ran Koretzki. Basic Introduction What are VM’s ? What is migration ? What is Live migration ?
Measuring zSeries System Performance Dr. Chu J. Jong School of Information Technology Illinois State University 06/11/2012 Sponsored in part by Deer &
Virtual AMT for Unified Management of Physical and Virtual Desktops Kenichi Kourai Kouki Oozono Kyushu Institute of Technology.
Windows Azure Conference 2014 Running Docker on Windows Azure.
HyperSpector: Virtual Distributed Monitoring Environments for Secure Intrusion Detection Kenichi Kourai Shigeru Chiba Tokyo Institute of Technology.
SAIGONTECH COPPERATIVE EDUCATION NETWORKING Spring 2009 Seminar #1 VIRTUALIZATION EVERYWHERE.
Kenichi Kourai (Kyushu Institute of Technology) Takuya Nagata (Kyushu Institute of Technology) A Secure Framework for Monitoring Operating Systems Using.
Secure & flexible monitoring of virtual machine University of Mazandran Science & Tecnology By : Esmaill Khanlarpour January.
Secure Out-of-band Remote Management Using Encrypted Virtual Serial Consoles in IaaS Clouds Kenichi Kourai Tatsuya Kajiwara Kyushu Institute of Technology.
Xen I/O Overview. Xen is a popular open-source x86 virtual machine monitor – full-virtualization – para-virtualization para-virtualization as a more efficient.
Improving Network I/O Virtualization for Cloud Computing.
Virtualization: Not Just For Servers Hollis Blanchard PowerPC kernel hacker.
The Best of Both Worlds with On-Demand Virtualization Thawan Kooburat and Michael M. Swift On-Demand Virtualization allows systems to benefit from virtualization.
Virtual Machine and its Role in Distributed Systems.
Politecnico di Torino Dipartimento di Automatica ed Informatica TORSEC Group Performance of Xen’s Secured Virtual Networks Emanuele Cesena Paolo Carlo.
High Performance Computing on Virtualized Environments Ganesh Thiagarajan Fall 2014 Instructor: Yuzhe(Richard) Tang Syracuse University.
Virtualization 3 Subtitle: “What can we do to a VM?” Learning Objectives: – To understand the VM-handling mechanisms of a hypervisor – To understand how.
Dynamic and Secure Application Consolidation with Nested Virtualization and Library OS in Cloud Kouta Sannomiya and Kenichi Kourai (Kyushu Institute of.
The xCloud and Design Alternatives Presented by Lavone Rodolph.
Synchronized Co-migration of Virtual Machines for IDS Offloading in Clouds Kenichi Kourai and Hisato Utsunomiya Kyushu Institute of Technology, Japan.
VTurbo: Accelerating Virtual Machine I/O Processing Using Designated Turbo-Sliced Core Embedded Lab. Kim Sewoog Cong Xu, Sahan Gamage, Hui Lu, Ramana Kompella,
Virtual Machines Created within the Virtualization layer, such as a hypervisor Shares the physical computer's CPU, hard disk, memory, and network interfaces.
Efficient Live Checkpointing Mechanisms for computation and memory-intensive VMs in a data center Kasidit Chanchio Vasabilab Dept of Computer Science,
Full and Para Virtualization
COMP25212: Virtualization 3 Subtitle: “What can we do to a VM?” Learning Objectives: –To understand the VM-handling mechanisms of a hypervisor –To understand.
Virtualization One computer can do the job of multiple computers, by sharing the resources of a single computer across multiple environments. Turning hardware.
Secure Offloading of Legacy IDSes Using Remote VM Introspection in Semi-trusted IaaS Clouds Kenichi Kourai Kazuki Juda Kyushu Institute of Technology.
XEN – The Art of Virtualisation. So what is Virtualisation? ● Makes use of spare capacity ● Run multiple instances of OSes simultaneously ● Multitasking.
Split Migration of Large Memory Virtual Machines
Virtualization for Cloud Computing
Presented by Yoon-Soo Lee
Kenichi Kourai Kouta Sannomiya Kyushu Institute of Technology, Japan
Kenichi Kourai Hiroki Ooba Kyushu Institute of Technology, Japan
Shohei Miyama Kenichi Kourai Kyushu Institute of Technology, Japan
Sho Kawahara and Kenichi Kourai Kyushu Institute of Technology, Japan
I'm Kenichi Kourai from Kyushu Institute of Technology.
Preventing Performance Degradation on Operating System Reboots
I'm Kenichi Kourai from Kyushu Institute of Technology.
A workload-aware energy model for VM migration
Microsoft Virtual Academy
Virtual Machine Migration for Secure Out-of-band Remote Management in Clouds T.Unoki, S.Futagami, K.Kourai (Kyushu Institute of Technology) OUT-OF-BAND.
Kenichi Kourai Kyushu Institute of Technology
T. Kashiwagi, M. Suetake , K. Kourai (Kyushu Institute of Technology)
Low-cost and Fast Failure Recovery Using In-VM Containers in Clouds
Consistent Offline Update of Suspended Virtual Machines in Clouds
Efficient Migration of Large-memory VMs Using Private Virtual Memory
Presentation transcript:

Zero-copy Migration for Lightweight Software Rejuvenation of Virtualized Systems Kenichi Kourai Hiroki Ooba Kyushu Institute of Technology

Software Aging [Huang+ FTC'95]  Virtualized systems tend to suffer from software aging  The state of running software is degraded with time  E.g., memory leakage  Hypervisors (and management VMs) are long-running software Source: F. Machida et al., Combined Server Rejuvenation in a Virtualized Data Center, Proc. IEEE ATC free memoryfree disk space

Software Rejuvenation [Huang+ FTC'95]  Restore systems to the normal state  Proactive technique for counteracting software aging  Simplest method: system reboot  Cause a long downtime in virtualized systems  Need to stop all VMs during the reboot  Violate service level agreement (SLA) aged hypervisor VM...

Rejuvenation with VM Migration  Reduce downtime during rejuvenation  Migrate all VMs to another host  The downtime due to VM migration is usually negligible  Reboot only the aged hypervisor  No VMs on it aged hypervisor VM... clean hypervisor migration source host destination host VM... VM

Performance Degradation  VM migration stresses hosts and network largely  Transfer the memory images of VMs via network  Several hundreds of GB in total  Encrypted to prevent eavesdropping/tampering  Occupy CPUs and memory/network bandwidths  Degrade the performance of virtualized systems Source: K. Kourai et al., Fast Software Rejuvenation of Virtual Machine Monitors, TDSC, web throughput startend

VMBeam  Enable lightweight software rejuvenation  Start a new virtualized system at the same host  Using nested virtualization  Migrate all VMs from an aged system onto a clean one  Using zero-copy migration  Stop the aged system aged hypervisor VM... zero-copy migration source virtualized system destination virtualized system clean hypervisor VM... VM

Nested Virtualization  Enable a virtualized system to run in a VM  Guest hypervisor/VMs inside a virtualized system  Host hypervisor/VMs in the outside  The overhead is 6-8% [Ben-Yehuda+ OSDI'10]  1% in a special-purpose host hypervisor [Tan+ DCDV'12] guest hypervisor guest VM guest VM... guest hypervisor guest VM guest VM... host hypervisor host VM

Zero-copy Migration  Relocate the memory of guest VMs between virtualized systems at the same host  Step 1: Share the memory between src/dst guest VMs  The src guest VM can continue to run  Step 2: Release the memory of the src guest VM  After the entire memory is shared clean guest hypervisor host hypervisor inter-guest memory sharing cloned guest VM running guest VM aged guest hypervisor destination host VM source host VM

No Memory Re-transfer  Zero-copy migration is completed in one iteration  Not repeat to re-transfer modified memory areas  Traditional live migration needs multiple iterations  Modifications are directly reflected to a destination guest VM by memory sharing  Reduce the migration time for memory-intensive VMs clean guest hypervisor host hypervisor aged guest hypervisor no re-transfer cloned guest VM running guest VM destination host VM source host VM

Reducing System Loads  No use of the virtual network  Shared memory is used  No copy of large memory images of VMs  The memory is simply relocated  No encryption of the memory images  Any data is not exposed to the outside of guest VMs  No need to detect memory write in guest VMs  Modifications are directly reflected CP U Net Mem CP U

Devirtualization [Lowell+ ASPLOS'04]  Remove the overhead of nested virtualization  Disable the host hypervisor during a normal run  Re-virtualize the system only during rejuvenation  Cons: the guest hypervisor could directly corrupt the hardware state guest hypervisor guest VM... host hypervisor host VM guest hypervisor guest VM... host hypervisor host VM devirtualize revirtualize

Isn't the Host Hypervisor Aged?  Yes, but the aging speed is slower  Much smaller than the guest hypervisor  6K LOC (CloudVisor) vs. 300K LOC (Xen 4.2)  Execute no complex VM operations  Devirtualization can suppress aging  The host hypervisor is disabled minimal host hypervisor feature-rich guest hypervisor host VM guest VM migration

Experiments  We confirmed the effectiveness of zero-copy migration in VMBeam  System loads, migration time, and downtime  Comparison  Xen-Phys  Traditional system with two physical hosts  Xen-Blanket [Williams+ EuroSys'12]  System with nested virtualization and fast virtual network [2 hosts] CPU: Intel Xeon E Memory: 32 GB NIC: Gigabit Ethernet host hypervisor: Xen 4.2 host Dom0 OS: Linux guest Dom0 OS: Linux 3.5.0

System Loads  We measured system loads during VM migration  VMBeam did not transfer data via virtual network  It used only 30% of CPU time in Xen-Phys  It did not access the VM memory (estimated)

Migration Performance  We measured the migration time and downtime  The migration time in VMBeam was up to 5.8x faster  The downtime in VMBeam was 0.2s longer  Due to the overhead of nested virtualization 16s

Related Work  Microvisor [Lowell+ ASPLOS'04]  Maintain the system in a new VM and migrate applications to it  Focus on devirtualization  RDMA-based migration [Huang+ Cluster'07]  Only one copy by InfiniBand  Need 3 copies when encrypting the memory image  Warm-VM Reboot [Kourai+ DSN'07]  Maintain VMs in memory during rejuvenation  Still cause downtime during the hypervisor reboot

Conclusion  VMBeam for lightweight software rejuvenation of virtualized systems  Nested virtualization: Run aged and clean systems at the same host  Zero-copy migration: Migrate guest VMs efficiently  Suppress system loads  Make VM migration up to 5.8x faster  Future work  Develop a minimal host hypervisor  Enable devirtualization in the host hypervisor