An Energy-Aware Methodology for Live Placement of Virtual Machines with Variable Profiles in Large Data Centers



Similar documents
Hierarchical Approach for Green Workload Management in Distributed Data Centers

ENERGY EFFICIENT CONTROL OF VIRTUAL MACHINE CONSOLIDATION UNDER UNCERTAIN INPUT PARAMETERS FOR THE CLOUD

Heterogeneous Workload Consolidation for Efficient Management of Data Centers in Cloud Computing

Flexible Distributed Capacity Allocation and Load Redirect Algorithms for Cloud Systems

A Distributed Approach to Dynamic VM Management

Dynamic Resource Allocation in Software Defined and Virtual Networks: A Comparative Analysis

Towards an understanding of oversubscription in cloud

SLA-driven Dynamic Resource Provisioning for Service Provider in Cloud Computing

Energy Efficient Resource Management in Virtualized Cloud Data Centers

Analysis of the influence of application deployment on energy consumption

Energy Constrained Resource Scheduling for Cloud Environment

Solving (NP-Hard) Scheduling Problems with ovirt & OptaPlanner. Jason Brooks Red Hat Open Source & Standards SCALE13x, Feb 2015

Towards Energy-efficient Cloud Computing

Green Cloud: Smart Resource Allocation and Optimization using Simulated Annealing Technique

International Journal of Advance Research in Computer Science and Management Studies

An Energy-aware Multi-start Local Search Metaheuristic for Scheduling VMs within the OpenNebula Cloud Distribution

Multi-dimensional Affinity Aware VM Placement Algorithm in Cloud Computing

Cloud Management: Knowing is Half The Battle

HYBRID GENETIC ALGORITHMS FOR SCHEDULING ADVERTISEMENTS ON A WEB PAGE

Green Cloud Computing 班 級 : 資 管 碩 一 組 員 : 黃 宗 緯 朱 雅 甜

Power Management in Cloud Computing using Green Algorithm. -Kushal Mehta COP 6087 University of Central Florida

Energy-aware joint management of networks and cloud infrastructures

Efficient and Robust Allocation Algorithms in Clouds under Memory Constraints

A Game Theoretic Formulation of the Service Provisioning Problem in Cloud Systems

Power Aware Live Migration for Data Centers in Cloud using Dynamic Threshold

Dynamic Resource allocation in Cloud

Task Scheduling for Efficient Resource Utilization in Cloud

EPOBF: ENERGY EFFICIENT ALLOCATION OF VIRTUAL MACHINES IN HIGH PERFORMANCE COMPUTING CLOUD

Virtual Machine Consolidation for Datacenter Energy Improvement

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

Optimal Allocation of renewable Energy Parks: A Two Stage Optimization Model. Mohammad Atef, Carmen Gervet German University in Cairo, EGYPT

INCREASING SERVER UTILIZATION AND ACHIEVING GREEN COMPUTING IN CLOUD

International Journal of Digital Application & Contemporary research Website: (Volume 2, Issue 9, April 2014)

Paul Brebner, Senior Researcher, NICTA,

Power Aware Load Balancing for Cloud Computing

Precise VM Placement Algorithm Supported by Data Analytic Service

Setting deadlines and priorities to the tasks to improve energy efficiency in cloud computing

Virtual Machine Allocation in Cloud Computing for Minimizing Total Execution Time on Each Machine

Network Virtualization and Energy Efficiency

Branch-and-Price Approach to the Vehicle Routing Problem with Time Windows

A Comparative Study of Load Balancing Algorithms in Cloud Computing

CloudSim: A Toolkit for Modeling and Simulation of Cloud Computing Environments and Evaluation of Resource Provisioning Algorithms

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

A Framework of Dynamic Power Management for Sustainable Data Center

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

Elastic VM for Rapid and Optimum Virtualized

Falloc: Fair Network Bandwidth Allocation in IaaS Datacenters via a Bargaining Game Approach

High Availability-Aware Optimization Digest for Applications Deployment in Cloud

Self-organization of applications and systems to optimize resources usage in virtualized data centers

BLACKBOARD LEARN TM AND VIRTUALIZATION Anand Gopinath, Software Performance Engineer, Blackboard Inc. Nakisa Shafiee, Senior Software Performance

DDS-Enabled Cloud Management Support for Fast Task Offloading

Future Generation Computer Systems. Energy-aware resource allocation heuristics for efficient management of data centers for Cloud computing

Black-box Performance Models for Virtualized Web. Danilo Ardagna, Mara Tanelli, Marco Lovera, Li Zhang

Simulating the electricity spot market from a Danish perspective

PERFORMANCE ANALYSIS OF SCHEDULING ALGORITHMS UNDER SCALABLE GREEN CLOUD Neeraj Mangla 1, Rishu Gulati 2

Resource Allocation Avoiding SLA Violations in Cloud Framework for SaaS

Dynamic Load Balancing of Virtual Machines using QEMU-KVM

Energy Efficiency Embedded Service Lifecycle: Towards an Energy Efficient Cloud Computing Architecture

ABB Technology Days Fall 2013 System 800xA Server and Client Virtualization. ABB Inc 3BSE en. October 29, 2013 Slide 1

AN ADAPTIVE DISTRIBUTED LOAD BALANCING TECHNIQUE FOR CLOUD COMPUTING

Genetic Algorithms for Energy Efficient Virtualized Data Centers

Profit-Maximizing Resource Allocation for Multi-tier Cloud Computing Systems under Service Level Agreements

Cloud Computing Architectures and Design Issues

Cost Effective Automated Scaling of Web Applications for Multi Cloud Services

A Middleware Strategy to Survive Compute Peak Loads in Cloud

An Analysis of First Fit Heuristics for the Virtual Machine Relocation Problem

Transcription:

An Energy-Aware Methodology for Live Placement of Virtual Machines with Variable Profiles in Large Data Centers Rossella Macchi: Danilo Ardagna: Oriana Benetti: Politecnico di Milano eni s.p.a. Politecnico di Milano eni s.p.a.

Outline 2 1) Goals and motivations 2) Physical virtual desktop comparison 3) Mathematical formulation of the VM allocation problem 4) Heuristic solution 5) Experimental analysis 6) Conclusions and future work

Goals and motivations 3 2010 CO 2 World consumption: 33.5 billion tons average increase 5% per year 2% due to ICT By 2020 a further ICT increase of 20% Hw efficiencies: Sw efficiencies: Sources: Nasa and T-Systems The greening of business

Goals and motivations 3 Goals: Energy analysis and comparison of Virtual Desktop Energy consumption optimization from virtualisation Hw efficiencies: Green ICT Sw efficiencies: Sources: Nasa and T-Systems The greening of business

Technologies Analysis : Measurements 4 1. Physical virtual desktop comparison 2. Thin Client - Server

Technologies Analysis : break-even point 5

Technologies Analysis : break-even point 5

VM allocation on physical servers 6 Goals: minimize the number of the active servers and VMs live migrations, with performance constraints Solution: Dynamic resources profile (LOW-HIGH) Heuristic placement Break-even point reduction Switching profiles: 1. Low High - Find new location for the new VM, when it does not fit into the current server 2. High Low - Underutilization of the servers

Theoretical problem : Bin Packing Problem 7 Bin-Packing Problem, MCBBP variant (multi-capacity bin packing problem)

Theoretical problem : Bin Packing Problem 7 Bin-Packing Problem, MCBBP variant (multi-capacity bin packing problem) NP-HARD Problem Cannot be resolved efficiently within a reasonable time Placing Heuristic Global solution approximation Parameters fine tuning

VM allocation : MILP model 8 Goals: S min i=1 CV cpu i _use + CF y i + PMig TMig 1 Mig 1 + PMig TMig 2 Mig 2 S (U) Up 1 (Up 2 ) NumServer N1 (N2) Parameters CpuServer (Ram Server) CpuP 1 ( P 2 ) Ram P 1 (P 2 ) oldx s,u CF CV Pmig Tmig 1 (Tmig 2 ) Perc_P1 (Perc_P2) x s,u y s k s1,s2,u Problem s decision variables 1 Users u allocated on server s 0 Else 1 Server is ON 0 Else 1 User U migrated from server s1 to server s2 0 Else Mig 1 Mig 2 Migrations of profile 1 or 2 Language: Ampl Solver: ILOG Cplex

VM allocation : MILP model 8 Goals: S min i=1 CV cpu i _use + CF y i + PMig TMig 1 Mig 1 + PMig TMig 2 Mig 2 Constraints: S 1) x u j U 4) 5) 6) 9) 10) i=1 Up1 Up2 2 ) x y j U, i S ) x + x j Up i S, + 1, x perc_p+ x perc_p i S i, j 1 100 i, j 2 j=1 Up1 i, j j j=1 Up2 i j x RamP+ x RamP RamServer i S i, j 1 i, j 2 i j=1 Up1 j=1 Up2 x CpuP+ x CpuP CpuServer i S i, j 1 i,j 2 i j=1 mig,, 1 1 = k i S z S j Up i, z, j i= 1 z= 1 j= 1 S S UP2 = mig2 ki, z, j i S, z S, j Up2 i= 1 z= 1 j= 1 i j=1 + x 2 k + 1 i S, z S, i z, j i, j z, j i, z, j + x 2 k + 1 i S, z S, i z, i, j z, j i, z, j S S UP1 3 i, j i, j N1 1 7) oldx Up1 8) oldx j Up... 2

Optimization: Heuristic 9

Optimization: Heuristic 9 Stochastic approach adopted to avoid resources saturation

VM allocation : Policy implemented 10 Enterprise actual policy: Static profiles Global optimum: Obtained by the MILP model solution Not applicable to real enterprise s instances Theoretical comparison Heuristic: Dynamic profiles Different start allocation policy Policy1: Sequential allocation, avoid boot storm problem (NO SSD) Policy2: On-demand allocation (SSD) Consumption

VM allocation: Time comparison 11

VM allocation: Parameters Tuning 12 Max server threshold to start a VM MAX = 80 MAX = 90 MAX = 100 Variable Value Total consumption 24189,2 Migration Profile 1 186 Total consumption 24170,6 Migration Profile 1 181 Total consumption 24180 Migration Profile 1 186 Min thresholdper to turno off a server Variable Value MIN = 10 Total consumption 24733,1 Migration Profile 1 116 MIN = 20 Total consumption 24503,5 Migration Profile 1 113 MIN = 30 Total consumption 24589 Migration Profile 1 123 Priority Weight (sorted by use) 20 60 80 20 60 40 40 60 20 60 40 20 Variable Value Total consumption 24287.3 Migration Profile 1 181 Total consumption 24170.5 Migration Profile 1 174 Total consumption 24272.2 Migration Profile 1 186 Total consumption 24262.8 Migration Profile 1 170 Heuristic robust with respect to parameters

VM allocation: Resouces 13 Actual Huristic Policy2 Num Server Cpu On Ram On Max 16,00 97,60% 93,75% Avg 9,81 75,98% 72,98& Max 12,00 86,58% 100,00% Mvg 9,15 66,98% 79,52% Lower use of servers for the same number of users (12 vs. 16) Resource-intensive, cpu always above 60%

Scalability analysis 14 Optimum Huristic Deviation Users Max Value Percentage 80 1,14 % 160 2,87 % 240 5,75 % 320 5,00 % Avg Value Utenti Percentage 80 1,74 % 160 3,08 % 240 4,81 % 320 4,98 %

Scalability analysis 14

Scalability analysis: CO2 savings 15 Total anual for 10240 users 109794,165 KWh = 44 tons CO2 1Kwh = 0,40 Kg CO2

Scalability analysis: Time and Resources 16

Scalability analysis: Time and Resources 16 <1 second

Conclusions and future work 17 Conclusions: Virtual-Physical desktop comparison Break-even point Heuristic solution Average delta from the global optimum lower then 5% Energy consumption reduced by about 35 % and resources by 25% CO2 emission saving for 10,000 users about 44 tons Future work: Further integration: Network constraints Thermal constraints Security constraints Develop a prototype for the VM migration

Questions? 18 Questions?

Policy1 and Policy delta 19

Bibliography 20 1) Cplex:High-performance mathematical programming solver for linear programming, mixed integer programming, and quadratic programming 2) T. Aghavendra, Ranganathan. No "power" struggles: coordinated multilevel power management for the data center. ASPLOS 2008, 2008. 3) B. Bobro, Kochut. Dynamic placement of virtual machines for managing sla violations. Integrated Network Management, 10 th IEEE International Symposium, 2007. 4) Borriello. Analisi delle tecnologie intel-vt e amd-v a supporto della virtualizzazione dell'hardware. Master's thesis, Ingegneria Elettronica Napoli, 2011. 5) Dimitris Economou, Suzanne Rivoire. Full-system power analysis and modeling for server environments. Workshop on Mode- ling, Benchmarking, and Simulation (MoBS), held at the International Symposium on Computer Architecture (ISCA), June 2006. 6) F. G. Qiang Huang. Power consumption of virtual machine live migration in clouds. Third International Conference on Communications and Mobile Computing, 2011. 7) T-Systems. White paper green ict: The greening of business. 8) Zaman, Sharrukh. Combinatorial auction-based dynamic vm provisioning and allocation in clouds.