Efficient Resource Provisioning in Compute Clouds via VM Multiplexing

Slides:



Advertisements
Similar presentations
VM Interference and Placement for Server Consolidation Umesh Bellur IIT Bombay.
Advertisements

Applications of one-class classification
Energy-efficient Task Scheduling in Heterogeneous Environment 2013/10/25.
Hadi Goudarzi and Massoud Pedram
SLA-Oriented Resource Provisioning for Cloud Computing
Locality-Aware Dynamic VM Reconfiguration on MapReduce Clouds Jongse Park, Daewoo Lee, Bokyeong Kim, Jaehyuk Huh, Seungryoul Maeng.
Power Aware Virtual Machine Placement Yefu Wang. 2 ECE Introduction Data centers are underutilized – Prepared for extreme workloads – Commonly.
Pattern Recognition and Machine Learning
Support Vector Machines
Experimental Design, Response Surface Analysis, and Optimization
Cloud Computing Resource provisioning Keke Chen. Outline  For Web applications statistical Learning and automatic control for datacenters  For data.
A Flexible Model for Resource Management in Virtual Private Networks Presenter: Huang, Rigao Kang, Yuefang.
Sandpiper : Black box and Gray-Box resource management for Virtual Machines Journal : Computer Networks: The International Journal of Computer and Telecommunications.
1 Placement (Scheduling) Optimal mapping of VMs – to physical hosts in a data center (cloud) – across multiple clouds Federation and bursting Multi-cloud.
Tunis, Tunisia, 28 April 2014 Business Values of Virtualization Mounir Ferjani, Senior Product Manager, Huawei Technologies 2.
Virtualization and Cloud Computing Virtualization David Bednárek, Jakub Yaghob, Filip Zavoral.
CloudScale: Elastic Resource Scaling for Multi-Tenant Cloud Systems Zhiming Shen, Sethuraman Subbiah, Xiaohui Gu, John Wilkes.
System Analysis and Optimization 1 1 Efficient Resource Provisioning in Compute Clouds via VM Multiplexing Xiaoqiao Meng, Canturk Isci, Jeffrey Kephart,
Efficient Autoscaling in the Cloud using Predictive Models for Workload Forecasting Roy, N., A. Dubey, and A. Gokhale 4th IEEE International Conference.
Improving the Scalability of Data Center Networks with Traffic-aware Virtual Machine Placement Authors:Xiaoqiao Meng, Vasileios Pappas, Li Zhang Presented.
SLA-aware Virtual Resource Management for Cloud Infrastructures
Energy Management and Adaptive Behavior Tarek Abdelzaher.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Virtualization in Data Centers Prashant Shenoy
Online Auctions in IaaS Clouds: Welfare and Profit Maximization with Server Costs Xiaoxi Zhang 1, Zhiyi Huang 1, Chuan Wu 1, Zongpeng Li 2, Francis C.M.
A Multi-Agent Learning Approach to Online Distributed Resource Allocation Chongjie Zhang Victor Lesser Prashant Shenoy Computer Science Department University.
By- Jaideep Moses, Ravi Iyer , Ramesh Illikkal and
Statistical Methods for long-range forecast By Syunji Takahashi Climate Prediction Division JMA.
CSCI 347 / CS 4206: Data Mining Module 04: Algorithms Topic 06: Regression.
New Challenges in Cloud Datacenter Monitoring and Management
Virtualization Performance H. Reza Taheri Senior Staff Eng. VMware.
Generating Adaptation Policies for Multi-Tier Applications in Consolidated Server Environments College of Computing Georgia Institute of Technology Gueyoung.
Energy Efficiency in Cloud Data Centers: Energy Efficient VM Placement for Cloud Data Centers Doctoral Student : Chaima Ghribi Advisor : Djamal Zeghlache.
Machine Learning CUNY Graduate Center Lecture 3: Linear Regression.
Department of Computer Science Engineering SRM University
Virtual Machine Hosting for Networked Clusters: Building the Foundations for “Autonomic” Orchestration Based on paper by Laura Grit, David Irwin, Aydan.
Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment.
Portfolio Management-Learning Objective
1 An SLA-Oriented Capacity Planning Tool for Streaming Media Services Lucy Cherkasova, Wenting Tang, and Sharad Singhal HPLabs,USA.
Modeling.
Network Aware Resource Allocation in Distributed Clouds.
November , 2009SERVICE COMPUTATION 2009 Analysis of Energy Efficiency in Clouds H. AbdelSalamK. Maly R. MukkamalaM. Zubair Department.
Cloud Computing Energy efficient cloud computing Keke Chen.
Storage Management in Virtualized Cloud Environments Sankaran Sivathanu, Ling Liu, Mei Yiduo and Xing Pu Student Workshop on Frontiers of Cloud Computing,
An Autonomic Framework in Cloud Environment Jiedan Zhu Advisor: Prof. Gagan Agrawal.
© 2009 IBM Corporation 1 Improving Consolidation of Virtual Machines with Risk-aware Bandwidth Oversubscription in Compute Clouds Amir Epstein Joint work.
RECON: A TOOL TO RECOMMEND DYNAMIC SERVER CONSOLIDATION IN MULTI-CLUSTER DATACENTERS Anindya Neogi IEEE Network Operations and Management Symposium, 2008.
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Profiling and Modeling Resource Usage.
CloudNaaS: A Cloud Networking Platform for Enterprise Applications Theophilus Benson*, Aditya Akella*, Anees Shaikh +, Sambit Sahu + (*University of Wisconsin,
Data Mining Practical Machine Learning Tools and Techniques Chapter 4: Algorithms: The Basic Methods Section 4.6: Linear Models Rodney Nielsen Many of.
Joint Power Optimization Through VM Placement and Flow Scheduling in Data Centers DAWEI LI, JIE WU (TEMPLE UNIVERISTY) ZHIYONG LIU, AND FA ZHANG (CHINESE.
1 Virtual Machine Memory Access Tracing With Hypervisor Exclusive Cache USENIX ‘07 Pin Lu & Kai Shen Department of Computer Science University of Rochester.
Embedded System Lab. 정범종 A_DRM: Architecture-aware Distributed Resource Management of Virtualized Clusters H. Wang et al. VEE, 2015.
June 30 - July 2, 2009AIMS 2009 Towards Energy Efficient Change Management in A Cloud Computing Environment: A Pro-Active Approach H. AbdelSalamK. Maly.
Present by Sheng Cai Coordinating Power Control and Performance Management for Virtualized Server Clusters.
Domain decomposition in parallel computing Ashok Srinivasan Florida State University.
Copyright © 2010, Performance and Power Management for Cloud Infrastructures Hien Nguyen Van; Tran, F.D.; Menaud, J.-M. Cloud Computing (CLOUD),
Cloud Computing Lecture 5-6 Muhammad Ahmad Jan.
Dynamic Placement of Virtual Machines for Managing SLA Violations NORMAN BOBROFF, ANDRZEJ KOCHUT, KIRK BEATY SOME SLIDE CONTENT ADAPTED FROM ALEXANDER.
Practical IT Research that Drives Measurable Results 1Info-Tech Research Group Get Moving with Server Virtualization.
A Measured Approach to Virtualization Don Mendonsa Lawrence Livermore National Laboratory NLIT 2008 by LLNL-PRES
Shape2Pose: Human Centric Shape Analysis CMPT888 Vladimir G. Kim Siddhartha Chaudhuri Leonidas Guibas Thomas Funkhouser Stanford University Princeton University.
Unified Adaptivity Optimization of Clock and Logic Signals Shiyan Hu and Jiang Hu Dept of Electrical and Computer Engineering Texas A&M University.
1 Automated Power Management Through Virtualization Anne Holler, VMware Anil Kapur, VMware.
Reinforcement Learning Based Virtual Cluster Management
System Control based Renewable Energy Resources in Smart Grid Consumer
1. 2 VIRTUAL MACHINES By: Satya Prasanna Mallick Reg.No
Effective VM Sizing in Virtualized Data Centers
Dynamic Placement of Virtual Machines for managing sla violations
Presentation transcript:

Efficient Resource Provisioning in Compute Clouds via VM Multiplexing Xiaoqiao Meng, Canturk Isci, Jeffrey Kephart, Li Zhang, Eric Bouillet, Dimitrios Pendarakis IBM T.J. Watson Research Center

Resource provisioning in cloud Cloud creates an illusion of “infinite” pool of resources Cloud manages resources via creating and consolidating Virtual Machines Cloud resource provisioning: decision on VM size and VM placement Efficiency of resource provisioning measured by overall resource utilization Virtual machine pools Servers Network equipments Storage

Chance for capacity violation < 1% VM sizing Static: fixed size upon VM creation Easy to manage Lack of elasticity in resource reuse Dynamic: size adapts to demand High resource utilization Avoiding over and under-provisioning is challenging Peak-load as VM size Chance for capacity violation < 1% CPU utilization for a VM instance in 4 months

Traditional VM placement VM size Physical host capacity CPU 4 cores Memory 12 GByte CPU 8 cores Memory 24 GByte VM 1 CPU 2 cores Memory 8 GByte VIRTUALIZATION CPU 12 cores Memory 4 GByte VM 2 CPU 2 cores Memory 6 GByte VM 3 CPU 4 cores Memory 12 GByte CPU 2 cores Memory 4 GByte VM 4 Placement is done separately from sizing VM size is fixed regardless of where it is placed Target: minimize required physical servers or reduce energy cost Formulated as a multi-dimensional vector packing problem

Outline VM multiplexing Related work Design Applications Summary Performance constraint VM selection Joint-VM sizing Applications Summary

VM workload multiplexing Separate VM sizing VM multiplexing s1 s2 s3 We expect s3 < s1 + s2. Benefit of multiplexing ! Multiplex VMs’ workload on same physical server Aggregate multiple workload. Estimate total capacity need based on aggregated workload Performance level of each VM be preserved

Example for VM multiplexing Traditional method: Provision VMs separately. Total capacity need = 1.04 cpu Alternative method: Consolidate and provision three VMs as a whole Total capacity need = 0.67 cpu First explain x-axis and y-axis, tell what each picture says. Here “cpu” refers to virtual cpu that is being allocated. Depending on virtualization implementation (e.g., P-hyper used on System P), cpu allocation can be fractional Gain from statistical multiplexing!

Potential Improvement by VM multiplexing Test on servers in a Global Hosting Services 1325 physical hosts, 15000 VMs Based on 3-month CPU/memory utilization data Average capacity saving per physical server = 39%

Related work Commercial capacity planning tools consider each VM’s need in isolation IBM WebSphere CloudBurst, VMware capacity planner, Novell PlateSpin Recon, Lanamark Suite Some prior work consider inter-VM interaction and compatibility to improve resource provisioning Hotcloud’09: co-place VMs not contending for same resource type OSDI’08, Hotcloud’09, VEE’09: co-place VMs with memory sharing MASCOTS’09. Eurosys’09: statistical multiplexing VM to save power NOMS’08: VM consolidation by formulating an optimization problem

Design of enabling VM multiplexing Describe VM performance constraint Application performance as a function of VM capacity Construct super-VM by multiplexing VMs Find VM combinations with complementary workload Joint-VM sizing Determining total capacity needs for super-VM 2 cpu 3 cpu Sizing super-VM 1 2 3 4 1 8 7 5 1 8 7 5 5 6 7 8 6 3 2 4 6 3 2 4 Describe VM performance constraint Construct super-VM by multiplexing VMs 1 cpu 1.5 cpu VM Consolidation Place super-VM on host Standard VM placement techniques plugged in

VM performance constraint Workload Size c Performance constraint on VM size Number of intervals with size violation < β Total interval number time T Basis for computing VM size Parameters β, T adapt to various application types Small T and β for time-sensitive, critical applications Large T and β for time-elastic, long-running background jobs T=0, β=0 corresponds to peakload-based sizing

Performance constraint with VM multiplexing Given n VMs with individual , Let If super-VM size satisfies , each VM must satisfy individual Choose the most stringent performance constraint How to explain this slide more clearly? Important feature : Total capacity need for super-VM without decreasing individual VM performance easily derive Knowing individual VM’s performance constraint

Construct super-VM Key for multiplexing: complementary workload patterns Approximately measured by correlation coefficient Solution Greedy search Recursively find VM pairs with most strong negative correlation Clustering Pairwise distance measured by correlation coefficient Complementary workload! Strong negative correlation In the strong negative correlation scenario, peaks in one VM’s workload coincide with the troughs in the other VM’s workload, and vice versa. The described Greedy method can find multiplexing set with size 2, but it can be easily extended to a clustering technique which can find Multiplexing set with size more than 2. Not-so-complementary workload! Strong positive correlation

Greedy search Three-step process Find the VM pair (i,j) giving the highest correlation coefficient. Output (i,j) as a candidate for joint provisioning Remove VM i and j Repeat Step 1 and 2 until all input VMs are removed Correlation coefficient matrix

Super-VM sizing 1. Aggregation 2. Workload forecasting 3. Determine total size by super-VM performance constraint

Workload forecasting Decouple individual VM’s workload into fluctuating and regular components. Forecasting limited to aggregated fluctuating workload Standard timeseries forecasting methods are applied. Choose the one with smallest forecasting error based on historical data

Modeling forecast error Modeling forecasting error to compensate for workload variability Applied to any forecasting method With explicit error model Compute error statistical distribution by training error model with historical data Without explicit error model Use Kernel-Density-Estimation (KDE) to estimate error statistical distribution by historical data

Application to VM consolidation Tested on performance data from four cloud hosts Use First-fit-decreasing for VM consolidation Performance gain With VM multiplexing, 28%-62% less physical hosts required compared to no-multiplexing Cloud host A B C D (host, VM) (267,2020) (234,2253) (20, 185) (106,933) Sorted by CPU Memory First-fit-decreasing + No VM multiplexing Required hosts 54 51 52 7 26 29 Host saving (w.r.t reality) 79.8% 78.2% 77.8% 65.0% 75.5% 72.6% First-fit-decreasing + VM multiplexing 28 24 21 5 12 11 89.5% 89.7% 91.0% 75.0% 88.7% 89.6% Host saving (w.r.t no multiplexing) 48.1% 52.9% 59.6% 28.6% 53.8% 62.1% 5 times

Consolidation with various perf. constraint Assume each VM has same performance constraint Observations: Maximum extra capacity saving is 45% for T=0, β=0 Correspond to peakload-based sizing Saving shrinks when β increases Workload dynamics make less different in terms of VM capacity violation With forecasting, VM consolidation slightly more aggressive Lead to higher actual β than expected on certain physical hosts Overall, 88%-96% of hosts have actual β than expected

Application to providing VM resource guarantees Apply VM multiplexing to providing resource guarantees Define “joint reservations” instead of individual VM reservations Enforce joint reservations with the “resource pool” abstraction:

Application to providing VM resource guarantees 16%-75% of more VMs admitted by enabling joint-reservations. Gain subject to performance constraint Higher gain for more stringent performance constraint

Summary Multiplex VMs with complementary workload patterns to save more overall resource Three design components Performance constraint VM selection Joint-VM size estimation Enormous capacity saving in applications

Thank you! Q & A

Modeling forecast error Modeling forecasting error Workload Size c time