A dynamic optimization model for power and performance management of virtualized clusters Vinicius Petrucci, Orlando Loques Univ. Federal Fluminense Niteroi,

Slides:



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

Hadi Goudarzi and Massoud Pedram
Dynamic Thread Assignment on Heterogeneous Multiprocessor Architectures Pree Thiengburanathum Advanced computer architecture Oct 24,
Scalable Multi-Cache Simulation Using GPUs Michael Moeng Sangyeun Cho Rami Melhem University of Pittsburgh.
SLA-Oriented Resource Provisioning for Cloud Computing
Ensuring Operating System Kernel Integrity with OSck By Owen S. Hofmann Alan M. Dunn Sangman Kim Indrajit Roy Emmett Witchel Kent State University College.
Walter Binder University of Lugano, Switzerland Niranjan Suri IHMC, Florida, USA Green Computing: Energy Consumption Optimized Service Hosting.
Power Aware Virtual Machine Placement Yefu Wang. 2 ECE Introduction Data centers are underutilized – Prepared for extreme workloads – Commonly.
Power Management in Cloud Computing using Green Algorithm -Kushal Mehta COP 6087 University of Central Florida.
ElasticTree: Saving Energy in Data Center Networks Brandon Heller, Srini Seetharaman, Priya Mahadevan, Yiannis Yiakoumis, Puneed Sharma, Sujata Banerjee,
Cloud Computing Resource provisioning Keke Chen. Outline  For Web applications statistical Learning and automatic control for datacenters  For data.
Green Cloud Computing Hadi Salimi Distributed Systems Lab, School of Computer Engineering, Iran University of Science and Technology,
XENMON: QOS MONITORING AND PERFORMANCE PROFILING TOOL Diwaker Gupta, Rob Gardner, Ludmila Cherkasova 1.
1 Support for dynamic adaptation of power-aware server clusters Vinicius Petrucci, Orlando Loques Fluminense Federal University, Brazil Daniel Mossé University.
Efficient Autoscaling in the Cloud using Predictive Models for Workload Forecasting Roy, N., A. Dubey, and A. Gokhale 4th IEEE International Conference.
SLA-aware Virtual Resource Management for Cloud Infrastructures
Virtual techdays INDIA │ 9-11 February 2011 Cross Hypervisor Management Using SCVMM 2008 R2 Vikas Madan │ Partner Consultant II, Microsoft Corporation.
IPOEM: A GPS Tool for Integrated Management in Virtualized Data Centers Hui Zhang 1, Kenji Yoshihira 1, Ya-Yunn Su 2, Guofei Jiang 1, Ming Chen 3, Xiaorui.
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.
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Automated Workload Management in.
Virtualization for Cloud Computing
Utility Computing Casey Rathbone 1http://cyberaide.org.edu.
Energy Efficiency in Cloud Data Centers: Energy Efficient VM Placement for Cloud Data Centers Doctoral Student : Chaima Ghribi Advisor : Djamal Zeghlache.
Advanced Energy Management in Cloud Computing multi data center environments Giuliana Carello, DEI, Politecnico di Milano Danilo.
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.
Virtual Machine Course Rofideh Hadighi University of Science and Technology of Mazandaran, 31 Dec 2009.
1 An SLA-Oriented Capacity Planning Tool for Streaming Media Services Lucy Cherkasova, Wenting Tang, and Sharad Singhal HPLabs,USA.
+ CS 325: CS Hardware and Software Organization and Architecture Cloud Architectures.
OPTIMAL SERVER PROVISIONING AND FREQUENCY ADJUSTMENT IN SERVER CLUSTERS Presented by: Xinying Zheng 09/13/ XINYING ZHENG, YU CAI MICHIGAN TECHNOLOGICAL.
Ingénieur de Recherche
Presented by: Sanketh Beerabbi University of Central Florida COP Cloud Computing.
Fault-Tolerant Workflow Scheduling Using Spot Instances on Clouds Deepak Poola, Kotagiri Ramamohanarao, and Rajkumar Buyya Cloud Computing and Distributed.
RECON: A TOOL TO RECOMMEND DYNAMIC SERVER CONSOLIDATION IN MULTI-CLUSTER DATACENTERS Anindya Neogi IEEE Network Operations and Management Symposium, 2008.
Politecnico di Torino Dipartimento di Automatica ed Informatica TORSEC Group Performance of Xen’s Secured Virtual Networks Emanuele Cesena Paolo Carlo.
Challenges towards Elastic Power Management in Internet Data Center.
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Profiling and Modeling Resource Usage.
Dynamic Resource Monitoring and Allocation in a virtualized environment.
Joint Power Optimization Through VM Placement and Flow Scheduling in Data Centers DAWEI LI, JIE WU (TEMPLE UNIVERISTY) ZHIYONG LIU, AND FA ZHANG (CHINESE.
Energy Management in Virtualized Environments Gaurav Dhiman, Giacomo Marchetti, Raid Ayoub, Tajana Simunic Rosing (CSE-UCSD) Inside Xen Hypervisor Online.
Copyright © 2011, Performance Evaluation of a Green Scheduling Algorithm for Energy Savings in Cloud Computing Truong Vinh Truong Duy; Sato,
OPERATING SYSTEM SCHEDULING FOR EFFICIENT ONLINE SELF- TEST IN ROBUST SYSTEMS PRIDHVI RAJ RAMANUJULA CSc 8320.
© 2012 IBM Corporation Platform Computing 1 IBM Platform Cluster Manager Data Center Operating System April 2013.
Managing Server Energy and Operational Costs Chen, Das, Qin, Sivasubramaniam, Wang, Gautam (Penn State) Sigmetrics 2005.
VGreen: A System for Energy Efficient Manager in Virtualized Environments G. Dhiman, G Marchetti, T Rosing ISLPED 2009.
Embedded System Lab. 정범종 A_DRM: Architecture-aware Distributed Resource Management of Virtualized Clusters H. Wang et al. VEE, 2015.
Efficient Live Checkpointing Mechanisms for computation and memory-intensive VMs in a data center Kasidit Chanchio Vasabilab Dept of Computer Science,
Modeling Virtualized Environments in Simalytic ® Models by Computing Missing Service Demand Parameters CMG2009 Paper 9103, December 11, 2009 Dr. Tim R.
Overview and Comparison of Software Tools for Power Management in Data Centers Msc. Enida Sheme Acad. Neki Frasheri Polytechnic University of Tirana Albania.
Copyright © 2010, Performance and Power Management for Cloud Infrastructures Hien Nguyen Van; Tran, F.D.; Menaud, J.-M. Cloud Computing (CLOUD),
Research on Embedded Hypervisor Scheduler Techniques 2014/10/02 1.
GRID ANATOMY Advanced Computing Concepts – Dr. Emmanuel Pilli.
Kingfisher: A System for Elastic Cost-aware Provisioning in the Cloud
EuroSys Doctoral Workshop 2011 Resource Provisioning of Web Applications in Heterogeneous Cloud Jiang Dejun Supervisor: Guillaume Pierre
© 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Understanding Virtualization Overhead.
Architecture for Resource Allocation Services Supporting Interactive Remote Desktop Sessions in Utility Grids Vanish Talwar, HP Labs Bikash Agarwalla,
Resource Optimization for Publisher/Subscriber-based Avionics Systems Institute for Software Integrated Systems Vanderbilt University Nashville, Tennessee.
Unit 2 VIRTUALISATION. Unit 2 - Syllabus Basics of Virtualization Types of Virtualization Implementation Levels of Virtualization Virtualization Structures.
System Control based Renewable Energy Resources in Smart Grid Consumer
Adaptive Cloud Computing Based Services for Mobile Users
Red Hat User Group June 2014 Marco Berube, Cloud Solutions Architect
Frequency Governors for Cloud Database OLTP Workloads
Comparison of the Three CPU Schedulers in Xen
Cloud Computing Dr. Sharad Saxena.
Zhen Xiao, Qi Chen, and Haipeng Luo May 2013
ElasticTree: Saving Energy in Data Center Networks
The Extensible Tool-chain for Evaluation of Architectural Models
ICSOC 2018 Adel Nadjaran Toosi Faculty of Information Technology
Cloud Computing Architecture
A workload-aware energy model for VM migration
Presentation transcript:

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

Dynamic Voltage/Frequency Scaling Power and performance model

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

Optimization model (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 Two ways of mapping app workloads to VMs

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

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 1 VM1 App1 Dispatcher Server Client 1 Client 2 Client 3 Client 4Client 5 Client 6 App 1 App 2 App 3 Server 2 Server 3 OFF VM1 App2 VM1 App3 Optimization Framework control monitor Server cluster architecture Workload

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

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

Comparison with Linux kernel CPU governors Energy consumption estimation Optimization approach → Power consumption 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 →

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-and- bound) – 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

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