Power Aware Virtual Machine Placement Yefu Wang. 2 ECE692 2009 Introduction Data centers are underutilized – Prepared for extreme workloads – Commonly.

Slides:



Advertisements
Similar presentations
Energy-efficient Task Scheduling in Heterogeneous Environment 2013/10/25.
Advertisements

Hadi Goudarzi and Massoud Pedram
Resource Management §A resource can be a logical, such as a shared file, or physical, such as a CPU (a node of the distributed system). One of the functions.
Walter Binder University of Lugano, Switzerland Niranjan Suri IHMC, Florida, USA Green Computing: Energy Consumption Optimized Service Hosting.
Power Management in Cloud Computing using Green Algorithm -Kushal Mehta COP 6087 University of Central Florida.
Energy-efficient Virtual Machine Provision Algorithms for Cloud System Ching-Chi Lin Institute of Information Science, Academia Sinica Department of Computer.
Green Cloud Computing Hadi Salimi Distributed Systems Lab, School of Computer Engineering, Iran University of Science and Technology,
Memory Buddies: Exploiting Page Sharing for Smart Colocation in Virtualized Data Centers Timothy Wood, Gabriel Tarasuk-Levin, Prashant Shenoy, Peter Desnoyers*,
CloudScale: Elastic Resource Scaling for Multi-Tenant Cloud Systems Zhiming Shen, Sethuraman Subbiah, Xiaohui Gu, John Wilkes.
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
Energy Management and Adaptive Behavior Tarek Abdelzaher.
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.
1 Introduction to Load Balancing: l Definition of Distributed systems. Collection of independent loosely coupled computing resources. l Load Balancing.
Energy Efficient Web Server Cluster Andrew Krioukov, Sara Alspaugh, Laura Keys, David Culler, Randy Katz.
Present By : Bahar Fatholapour M.Sc. Student in Information Technology Mazandaran University of Science and Technology Supervisor:
By- Jaideep Moses, Ravi Iyer , Ramesh Illikkal and
Virtualization for Cloud Computing
CSE598C Project: Dynamic virtual server placement Yoojin Hong.
Energy Aware Network Operations Authors: Priya Mahadevan, Puneet Sharma, Sujata Banerjee, Parthasarathy Ranganathan HP Labs IEEE Global Internet Symposium.
Adaptive Server Farms for the Data Center Contact: Ron Sheen Fujitsu Siemens Computers, Inc Sever Blade Summit, Getting the.
Presented by : Ran Koretzki. Basic Introduction What are VM’s ? What is migration ? What is Live migration ?
COST IC804 – IC805 Joint meeting, February Jorge G. Barbosa, Altino M. Sampaio, Hamid Harabnejad Universidade do Porto, Faculdade de Engenharia,
Energy Efficiency in Cloud Data Centers: Energy Efficient VM Placement for Cloud Data Centers Doctoral Student : Chaima Ghribi Advisor : Djamal Zeghlache.
Storage Allocation in Prefetching Techniques of Web Caches D. Zeng, F. Wang, S. Ram Appeared in proceedings of ACM conference in Electronic commerce (EC’03)
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.
+ CS 325: CS Hardware and Software Organization and Architecture Cloud Architectures.
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.
1 Using Multiple Energy Gears in MPI Programs on a Power- Scalable Cluster Vincent W. Freeh, David K. Lowenthal, Feng Pan, and Nandani Kappiah Presented.
USTH Presentation Power-aware Scheduler for Virtualization TRAN Giang Son Prof. Daniel HAGIMONT Oct 19th, 2011.
Kinshuk Govil, Dan Teodosiu*, Yongqiang Huang, and Mendel Rosenblum
RECON: A TOOL TO RECOMMEND DYNAMIC SERVER CONSOLIDATION IN MULTI-CLUSTER DATACENTERS Anindya Neogi IEEE Network Operations and Management Symposium, 2008.
Challenges towards Elastic Power Management in Internet Data Center.
COMS E Cloud Computing and Data Center Networking Sambit Sahu
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Profiling and Modeling Resource Usage.
High Performance Computing on Virtualized Environments Ganesh Thiagarajan Fall 2014 Instructor: Yuzhe(Richard) Tang Syracuse University.
Dynamic Resource Monitoring and Allocation in a virtualized environment.
1 Distributed Energy-Efficient Scheduling for Data-Intensive Applications with Deadline Constraints on Data Grids Cong Liu and Xiao Qin Auburn University.
An Energy-Efficient Hypervisor Scheduler for Asymmetric Multi- core 1 Ching-Chi Lin Institute of Information Science, Academia Sinica Department of Computer.
Power-Aware Scheduling of Virtual Machines in DVFS-enabled Clusters
Server Virtualization
A dynamic optimization model for power and performance management of virtualized clusters Vinicius Petrucci, Orlando Loques Univ. Federal Fluminense Niteroi,
Dana Butnariu Princeton University EDGE Lab June – September 2011 OPTIMAL SLEEPING IN DATACENTERS Joint work with Professor Mung Chiang, Ioannis Kamitsos,
The Only Constant is Change: Incorporating Time-Varying Bandwidth Reservations in Data Centers Di Xie, Ning Ding, Y. Charlie Hu, Ramana Kompella 1.
© 2012 IBM Corporation Platform Computing 1 IBM Platform Cluster Manager Data Center Operating System April 2013.
Towards Dynamic Green-Sizing for Database Servers Mustafa Korkmaz, Alexey Karyakin, Martin Karsten, Kenneth Salem University of Waterloo.
Managing Server Energy and Operational Costs Chen, Das, Qin, Sivasubramaniam, Wang, Gautam (Penn State) Sigmetrics 2005.
Performance Comparison Xen vs. KVM vs. Native –Benchmarks: SPEC CPU2006, SPEC JBB 2005, SPEC WEB, TPC –Case studies Design instrumentations for figure.
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.
June 30 - July 2, 2009AIMS 2009 Towards Energy Efficient Change Management in A Cloud Computing Environment: A Pro-Active Approach H. AbdelSalamK. Maly.
1 Agility in Virtualized Utility Computing Hangwei Qian, Elliot Miller, Wei Zhang Michael Rabinovich, Craig E. Wills {EECS Department, Case Western Reserve.
Copyright © 2010, Performance and Power Management for Cloud Infrastructures Hien Nguyen Van; Tran, F.D.; Menaud, J.-M. Cloud Computing (CLOUD),
Dynamic Placement of Virtual Machines for Managing SLA Violations NORMAN BOBROFF, ANDRZEJ KOCHUT, KIRK BEATY SOME SLIDE CONTENT ADAPTED FROM ALEXANDER.
Ensieea Rizwani An energy-efficient management mechanism for large-scale server clusters By: Zhenghua Xue, Dong, Ma, Fan, Mei 1.
ECE 692 Power-Aware Computer Systems Final Review Prof. Xiaorui Wang.
Capacity Planning in a Virtual Environment Chris Chesley, Sr. Systems Engineer
Coordinated Performance and Power Management Yefu Wang.
1 Automated Power Management Through Virtualization Anne Holler, VMware Anil Kapur, VMware.
Energy Aware Network Operations
Introduction to Load Balancing:
Exploiting Sharing for Data Center Consolidation
Network Load Balancing
Zhen Xiao, Qi Chen, and Haipeng Luo May 2013
Effective VM Sizing in Virtualized Data Centers
IIS Progress Report 2016/01/18.
Presentation transcript:

Power Aware Virtual Machine Placement Yefu Wang

2 ECE Introduction Data centers are underutilized – Prepared for extreme workloads – Commonly under 20% utilized Shutting down unused servers – Saves more power than DVFS – Application correctness should be guaranteed Design choices – Workload redirection – VM live migration – Workload redirection + VM live migration [Meisner’09]

3 ECE Design Choice (1) : Workload Redirection Web requests Example: [Heo’07]

4 ECE Design Choice (2): VM Live Migration VM Example: [Wang’09, Verma’08]

5 ECE Design Choice (3): Hybrid [Kusic’08] 6 servers and 12 VMs 2 applications: Gold and Silver HTTP requests are dispatched by a dispatcher

pMapper: Power and Migration Cost Aware Application Placement in Virtualized Systems Akshat Verma, Puneet Ahuja, Anindya Neogi IBM India Research Lab, IIT Delhi

7 ECE Application Placement Static vs. dynamic placement – Utilization of each server shows dynamic pattens – Dynamic placement saves more energy – A later paper from the save authors advocates static placement System administrators have more control CPU utilization(0%-100%) are mapped to grayscale (0-1) in this figure.

8 ECE Application Placement Architecture VM resizing + idling DVFS

9 ECE Optimization Formulations Cost performance tradeoff Cost Minimization with Performance Constraint Performance benefit maximization with power constraint Performance benefitPowerMigration Cost

10 ECE System Modeling Migration Cost – Independent of the background workload – Can be estimated a priori Performance modeling – This paper does not design a performance controller – pMapper can be integrated with other performance controllers or models Power model – It is infeasible to have an accurate power model in practice Server power consumnption depends on the hosted applications The potential server-VM mappings can be huge – This paper only relies on the power efficiency of servers

11 ECE Optimization Formulations Cost performance tradeoff Cost Minimization with Performance Constraint Performance benefit maximization with power constraint Performance benefitPowerMigration Cost

12 ECE mPP Algorithm VM Server 1Server 2Server 3Server 4Server 5

13 ECE mPP Algorithm VM Server 1Server 2Server 3Server 4Server 5

14 ECE mPP Algorithm VM Server 1Server 2Server 3Server 4Server 5 Sort VMs by size

15 ECE mPP Algorithm VM Server 1Server 2Server 3Server 4Server 5 Sort servers by slope (power efficiency)

16 ECE mPP Algorithm VM Server 1Server 2Server 3Server 4Server 5 Allocate the VM to servers using First Fit

17 ECE mPP Algorithm VM Server 1Server 2Server 3Server 4Server 5 mPP algorithm is oblivious of the last configuration May entail large-scale migrations.

18 ECE mPPH Algorithm : mPP with History VM mPP

19 ECE mPPH Algorithm : mPP with History VM Target Util. Target Util. Target Util. Receiver Donor

20 ECE mPPH Algorithm : mPP with History VM Donor Target

21 ECE mPPH Algorithm : mPP with History VM Donor Pick the smallest VMs that add to a migration list Migration list Target

22 ECE mPPH Algorithm : mPP with History VM Receiver VM Migration list VM Donor

23 ECE mPPH Algorithm : mPP with History VM Receiver VM Migration list VM Donor Target

24 ECE mPPH Algorithm : mPP with History VM Receiver VM Migration list VM Donor Target

25 ECE mPPH Algorithm : mPP with History VM Receiver VM Donor Target mPPH algorithm tries to minimize migrations by migrating as few VMs as possible pMaP algorithm: before each migration, consider the benefit and migration cost

26 ECE System Implementation Testbed – Virtulization platform: VMware ESX 3.0 – Power monitor: IBM Active Energy Manager – Performance manager: EWLM – DVFS is not implemented Simulator – Replace performance manager with trace data – Simulating 4 blades, 42 VMs Baselines – Load balanced – Static

27 ECE Power Consumption mPP, mPPH saves 25% of power

28 ECE Algorithm Cost mPP fails at high utilization pMaP has the least overall cost most of the time

29 ECE Conclusion Application placement controller pMapper – Minimize power and migration cost – Meet performance guarantees Also avaiable in the paper: – More simulation results – Proof of the propoties of the algorithm for a given platform

Performance-Controlled Power Optimization for Virtualized Clusters with Multi-tier Applications Yefu Wang and Xiaorui Wang University of Tennessee, Knoxville

31 ECE Introduction Power saving techniques – DVFS have a small overhead – Server consolidation saves more power Performnce guarantee – Multi-tier applications may span multiple VMs – A controller must respond to a workload variation quickly Integrating performance control and server consolidation is important

32 ECE Application- level Response Time Controller Application- level Response Time Monitor Application- level Response Time Controller Application- level Response Time Monitor System Architecture VM Application- level Response Time Controller Application- level Response Time Monitor CPU Resource Demands Power Optimizer VM migration and server sleep/active commands

33 ECE Response Time Controller VM1VM2 Application HTTP requests Response Time Monitor MPC Controller Response Time Model CPU requirements

34 ECE CPU Resource Arbitrator CPU resource arbitrator – Runs at server level – Collect the CPU requirements of all VMs – Decides CPU allocations of all VMs and DVFS level of the server The CPU resource a VM receives depends on: – CPU allocation Example: give 20% CPU to VM1 – DVFS level Example: Set the CPU frequency to

35 ECE CPU Resource Arbitrator Two observations – Performance depends on – Keeping a constant, a lower leads to less power consumption CPU resource arbitrator – Use the lowest possible CPU frequency to meet the CPU requirements of the hosted VMS

36 ECE VM Consolidation for Power Optimization Problem formulation – Minimize the total power consumption of all servers – Meet all CPU resource requirements Power Model

37 ECE Optimization Algorithm 1.Minimum slack problem for a single server 2.Power aware consolidation for a list of servers 3.Incremental Power Aware Consolidation (IPAC) algorithm 4.Cost-aware VM migration

38 ECE Minimum slack problem for a single server VM Server Slack=1Minimum Slack=1

39 ECE Minimum slack problem for a single server VM Server VM Slack=0.8Minimum Slack=0.8

40 ECE Minimum slack problem for a single server VM Server VM Slack=0.2Minimum Slack=0.2

41 ECE Minimum slack problem for a single server VM Server VM Slack=0.2

42 ECE Minimum slack problem for a single server VM Server VM Slack=0.5Minimum Slack=0.2

43 ECE Minimum slack problem for a single server VM Server VM Slack=0.2Minimum Slack=0.2

44 ECE Minimum slack problem for a single server VM Server VM Slack=0 Algorithm stops if minimum slack < Sounds like exhaustive search? Complexity: the maximum number of VMs a server can host Fast in practice [Fleszar’02] Gives better solution than FFD Minimum Slack=0.2

45 ECE Consolidation Algorithm Power aware consolidation for a list of servers – Begin from the most power efficient server – Use minimum slack algorithm to fill the server with VMs – Repeate with the next server untill all the VMs are hosted Incremental Power Aware Consolidation (IPAC) algorithm – Everytime only consider these VMs for consolidation: Selected VMs on overloaded servers The VMs on the least power efficient server – Repeate until the number of servers does not decrease Cost-aware VM migration – Consider the benefit and migration cost before each migration Benefit: power reduction estimated by the power model, etc. Cost: administrator-defined based on their policies

46 ECE System Implementation Testbed – 4 servers, 16 VMs – 8 applications (RUBBoS) – Xen 3.2 with DVFS Simulator – Use CPU utilization trace file for 5415 servers to simulate 5415 VMs – 400 physical servers with random power models – 3 different type of CPUs

47 ECE Response Time Control Our solution Baseline: pMapper Violation of performance requirements Lower power consumption resulted from DVFS

48 ECE Server Consolidation 69.6% power is saved Response time is still guaranteed after the consolidation

49 ECE Simulation Results IPAC saves more power than pMapper – Algorithm gives better consolidation solutions – Even more power is saved by DVFS IPAC runs even faster than pMapper – Only a small number of VMs are considered in each period

50 ECE Conclusion Performance-controlled power optimization solution for virtualized server clusters – Application-level performance guaranteed – Power savings are provided by DVFS and server consolidation Compared with pMapper – Provides performance guarantee – Consumes less power – Less computational overhead

51 ECE Critiques to pMapper Too many components are only disscussed without implementation Lacks hardware experiments Only provides small scale simulations

52 ECE Critiques to IPAC Realword constraints are not shown in experiments – Network constraint, etc. Centralized solution – Incures a heavy conmunication overhead to the optimizer The settling time of the response time controller is too long

53 ECE Comparisons of the Two Papers pMapperIPAC Performance guaranteeNoYes DVFSNoYes Hardware experimentsNoYes Based algorithmsFFDMinimum Slack