Black-box and Gray-box Strategies for Virtual Machine Migration



Similar documents
Black-box and Gray-box Strategies for Virtual Machine Migration

Black-box and Gray-box Strategies for Virtual Machine Migration

Aaron J. Elmore, Carlo Curino, Divyakant Agrawal, Amr El Abbadi. cs.ucsb.edu microsoft.com

Memory Buddies: Exploiting Page Sharing for Server Consolidation in Virtualized Data Centers

Dynamic Resource allocation in Cloud

Keywords Distributed Computing, On Demand Resources, Cloud Computing, Virtualization, Server Consolidation, Load Balancing

GeoCloud Project Report USGS/EROS Spatial Data Warehouse Project

Enhancing the Scalability of Virtual Machines in Cloud

Autonomic resource management for the Xen Hypervisor

Allocation of Resources Dynamically in Data Centre for Cloud Environment

Avoiding Performance Bottlenecks in Hyper-V

Memory Buddies: Exploiting Page Sharing for Smart Colocation in Virtualized Data Centers

Resource Availability Based Performance Benchmarking of Virtual Machine Migrations

Xen Live Migration. Networks and Distributed Systems Seminar, 24 April Matúš Harvan Xen Live Migration 1

Satisfying Service Level Objectives in a Self-Managing Resource Pool

Full and Para Virtualization

Data Center Network Minerals Tutorial

Technical Investigation of Computational Resource Interdependencies

SLAPv: A Service Level Agreement Enforcer for Virtual Networks

Maximizing SQL Server Virtualization Performance

Virtual Machine Monitors. Dr. Marc E. Fiuczynski Research Scholar Princeton University

Virtualization Technology using Virtual Machines for Cloud Computing

Towards an understanding of oversubscription in cloud

Cloud Computing through Virtualization and HPC technologies

Run-time Resource Management in SOA Virtualized Environments. Danilo Ardagna, Raffaela Mirandola, Marco Trubian, Li Zhang

Virtualization Technologies and Blackboard: The Future of Blackboard Software on Multi-Core Technologies

Figure 1. The cloud scales: Amazon EC2 growth [2].

Use Cases for Docker in Enterprise Linux Environment CloudOpen North America, 2014 Linda Wang Sr. Software Engineering Manager Red Hat, Inc.

USING VIRTUAL MACHINE REPLICATION FOR DYNAMIC CONFIGURATION OF MULTI-TIER INTERNET SERVICES

Affinity Aware VM Colocation Mechanism for Cloud

A Batch Computing Service for the Spot Market. Supreeth Subramanya, Tian Guo, Prateek Sharma, David Irwin, Prashant Shenoy

Dynamic memory Allocation using ballooning and virtualization in cloud computing

COS 318: Operating Systems. Virtual Machine Monitors

<Insert Picture Here> Introducing Oracle VM: Oracle s Virtualization Product Strategy

Elastic Load Balancing in Cloud Storage

Best Practices for Optimizing Your Linux VPS and Cloud Server Infrastructure

A Novel Method for Resource Allocation in Cloud Computing Using Virtual Machines

Data Centers and Cloud Computing

Table of Contents. Server Virtualization Peer Review cameron : modified, cameron

Energy Constrained Resource Scheduling for Cloud Environment

Container-based operating system virtualization: a scalable, high-performance alternative to hypervisors

CloudScale: Elastic Resource Scaling for Multi-Tenant Cloud Systems

VIRTUALIZATION is widely deployed in large-scale

An Oracle White Paper August Oracle VM 3: Server Pool Deployment Planning Considerations for Scalability and Availability

Dynamic Load Balancing of Virtual Machines using QEMU-KVM

Monitoring Databases on VMware

Mesos: A Platform for Fine- Grained Resource Sharing in Data Centers (II)

Dynamic Processor Resource Configuration in Virtualized Environments

The Benefits of POWER7+ and PowerVM over Intel and an x86 Hypervisor

Servervirualisierung mit Citrix XenServer

Two-Level Cooperation in Autonomic Cloud Resource Management

OpenStack Neat: a framework for dynamic and energy-efficient consolidation of virtual machines in OpenStack clouds

Takahiro Hirofuchi, Hidemoto Nakada, Satoshi Itoh, and Satoshi Sekiguchi

BridgeWays Management Pack for VMware ESX

Virtualization of the MS Exchange Server Environment

Multifaceted Resource Management for Dealing with Heterogeneous Workloads in Virtualized Data Centers

A Taxonomy and Survey of Energy-Efficient Data Centers and Cloud Computing Systems

Monitoring and Alerting

Infrastructure as a Service (IaaS)

How To Improve Data Center Performance

Dynamic Resource management with VM layer and Resource prediction algorithms in Cloud Architecture

Virtualization. Introduction to Virtualization Virtual Appliances Benefits to Virtualization Example Virtualization Products

Very Large Enterprise Network, Deployment, Users

Windows Server 2008 R2 Hyper-V Live Migration

LabStats 5 System Requirements

Efficient Resource Management for Virtual Desktop Cloud Computing

Virtualization Technologies ORACLE TECHNICAL WHITE PAPER OCTOBER 2015

Server Consolidation with Migration Control for Virtualized Data Centers

XenMon: QoS Monitoring and Performance Profiling Tool

Storage I/O Control: Proportional Allocation of Shared Storage Resources

Parallels Plesk Automation

Dynamic Virtual Machine Scheduling in Clouds for Architectural Shared Resources

Effective Resource Allocation For Dynamic Workload In Virtual Machines Using Cloud Computing

Virtualization. Dr. Yingwu Zhu

Enterprise Network Deployment, 10,000 25,000 Users

PEPPERDATA IN MULTI-TENANT ENVIRONMENTS

Oracle Hyperion Financial Management Virtualization Whitepaper

Traditional v/s CONVRGD

Windows Server Virtualization An Overview

Agile Resource Management in a Virtualized Data Center

Best Practices for Monitoring Databases on VMware. Dean Richards Senior DBA, Confio Software

Performance Models for Virtualized Applications

Windows Server 2008 R2 Hyper-V Live Migration

Cost Effective Automated Scaling of Web Applications for Multi Cloud Services

Migration of Virtual Machines for Better Performance in Cloud Computing Environment

KVM: A Hypervisor for All Seasons. Avi Kivity avi@qumranet.com

Databases Going Virtual? Identifying the Best Database Servers for Virtualization

Efficient Resources Allocation and Reduce Energy Using Virtual Machines for Cloud Environment

PARALLELS CLOUD SERVER

Inciting Cloud Virtual Machine Reallocation With Supervised Machine Learning and Time Series Forecasts. Eli M. Dow IBM Research, Yorktown NY

This is an author-deposited version published in : Eprints ID : 12902

An Approach for Dynamic Resource Allocation Using Virtualization technology for Cloud Computing

IOS110. Virtualization 5/27/2014 1

MS Exchange Server Acceleration

Computing in High- Energy-Physics: How Virtualization meets the Grid

Parallels Virtuozzo Containers

IMPROVING DATA CENTER RESOURCE MANAGEMENT, DEPLOYMENT, AND AVAILABILITY WITH VIRTUALIZATION

Monitoring Cloud Applications. Amit Pathak

Energetic Resource Allocation Framework Using Virtualization in Cloud

MS EXCHANGE SERVER ACCELERATION IN VMWARE ENVIRONMENTS WITH SANRAD VXL

Transcription:

Black-box and Gray-box Strategies for Virtual Machine Migration Wood, et al (UMass), NSDI07 Context: Virtual Machine Migration 1

Introduction Want agility in server farms to reallocate resources devoted to applications. Look at building on virtualization, specifically capability of migrating virtual machines from one physical machine to another. Focus of paper is how to detect the need for such migrations (hotspots) and determine where a VM should be migrated. Examine black-box (only observe VM) vs. gray-box (some OS-level knowledge) strategies. System called Sandpiper, after a migratory bird. Note, but do not investigate possibility of assigning more resources to an existing VM. 2

System Overview Work built on Xen and its existing VM migration capabilities. Track processor, network and memory usage to determine hotspots. Determines what VMs to migrate, where to move them, and how much resources to allocate for migrated VM. 3

Black-Box Monitoring CPU: XenMon tracks CPU usage of resident VMs. Disk/network I/O CPU assigned to Domain-0 and must be apportioned. Network: Domain-0 implements the network interface driver so it can track network usage. Use /proc/net/dev to monitor activity on each virtual interface. Memory: Only known to OS within each VM. Can indirectly track swap activity in Domain-0. Most problematic part for black-box approach. 4

Gray-Box Monitoring Use a light-weight monitoring daemon that runs inside of a VM. Gathers stats from /proc interface in Linux CPU, network and memory usage. Profiling Profiling Engine periodically obtains a resource usage report from each nucleus. Periodic reports are combined over time window W to track trends. Maintain both distribution and time series over this window. 5

Hotspot Detection Performed on a per-physical server basis. Look for cases where the usage of a resource exceeds a threshold. Also look for violations of SLA agreements (response time) on a per-vm basis. Also if memory utilization exceeds a threshold. Detect a hotspot if k out of n observations as well as next predicted value exceed a threshold. n = k = 1 is the most aggressive detection approach. flexible descriptive approach Uses time-series prediction technique. 6

Resource Provisioning If a hotspot is detected, need to determine how many resources that the overloaded VM does need. In black-box approach, observed CPU and network bandwidth for a VM may be constrained if other VMs are using their fair share. In such cases will under-estimate the actual peak need. May be only able to guess for actual needs. Simpler for memory as each VM has a fixed amount of physical memory assigned to it not flexible like CPU and network. Simply add a fixed amount of memory to determine peak. With gray-box scale CPU by λ peak /λ cap where λ peak is the estimated peak arrival rate. Also used to determine peak network needs (along with mean request file size). 7

Hotspot Mitigation Determine which VMs to migrate and where to do so. Try to minimize migration overhead (amount of data transferred). Apply greedy algorithm to move VMs from most to least loaded physical servers. Use CPU-network-memory volume of a physical or virtual machine. Tries to pick based on largest VSR (volume/size ratio) where size is the memory footprint trying to pick VM to move with most volume and least memory footprint. Alternate approach is to swap VMs going to be more expensive. 8

Implementation Based on Xen. Use 3 out of 5 observations and 75% threshold to determine a hotspot. Nucleus is written in Python. Gray-box gathers stats from /proc 20 servers running Linux 2.6.16 and Xen 3.0 with at least 1GB RAM. Apache servers serving dynamic PHP web pages. Cluster of Linux servers generates load using httperf. 9

Migration Effectiveness Try to move highest VSR VM to least loaded PM. Maximizes amount of displace load from hotspot per megabyte of data transferred. 10

Other Tests VM swaps incur more overhead, but increase chances of mitigating hotspots in clusters with high average utilization. Can handle mixed resource hotspots. Gray-box approach can better infer memory usage. 11

Prototype Data Center Evaluation 35 VMs (running a mix of applications) across 16 physical servers LAMP Linux, Apache, MySQL, PHP Use RUBiS as a test application to implement an ebay-like auction web site and workload generator. Relative to a static approach, Sandpiper performs much better in resolving hotspot situations not surprising! 12

Additional Tests Sandpiper itself has negligible impact on performance. Primary scaling issue is the placement algorithm. Sandpiper limits instability by only initiating migrations when it has found a better solution. Need to find right thresholds. 13

Related Work Process migration in the 1980s network connections not really considered. VM migration provides a means, authors have built a framework on top. Shared hosting environments. Estimating resource needs. 14

Summary Extensive amount of work. Lots of decisions that look reasonable Built a working system with hotspot alleviation in 20s to minutes. Compare effectiveness of black-box and gray-box strategies. Good engineering work. Little to compare work with. 15