SANDPIPER: BLACK-BOX AND GRAY-BOX STRATEGIES FOR VIRTUAL MACHINE MIGRATION

Similar documents
Computer Networks 53 (2009) Contents lists available at ScienceDirect. Computer Networks. journal homepage:

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

Distributed Autonomous Virtual Resource Management in Datacenters Using Finite- Markov Decision Process

Πποχωπημένη Κατανεμημένη Υπολογιστική

RIAL: Resource Intensity Aware Load Balancing in Clouds

Keywords Cloud computing, live migration, Load balancing, Server Sprawl, Virtual Machine Monitor (VMM).

Consolidating Complementary VMs with Spatial/Temporalawareness

Increasing Cloud Power Efficiency through Consolidation Techniques

Improving Data Center Resource Management, Deployment, and Availability with Virtualization

Double Threshold Based Load Balancing Approach by Using VM Migration for the Cloud Computing Environment

Supplementary File: Dynamic Resource Allocation using Virtual Machines for Cloud Computing Environment

CloudNet: Dynamic Pooling of Cloud Resources by Live WAN Migration of Virtual Machines

Empirical Evaluation of Latency-Sensitive Application Performance in the Cloud

What s New in VMware vsphere 4.1 Performance. VMware vsphere 4.1

BEST PRACTICES FOR OPTIMIZING YOUR LINUX VPS AND CLOUD SERVER INFRASTRUCTURE

PARDA: Proportional Allocation of Resources for Distributed Storage Access

Experimental Study of Virtual Machine Migration in Support of Reservation of Cluster Resources

E-Store: Fine-Grained Elastic Partitioning for Distributed Transaction Processing Systems

Prediction-based virtual instance migration for balanced workload in the cloud datacenters

LiteGreen Saving Energy in Networked Desktops using Virtualization. Tathagata Das, Pradeep Padala, Venkat Padamanabhan, Ram Ramjee, Kang G.

Cut Me Some Slack : Latency-Aware Live Migration for Databases. Sean Barker, Yun Chi, Hyun Jin Moon, Hakan Hacigumus, and Prashant Shenoy

Jinho Hwang and Timothy Wood George Washington University

Chapter 3 Virtualization Model for Cloud Computing Environment

Consulting Solutions WHITE PAPER Citrix XenDesktop XenApp 6.x Planning Guide: Virtualization Best Practices

Model-Driven Geo-Elasticity In Database Clouds

Jinho Hwang (IBM Research) Wei Zhang, Timothy Wood, H. Howie Huang (George Washington Univ.) K.K. Ramakrishnan (Rutgers University)

CS 350 Winter 2011 Current Topics: Virtual Machines + Solid State Drives

Automated Control for Elastic Storage Harold Lim, Shivnath Babu, Jeff Chase Duke University

MultiLanes: Providing Virtualized Storage for OS-level Virtualization on Many Cores

A Load Balancing Approach to Minimize the Resource Wastage in Cloud Computing

Two-Level Cooperation in Autonomic Cloud Resource Management

Towards Energy-Efficient Reactive Thermal Management in Instrumented Datacenters

Cross-layer Optimization for Virtual Machine Resource Management

theguard! ApplicationManager System AIX Data Collector

AMD Opteron Processors In the Cloud

Tackling the Management Challenges of Server Consolidation on Multi-core System

Abstract. Testing Parameters. Introduction. Hardware Platform. Native System

Policy-Sealed Data: A New Abstraction for Building Trusted Cloud Services

Virtual Security Server

Capacity Management for Hybrid IT

RT- Xen: Real- Time Virtualiza2on from embedded to cloud compu2ng

Virtuozzo Containers

vsan Mixed Workloads First Published On: Last Updated On:

Entropy: a Consolidation Manager for Clusters

An Experimental Cloud Resource Broker System for Virtual Application Control with VM Allocation Scheme

Typical scenario in shared infrastructures

SOFT CONTAINER TOWARDS 100% RESOURCE UTILIZATION ACCELA ZHAO, LAYNE PENG

Interrupt Coalescing in Xen

Managing Performance Variance of Applications Using Storage I/O Control

Quantifying Load Imbalance on Virtualized Enterprise Servers

VIPER: Fine Control of Resource Sharing in Virtual Networks

SRCMap: Energy Proportional Storage using Dynamic Consolidation

Profiling and Modeling Resource Usage of Virtualized Applications Timothy Wood 1, Ludmila Cherkasova 2, Kivanc Ozonat 2, and Prashant Shenoy 1

GPU Consolidation for Cloud Games: Are We There Yet?

Level 2 Diploma Unit 3 Computer Systems

Nested Virtualization and Server Consolidation

Why Study Multimedia? Operating Systems. Multimedia Resource Requirements. Continuous Media. Influences on Quality. An End-To-End Problem

Energy-Efficient Load Balancing in Cloud: A Survey on Green Cloud

Table of Contents HOL SLN

Performance & Scalability Testing in Virtual Environment Hemant Gaidhani, Senior Technical Marketing Manager, VMware

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Profiling and Modeling Resource Usage of Virtualized Applications

Swapping. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Huawei FusionCloud Desktop Solution 5.1 Resource Reuse Technical White Paper HUAWEI TECHNOLOGIES CO., LTD. Issue 01.

CoolCloud: A Practical Dynamic Virtual Machine Placement Framework for Energy Aware Data Centers

POUX: Performance Optimization Strategy for Cloud Platforms based on User Experience

Swapping. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

Operating System Support for Multimedia. Slides courtesy of Tay Vaughan Making Multimedia Work

Windows Server Discussion with BCIU. Kevin Sullivan Management TSP US Education

Cataclysm: Policing Extreme Overloads in Internet Applications

RT- Xen: Real- Time Virtualiza2on. Chenyang Lu Cyber- Physical Systems Laboratory Department of Computer Science and Engineering

Using Transparent Compression to Improve SSD-based I/O Caches

CS 31: Intro to Systems Virtual Memory. Kevin Webb Swarthmore College November 15, 2018

Announcements. Reading. Project #1 due in 1 week at 5:00 pm Scheduling Chapter 6 (6 th ed) or Chapter 5 (8 th ed) CMSC 412 S14 (lect 5)

TA7750 Understanding Virtualization Memory Management Concepts. Kit Colbert, Principal Engineer, VMware, Inc. Fei Guo, Sr. MTS, VMware, Inc.

Understanding VMware Capacity

Deploying Application and OS Virtualization Together: Citrix and Virtuozzo

Automatically and Continuously Optimizing Workload Configurations In Your Virtual Environment

Introduction to Operating Systems Prof. Chester Rebeiro Department of Computer Science and Engineering Indian Institute of Technology, Madras

VOLTAIC : Volume Optimization Layer To AssIgn Cloud resources

Real-Time Cache Management for Multi-Core Virtualization

Predicting Application Resource Requirements in Virtual Environments

Profiling and Understanding Virtualization Overhead in Cloud

Virtualization. Dr. Yingwu Zhu

A Comparative Study of Microsoft Exchange 2010 on Dell PowerEdge R720xd with Exchange 2007 on Dell PowerEdge R510

Optimizing VM Checkpointing for Restore Performance in VMware ESXi

An Oracle White Paper April Consolidation Using the Fujitsu M10-4S Server

Dynamic Partitioned Global Address Spaces for Power Efficient DRAM Virtualization

When dynamic VM migration falls under the control of VM user

Understanding Data Locality in VMware vsan First Published On: Last Updated On:

Parallels Virtuozzo Containers

Eliminate the Complexity of Multiple Infrastructure Silos

Monitoring Agent for Unix OS Version Reference IBM

Horizon - A New Horizon for Internet. WP4 - TASK 4.2: Overall System Architecture Design (Annex K)

A Novel Self-Adaptive VM Consolidation Strategy Using Dynamic Multi-Thresholds in IaaS Clouds

ENERGY EFFICIENT VIRTUAL MACHINE INTEGRATION IN CLOUD COMPUTING

PAC485 Managing Datacenter Resources Using the VirtualCenter Distributed Resource Scheduler

NetApp HCI. Ready For Next. Enterprise-Scale Hyper Converged Infrastructure VMworld 2017 Content: Not for publication Gabriel Chapman: Sr. Mgr. - NetA

Přehled novinek v Hyper-V 2016 Kamil Roman

Cataclysm: Policing Extreme Overloads in Internet Applications

Transcription:

SANDPIPER: BLACK-BOX AND GRAY-BOX STRATEGIES FOR VIRTUAL MACHINE MIGRATION Timothy Wood, Prashant Shenoy, Arun Venkataramani, and Mazin Yousif * University of Massachusetts Amherst * Intel, Portland

Data Centers Data Centers are composed of: Large clusters of servers Network attached storage devices Multiple applications per server Shared hosting environment Allocates resources to meet Service Level Agreements (SLAs)

Provisioning Methods Hotspots form if resource demand exceeds provisioned capacity Static over-provisioning Allocate for peak load Wastes resources Not suitable for dynamic workloads Dynamic provisioning Adjust based on workload Often done manually Becoming easier with virtualization

Problem Statement How can we automatically detect and eliminate hotspots in data center environments? Use VM migration and dynamic resource allocation!

Outline Introduction & Motivation System Overview When? How much? And Where to? Implementation and Evaluation Conclusions

Research Challenges Sandpiper: automatically detect and mitigate hotspots through virtual machine migration When to migrate? Where to move to? How much of each resource to allocate? How much information needed to make decisions?

Sandpiper Architecture Nucleus Monitor resources Report to control plane One per physical server Control Plane Centralized server Profiling Engine Construct profiles Hotspot Detector Detect when hotspots occur Migration & Resizing Manager Determine how to eliminate hotspots Nucleus Monitoring Engine Dom-0 PM 1 Profiling Engine VM 1 VM 2 Hotspot Detector Control Plane PM N Migration& Resizing Manager PM = Physical Machine VM = Virtual Machine

Black-Box and Gray-Box Black-box: only data from outside the VM Completely OS and application agnostic Black Box??? Gray Box Application logs OS statistics Gray-Box: access to OS-level statistics and application logs Can improve detection and profiling Not always feasible customer may control OS Is black-box sufficient? What do we gain from gray-box data?

Outline Introduction & Motivation System Overview When? How much? And Where to? Implementation and Evaluation Conclusions

Black-box Monitoring Xen uses a Driver Domain Special VM with network and disk drivers Nucleus runs here CPU Scheduler statistics Apportion the CPU utilization of Dom-0 to other VM s Nucleus Monitoring Engine Dom-0 VM Hypervisor

Black-box Monitoring Xen uses a Driver Domain Special VM with network and disk drivers Nucleus runs here Network Dom-0 implements the network interface driver Nucleus Monitoring Engine Dom-0 VM Hypervisor

Black-box Monitoring Xen uses a Driver Domain Special VM with network and disk drivers Nucleus runs here Memory Detect pressure by swap partitions. Only know when performance is poor. Limited to reactive decision. Nucleus Monitoring Engine Dom-0 VM Hypervisor

Gray-box Monitoring Monitoring daemon used to gather OS-level and application-level statistics. detection of memory hotspots. Nucleus Monitoring Engine Dom-0 Monitoring daemon VM Hypervisor

Profile generation Each profile contains a distribution and time-series.

Hotspot Detection When? Resource Thresholds Potential hotspot if utilization exceeds threshold Only trigger for sustained overload Must be overloaded for k out of n measurements Minimize impact of transient spikes Time Series prediction Use historical data to predict future values

Resource provisioning How much?

Resource provisioning How much? How much additional resources are needed? Gray-box: needs can always be estimated correctly All the required information can be determined from the server logs and the OS-level information. Can used to reduce the amount of memory allocation.

VM resizing Adjusting the resource allocation of the overloaded VM. Only if there are insufficient spare resources, the VM will be migrated to a different PM.

net Determining Placement Where to? Migrate VMs from overloaded to underloaded servers Volume = 1 1-cpu 1 * * 1-net 1 1-mem Use Volume to find most loaded servers Captures load on multiple resource dimensions cpu Migrations incur overhead Migration cost determined by RAM Migrate the VM with highest Volume/size ratio Maximize the amount of load transferred while minimizing the overhead of migrations

Placement Algorithm First try migrations Displace VMs from high Volume servers Use Volume/size to minimize overhead Decreasing order of volume/size PM1 VM1 VM2 PM2 VM3 VM4 Decreasing order of volumes

Placement Algorithm Swap if necessary Swap a high Volume VM for a low Volume one Requires 3 migrations Spare Decreasing order of volume/size PM1 VM1 VM2 VM3 PM2 VM5 VM4 Decreasing order of volumes

Outline Introduction & Motivation System Overview When? How much? And Where to? Implementation and Evaluation Conclusions

Implementation Use Xen 3.0.2-3 virtualization software Testbed of twenty 2.4Ghz P4 servers

VM resizing

CPU Usage (stacked) Migration Effectiveness Sandpiper detects and responds to 3 hotspots VM1 VM2 VM4 PM 1 VM4 VM3 VM5 PM 2 VM1 VM5 PM 3

Memory Hotspots Memory utilization increases over time The VM initially assigned 256MB of RAM on 384 MB PM Another idle PM with 1GB RAM is also running Gray-box system can decrease a VM memory allocation Gray-box can improve application performance by proactively increasing allocation

# of Hotspots Data Center Prototype 16 server cluster runs realistic data center applications on 35 virtual machines 6 servers (14 VMs) become simultaneously overloaded 4 CPU hotspots and 2 network hotspots Sandpiper eliminates all hotspots in four minutes Uses 7 migrations and 2 swaps Despite migration overhead, VMs see fewer periods of overload 12 10 8 Static Sandpiper 6 4 2 0 1 11 21 31 41 51 Time

Summary Sandpiper can rapidly detect and eliminate hotspots while treating each VM as a black-box Gray-Box information can improve performance in some scenarios Proactive memory allocations

THANK YOU!