A dynamic optimization model for power and performance management of virtualized clusters

Similar documents
Thesis Proposal: Dynamic optimization of power and performance for virtualized server clusters. Vinicius Petrucci September 2010

Experimentation with virtual machine migration and replication mechanisms

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

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

Efficient and Robust Allocation Algorithms in Clouds under Memory Constraints

Server Operational Cost Optimization for Cloud Computing Service Providers over a Time Horizon

Average and Marginal Reductions in Greenhouse Gas Emissions from Data Center Power Optimization

Dynamic Resource allocation in Cloud

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

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

Cloud Management: Knowing is Half The Battle

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

International Journal of Advance Research in Computer Science and Management Studies

Towards an understanding of oversubscription in cloud

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

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

A hypervisor approach with real-time support to the MIPS M5150 processor

DESIGN SCENARIO-BASED POWER SAVING SCHEME OF VIRTUAL ENVIRONMENT IN CLOUD COMPUTING

Energy Optimized Virtual Machine Scheduling Schemes in Cloud Environment

Energy Efficient Resource Management in Virtualized Cloud Data Centers

VM Management for Green Data Centres with the OpenNebula Virtual Infrastructure Engine

Energy Efficient Resource Management in Virtualized Cloud Data Centers

ENERGY EFFICIENT VIRTUAL MACHINE ASSIGNMENT BASED ON ENERGY CONSUMPTION AND RESOURCE UTILIZATION IN CLOUD NETWORK

HPC performance applications on Virtual Clusters

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

A framework-based approach to support dynamic adaptation of web server clusters

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

Virtual Machine Instance Scheduling in IaaS Clouds

Energy-aware job scheduler for highperformance

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

Achieving a High-Performance Virtual Network Infrastructure with PLUMgrid IO Visor & Mellanox ConnectX -3 Pro

Managed Virtualized Platforms: From Multicore Nodes to Distributed Cloud Infrastructures

Capacity Planning for Hyper-V. Using Sumerian Capacity Planner

Migration of Virtual Machines for Better Performance in Cloud Computing Environment

Energy Conscious Virtual Machine Migration by Job Shop Scheduling Algorithm

Challenges in Hybrid and Federated Cloud Computing

Ecole des Mines de Nantes. Journée Thématique Emergente "aspects énergétiques du calcul"

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

GUEST OPERATING SYSTEM BASED PERFORMANCE COMPARISON OF VMWARE AND XEN HYPERVISOR

Capacity Planning for Virtualized Servers 1

Cloud Computing with Red Hat Solutions. Sivaram Shunmugam Red Hat Asia Pacific Pte Ltd.

Satish Mohan. Head Engineering. AMD Developer Conference, Bangalore

Eucalyptus: An Open-source Infrastructure for Cloud Computing. Rich Wolski Eucalyptus Systems Inc.

Energy Aware Resource Allocation in Cloud Datacenter

for Green Cloud Computing

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

ONE of the often cited benefits of cloud computing

Experimental Awareness of CO 2 in Federated Cloud Sourcing

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

Genetic Algorithms for Energy Efficient Virtualized Data Centers

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

Gatekeeper: Supporting Bandwidth Guarantees for Multi-tenant Datacenter Networks

An Experimental Study of Load Balancing of OpenNebula Open-Source Cloud Computing Platform

Intro to Virtualization

Payment minimization and Error-tolerant Resource Allocation for Cloud System Using equally spread current execution load

Last time. Data Center as a Computer. Today. Data Center Construction (and management)

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

Flauncher and DVMS Deploying and Scheduling Thousands of Virtual Machines on Hundreds of Nodes Distributed Geographically

PES. Batch virtualization and Cloud computing. Part 1: Batch virtualization. Batch virtualization and Cloud computing

Efficient and Enhanced Load Balancing Algorithms in Cloud Computing

IaaS Cloud Architectures: Virtualized Data Centers to Federated Cloud Infrastructures

Virtualization Technology using Virtual Machines for Cloud Computing

Next Generation Operating Systems

Task Scheduling for Efficient Resource Utilization in Cloud

Huawei Enterprise A Better Way VM Aware Solution for Data Center Networks

Virtualization for Cloud Computing

CHAPTER 1 INTRODUCTION

Virtualizing Apache Hadoop. June, 2012

COM 444 Cloud Computing

Elastic Management of Cluster based Services in the Cloud

Deploy Your First CF App on Azure with Template and Service Broker. Thomas Shao, Rita Zhang, Bin Xia Microsoft Azure Team

What s New with VMware Virtual Infrastructure

Leveraging BlobSeer to boost up the deployment and execution of Hadoop applications in Nimbus cloud environments on Grid 5000

Distributed and Cloud Computing

2) Xen Hypervisor 3) UEC

Capacity and Performance Overhead in Dynamic Resource Allocation to Virtual Containers

Stratusphere Solutions

Linux/Open Source and Cloud computing Wim Coekaerts Senior Vice President, Linux and Virtualization Engineering

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

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

Hierarchical Approach for Green Workload Management in Distributed Data Centers

PERFORMANCE ANALYSIS OF KERNEL-BASED VIRTUAL MACHINE

VMware for your hosting services

Energy Aware Consolidation for Cloud Computing

Full and Para Virtualization

International Journal of Cloud Computing (ISSN ) Vol. 2, No. 2, April-June 2014

Cost Effective Automated Scaling of Web Applications for Multi Cloud Services

Dynamic request management algorithms for Web-based services in Cloud computing

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

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

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

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

IOS110. Virtualization 5/27/2014 1

How To Manage Cloud Service Provisioning And Maintenance

Energy Constrained Resource Scheduling for Cloud Environment

Google. Iustin Pop, <iustin@google.com> Google Switzerland. Sponsored by:

CACM:Current-aware Capacity Management in Consolidated Server Enclosures

Citrix XenServer Industry-leading open source platform for cost-effective cloud, server and desktop virtualization. citrix.com

Power and Performance Modeling in a Virtualized Server System

Energy Efficiency and Server Virtualization in Data Centers: An Empirical Investigation

Transcription:

A dynamic optimization model for power and performance management of virtualized clusters Vinicius Petrucci, Orlando Loques Univ. Federal Fluminense Niteroi, Rio de Janeiro, Brasil Daniel Mossé Univ. of Pittsburgh, USA

Impact of energy consumption Energy crisis High energy costs and demand growing Environmental impacts Carbon dioxide emission Global warming Economic impacts Resource scarcity leads to higher market prices Clean and renewable sources may have high costs Power-efficiency is a fundamental concern in today's large server clusters / data-centers

Our solution Integrate power and performance management in heterogeneous server clusters Virtualized platform targeted at hosting multiple independent web applications Optimization approach to 1. dynamically manage the cluster power consumption 2. meet the application's performance demands

Optimization approach The optimization problem: Determine the most power-efficient cluster configuration that can handle a given workload Variant of the bin packing problem A cluster configuration is given by 1. which servers must be active and their respective CPU frequencies 2. a corresponding mapping of the apps (running on top of VMs) to physical servers

Optimization approach Optimization is given by a MIP model solved periodically in a control loop fashion 1. Solve an optimization problem 2. Use the solution to configure the cluster MIP model Cluster

Power and performance model Different power and performance levels in heterogeneous server clusters

Power and performance model Dynamic Voltage/Frequency Scaling

Power and performance model Server on/off mechanisms (e.g., standby + Wake-on-LAN)

Optimization model Two ways of mapping app workloads to VMs (a) every app runs in only one VM instance on a given server, (b) one given app may run in more than one VM instance, whereas these VMs are balanced among multiple servers

Optimization model Input variables: N = set of servers in the cluster F i = set of frequencies for each server i in N M = set of apps/services in the cluster cap ij = capacity (e.g., req/s) of server i at frequency j pb ij, pi ij = power costs (idle and busy) of server i at freq. j d k = demand (workload) of app k Decision variables: y ij = 1 if server i runs at frequency j, 0 otherwise x ijk = 1 if server i uses frequency j to run app k, 0 otherwise α ijk = utilization variable [0,1] of server i at frequency j

Optimization model Problem formulation

Optimization model Minimization of the overall power consumption

Optimization model Server capacity constraints

Optimization model Application allocation constraints

Optimization model Server frequency selection constraints

Optimization model Bound constraints for utilization and server selection variables

Optimization model Domains of the decision variables

Extensions to the model Application workload balancing Represent fractions of an application workload in a given selected server Relax the allocation variable (to be a real domain) Server switching on/off and VM migration costs Keep state from previous configuration Add penalty to the objective function

Optimization control loop

Optimization control loop Control loop steps: (1) Collect and store the most recent values of the optimization input variables; (2) Construct and solve a new optimization problem instance, yielding a new optimal configuration; (3) Apply the changes in the system, transitioning the system to a new state given by the new optimized configuration.

Optimization control loop Control loop steps: (1) Collect and store the most recent values of the optimization input variables; (2) Construct and solve a new optimization problem instance, yielding a new optimal configuration; (3) Apply the changes in the system, transitioning the system to a new state given by the new optimized configuration.

Optimization control loop Control loop steps: (1) Collect and store the most recent values of the optimization input variables; (2) Construct and solve a new optimization problem instance, yielding a new optimal configuration; (3) Apply the changes in the system, transitioning the system to a new state given by the new optimized configuration.

Configuration support The optimization proposal relies on monitoring and configuration capabilities, such as VM migration and server on/off, which are described by means of an API [Petrucci et. al ACM SAC 09]

Server cluster architecture Workload Client 1 Client 2 App 1 Optimization Framework control monitor Server 1 VM1 App1 VM1 App2 Client 3 Client 4 App 2 Dispatcher Server VM1 App3 Server 2 Client 5 Client 6 App 3 OFF Server 3 OFF

Server cluster architecture Workload Client 1 Client 2 App 1 Optimization Framework control monitor Server 1 VM1 App1 VM1 App2 Client 3 Client 4 App 2 Dispatcher Server VM1 App3 Server 2 VM2 App3 Client 5 Client 6 App 3 Server 3 OFF Client 7 Client 8

Evaluation Three distinct app workloads based on WC98 Cluster setup with 5 physical servers Optimization model implemented using the CPLEX 11 package solver Power/performance benchmark for the servers Workload generator: httperf tool Power monitor: LabView with USB DAQ

Workload traces

Optimization execution

Power consumption

Power consumption Comparison with Linux kernel CPU governors Energy consumption estimation i is an active server (and j is its operating frequency) alpha is utilization at time t (pb and pi are idle and busy power) Performance governor On-demand governor Optimization approach

Scalability simulation CPLEX with time limit of 180 seconds (related to a given control period) 180 executions (1800s of workload duration spaced by 10s) one execution for each second

Scalability simulation Now including an optimality tolerance of 5% (180 executions)

Conclusion We proposed an optimization solution for power and performance management Targeted for virtualized server clusters The proposal includes an optimization model and a control loop strategy Simulations showed practicability and attractive power reductions compared to Linux governors Mainly because of server on/off mechanisms

Current work Experimental evaluation in a real cluster test-bed Optimization control loop implementation Xen hypervisor and Apache web servers Analysis of overhead/cost in imposing dynamic cluster configurations E.g., VM deployment/replication, live migration Improvements in the optimization decisions by leveraging predictive information about the workload Well-known techniques for load forecasting Acceleration of the optimization process (branch-andbound) Problem-specific heuristics (upper bound) input for CPLEX Valid inequalities to improve dual solution limits (lower bounds) of the MIP model

Thank you! The contemporary Art museum in Niteroi, Rio de Janeiro

Variable-sized bin packing problem Demand (req/s) Capacity (req/s) unused n items m bins / knapsacks