Urgent Virtual Machine Eviction with Enlightened Post-Copy Yoshihisa Abe†, Roxana Geambasu‡, Kaustubh Joshi, and Mahadev Satyanarayanan† †Carnegie Mellon.

Slides:



Advertisements
Similar presentations
Difference Engine: Harnessing Memory Redundancy in Virtual Machines by Diwaker Gupta et al. presented by Jonathan Berkhahn.
Advertisements

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.
Parallelizing Live Migration of Virtual Machines
Virtualization in HPC Minesh Joshi CSC 469 Dr. Box Feb 1, 2012.
Live Migration of Virtual Machines Christopher Clark, Keir Fraser, Steven Hand, Jacob Gorm Hansen, Eric Jul, Christian Limpach, Ian Pratt, Andrew Warfield.
Heterogeneous Live Migration of Virtual Machines Pengcheng Liu, Ziye Yang, Xiang Song, Yixun Zhou, Haibo Chen, and Binyu Zang Parallel Processing Institute,
CloudScale: Elastic Resource Scaling for Multi-Tenant Cloud Systems Zhiming Shen, Sethuraman Subbiah, Xiaohui Gu, John Wilkes.
Efficient Autoscaling in the Cloud using Predictive Models for Workload Forecasting Roy, N., A. Dubey, and A. Gokhale 4th IEEE International Conference.
COMMA: Coordinating the Migration of Multi-tier applications 1 Jie Zheng* T.S Eugene Ng* Kunwadee Sripanidkulchai† Zhaolei Liu* *Rice University, USA †NECTEC,
Post-Copy Live Migration of Virtual Machines Michael R. Hines, Umesh Deshpande, Kartik Gopalan Computer Science, Binghamton University(SUNY) SIGOPS 09’
Towards High-Availability for IP Telephony using Virtual Machines Devdutt Patnaik, Ashish Bijlani and Vishal K Singh.
CacheMind: Fast Performance Recovery Using a Virtual Machine Monitor Kenichi Kourai Kyushu Institute of Technology, Japan.
1 Distributed Systems: Distributed Process Management – Process Migration.
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
WINDOWS 7 AND UBUNTU INSTALLING LINUX WITHIN WINDOWS.
To run the program: To run the program: You need the OS: You need the OS:
Presented by : Ran Koretzki. Basic Introduction What are VM’s ? What is migration ? What is Live migration ?
Design and Implementation of a Single System Image Operating System for High Performance Computing on Clusters Christine MORIN PARIS project-team, IRISA/INRIA.
Virtualization Technology Prof D M Dhamdhere CSE Department IIT Bombay Moving towards Virtualization… Department of Computer Science and Engineering, IIT.
Virtualization and Cloud Computing Research at Vasabilab Kasidit Chanchio Vasabilab Dept of Computer Science, Faculty of Science and Technology, Thammasat.
Evaluation of Delta Compression Techniques for Efficient Live Migration of Large Virtual Machines Petter Svärd, Benoit Hudzia, Johan Tordsson and Erik.
Department of Computer Science Engineering SRM University
Virtualization. Virtualization  In computing, virtualization is a broad term that refers to the abstraction of computer resources  It is "a technique.
VLDB2012 Hoang Tam Vo #1, Sheng Wang #2, Divyakant Agrawal †3, Gang Chen §4, Beng Chin Ooi #5 #National University of Singapore, †University of California,
Virtualization: Not Just For Servers Hollis Blanchard PowerPC kernel hacker.
Zero-copy Migration for Lightweight Software Rejuvenation of Virtualized Systems Kenichi Kourai Hiroki Ooba Kyushu Institute of Technology.
Virtual Machine and its Role in Distributed Systems.
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. LogKV: Exploiting Key-Value.
Embedded System Lab. 오명훈 Memory Resource Management in VMware ESX Server Carl A. Waldspurger VMware, Inc. Palo Alto, CA USA
Our work on virtualization Chen Haogang, Wang Xiaolin {hchen, Institute of Network and Information Systems School of Electrical Engineering.
Dynamic Resource Monitoring and Allocation in a virtualized environment.
Live Migration of Virtual Machines Christopher Clark, Keir Fraser, Steven Hand, Jacob Gorm Hansen†,Eric Jul†, Christian Limpach, Ian Pratt, Andrew Warfield.
Energy Management in Virtualized Environments Gaurav Dhiman, Giacomo Marchetti, Raid Ayoub, Tajana Simunic Rosing (CSE-UCSD) Inside Xen Hypervisor Online.
Server Virtualization & Disaster Recovery Ryerson University, Computer & Communication Services (CCS), Technical Support Group Eran Frank Manager, Technical.
VGreen: A System for Energy Efficient Manager in Virtualized Environments G. Dhiman, G Marchetti, T Rosing ISLPED 2009.
1 Virtual Machine Memory Access Tracing With Hypervisor Exclusive Cache USENIX ‘07 Pin Lu & Kai Shen Department of Computer Science University of Rochester.
Synchronized Co-migration of Virtual Machines for IDS Offloading in Clouds Kenichi Kourai and Hisato Utsunomiya Kyushu Institute of Technology, Japan.
Embedded System Lab. 정범종 A_DRM: Architecture-aware Distributed Resource Management of Virtualized Clusters H. Wang et al. VEE, 2015.
Efficient Live Checkpointing Mechanisms for computation and memory-intensive VMs in a data center Kasidit Chanchio Vasabilab Dept of Computer Science,
Core Migration On SCC [keyword : Lookup Table, MPB] Chan Seok Kang 2013/06/19.
Memory Resource Management in VMware ESX Server By Carl A. Waldspurger Presented by Clyde Byrd III (some slides adapted from C. Waldspurger) EECS 582 –
Live Migration of Virtual Machines Authors: Christopher Clark, Keir Fraser, Steven Hand, Jacob Gorm Hansen, Eric Jul, Christian Limpach, Ian Pratt, Andrew.
Friendly Virtual Machines Zhang,Bestavros etc., Boston Univ. ACM/USENIX VEE 2005 CSE 598c April 17, 2006 Bhuvan Urgaonkar CSE 598c April 17, 2006 Bhuvan.
Split Migration of Large Memory Virtual Machines
Virtualization for Cloud Computing
Presented by Yoon-Soo Lee
NEWS LAB 薛智文 嵌入式系統暨無線網路實驗室
Reinforcement Learning Based Virtual Cluster Management
Kenichi Kourai Hiroki Ooba Kyushu Institute of Technology, Japan
Group 8 Virtualization of the Cloud
Backtracking Intrusions
Virtualization Layer Virtual Hardware Virtual Networking
I'm Kenichi Kourai from Kyushu Institute of Technology.
KISS-Tree: Smart Latch-Free In-Memory Indexing on Modern Architectures
Preventing Performance Degradation on Operating System Reboots
The Design & Implementation of Hyperupcalls
VSWAPPER: A Memory Swapper for Virtualized Environments
Backfilling the Grid with Containerized BOINC in the ATLAS computing
Virtualization Dr. S. R. Ahmed.
Disk Scheduling The operating system is responsible for using hardware efficiently — for the disk drives, this means having a fast access time and disk.
A workload-aware energy model for VM migration
Kenichi Kourai Kyushu Institute of Technology
T. Kashiwagi, M. Suetake , K. Kourai (Kyushu Institute of Technology)
Xing Pu21 Ling Liu1 Yiduo Mei31 Sankaran Sivathanu1 Younggyun Koh1
Efficient Migration of Large-memory VMs Using Private Virtual Memory
Presentation transcript:

Urgent Virtual Machine Eviction with Enlightened Post-Copy Yoshihisa Abe†, Roxana Geambasu‡, Kaustubh Joshi, and Mahadev Satyanarayanan† †Carnegie Mellon University, ‡Columbia University, AT&T Research VEE 2016

Virtual Machine (VM) Migration Transfer executing VMs between physical hosts Key operation in cloud resource provisioning – Commonly used for planned activities – e.g., machine maintenance 2

Migration under Contention Multiple VMs co-located for resource efficiency – Performance degrades at peak times Load balancing through resource re-allocation to VMs 3

Objectives Migration for contending VMs under tight time requirement Focus on fast execution transfer and short total duration 4

Current Standard: Live Migration Pre-copy focusing on minimizing down time [Clark ’05, Nelson ’05] 5 [Clark ’05] C. Clark et al. Live Migration of Virtual Machines. NSDI ’05. [Nelson ’05] M. Nelson et al. Fast Transparent Migration for Virtual Machines. USENIX ATC ’05.

Approach to VM Contention Guest OS participates in migration operation – Guest OS is increasingly aware of virtualized environments i.e., para-virtualization Design goals – First priority is resolving contention between loaded VMs Focus on total performance of VMs being affected – Migrating VM should not linger on source Exploit cooperation of guest OS for performance recovery 6

Exploiting Execution Knowledge Enlightenment: knowledge passed from guest to hypervisor [Miłós ’09] Obtain current knowledge explicitly for prioritized memory transfer 7 [Miłós ’09] G. Miłós et al. Satori: Enlightened Page Sharing. USENIX ATC ’09.

Enlightened Post-Copy Exploit enlightenment to identify memory needed for current workload 8

Page Prioritization Rationale: use existing memory management information (in Linux) – Less than 15 lines for tracking kernel/user allocation – Several lines in 16 places for tracking Not Allocated 9

Implementation Guest OS passes enlightenment through bitmaps – Priority bitmap: contains page priorities, written once upon migration – Free bitmap: indicates used/unused pages, updated real-time 10

Experiment Set-Up 11

Example Workloads Two VMs with same workloads under contention VMs: 30 GB memory, 8 (Cassandra) or 4 (Memcached) cores Cassandra: NoSQL database – YCSB with 50% read and 50% read-modify-write – CPU-intensive Memcached: in-memory key-value store – Memslap benchmark with 1:9 set-get ratio – Memory-intensive 12

Results: Cassandra 13

Results: Memcached 14

Migrating Idle VM Enlightened post-copy is designed for busy VMs – Non-busy VMs are amenable to live migration Idle VM with 30 GB memory Approximately 1 GB in use, migrated over 10 Gbps qemu-kvm compresses zeroed-out pages (≈29 GB) – Still needs to scan their contents 15

Conclusion Migration scheme for VMs under contention – Requires fast execution transfer and short total duration – Considers aggregate performance of VMs, rather than target VM only Guest OS participates in migration operation – Allows hypervisor to migrate memory in prioritized manner Encourages optimistic VM co-location – Limit performance penalties by resolving VM contention fast 16