Power-Aware Scheduling of Virtual Machines in DVFS-enabled Clusters

Slides:



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

Virtual Machine Technology Dr. Gregor von Laszewski Dr. Lizhe Wang.
University of Minnesota Optimizing MapReduce Provisioning in the Cloud Michael Cardosa, Aameek Singh†, Himabindu Pucha†, Abhishek Chandra
SLA-Oriented Resource Provisioning for Cloud Computing
Energy-Efficient System Virtualization for Mobile and Embedded Systems Final Review 2014/01/21.
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.
Efficient Resource Management for Cloud Computing Environments Andrew J. Younge, Gregor von Laszewski, Lizhe Wang, Sonia Lopez-Alarcon, Warren Carithers.
A Cyber-Physical Systems Approach to Energy Management in Data Centers Presented by Chen He Adopted form the paper authors.
Green Cloud Computing Hadi Salimi Distributed Systems Lab, School of Computer Engineering, Iran University of Science and Technology,
Towards High-Availability for IP Telephony using Virtual Machines Devdutt Patnaik, Ashish Bijlani and Vishal K Singh.
COMS E Cloud Computing and Data Center Networking Sambit Sahu
Present By : Bahar Fatholapour M.Sc. Student in Information Technology Mazandaran University of Science and Technology Supervisor:
Efficient Resource Management for Cloud Computing Environments Andrew J. Younge Golisano College of Computing and Information Sciences Rochester Institute.
Virtualization for Cloud Computing
VIRTUALISATION OF HADOOP CLUSTERS Dr G Sudha Sadasivam Assistant Professor Department of CSE PSGCT.
Efficient Resource Management for Cloud Computing Environments
Design Discussion Rain: Dynamically Provisioning Clouds within FutureGrid Geoffrey Fox, Andrew J. Younge, Gregor von Laszewski, Archit Kulshrestha, Fugang.
Tanenbaum 8.3 See references
A User Experience-based Cloud Service Redeployment Mechanism KANG Yu.
Thermal Aware Resource Management Framework Xi He, Gregor von Laszewski, Lizhe Wang Golisano College of Computing and Information Sciences Rochester Institute.
Eucalyptus on FutureGrid: A case for Eucalyptus 3 Sharif Islam, Javier Diaz, Geoffrey Fox Gregor von Laszewski Indiana University.
Cyberaide Virtual Appliance: On-demand Deploying Middleware for Cyberinfrastructure Tobias Kurze, Lizhe Wang, Gregor von Laszewski, Jie Tao, Marcel Kunze,
Green IT and Data Centers Darshan R. Kapadia Gregor von Laszewski 1.
Department of Computer Science Engineering SRM University
XI HE Computing and Information Science Rochester Institute of Technology Rochester, NY USA Rochester Institute of Technology Service.
ICT Day Term 4,  Virtualisation is growing in usage.  Current CPU’s are designed to support Virtualisation.  Businesses are looking at virtualisation.
Predictive Runtime Code Scheduling for Heterogeneous Architectures 1.
Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment.
+ 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.
Cloud Computing Energy efficient cloud computing Keke Chen.
Andrew J. Younge Golisano College of Computing and Information Sciences Rochester Institute of Technology 102 Lomb Memorial Drive Rochester, New York
การติดตั้งและทดสอบการทำคลัสเต อร์เสมือนบน Xen, ROCKS, และไท ยกริด Roll Implementation of Virtualization Clusters based on Xen, ROCKS, and ThaiGrid Roll.
Improving Network I/O Virtualization for Cloud Computing.
USTH Presentation Power-aware Scheduler for Virtualization TRAN Giang Son Prof. Daniel HAGIMONT Oct 19th, 2011.
Power and Performance Modeling in a Virtualized Server System M. Pedram and I. Hwang Department of Electrical Engineering Univ. of Southern California.
Critical Power Slope Understanding the Runtime Effects of Frequency Scaling Akihiko Miyoshi, Charles Lefurgy, Eric Van Hensbergen Ram Rajamony Raj Rajkumar.
Challenges towards Elastic Power Management in Internet Data Center.
Summer Report Xi He Golisano College of Computing and Information Sciences Rochester Institute of Technology Rochester, NY
History of Microprocessor MPIntroductionData BusAddress Bus
High Performance Computing on Virtualized Environments Ganesh Thiagarajan Fall 2014 Instructor: Yuzhe(Richard) Tang Syracuse University.
DESIGNING VM SCHEDULERS FOR EMBEDDED REAL-TIME APPLICATIONS Alejandro Masrur, Thomas Pfeuffer, Martin Geier, Sebastian Drössler and Samarjit Chakraborty.
Server Virtualization
Thermal-aware Issues in Computers IMPACT Lab. Part A Overview of Thermal-related Technologies.
Toward Green Data Center Computing Gregor von Laszewski Lizhe Wang.
Towards Dynamic Green-Sizing for Database Servers Mustafa Korkmaz, Alexey Karyakin, Martin Karsten, Kenneth Salem University of Waterloo.
VGreen: A System for Energy Efficient Manager in Virtualized Environments G. Dhiman, G Marchetti, T Rosing ISLPED 2009.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems with Multi-programming Chapter 4.
Software Architecture for Dynamic Thermal Management in Datacenters Tridib Mukherjee Graduate Research Assistant IMPACT Lab ( Department.
Thermal Aware Data Management in Cloud based Data Centers Ling Liu College of Computing Georgia Institute of Technology NSF SEEDM workshop, May 2-3, 2011.
Efficient Resource Management for Cloud Computing Environments Andrew J. Younge Golisano College of Computing and Information Sciences Rochester Institute.
Green Computing Metrics: Power, Temperature, CO2, … Computing system: Many-cores, Clusters, Grids and Clouds Algorithm and model: task scheduling, CFD.
Performance Analysis of Preemption-aware Scheduling in Multi-Cluster Grid Environments Mohsen Amini Salehi, Bahman Javadi, Rajkumar Buyya Cloud Computing.
Modeling Virtualized Environments in Simalytic ® Models by Computing Missing Service Demand Parameters CMG2009 Paper 9103, December 11, 2009 Dr. Tim R.
Performance and Energy Efficiency Evaluation of Big Data Systems Presented by Yingjie Shi Institute of Computing Technology, CAS
Overview and Comparison of Software Tools for Power Management in Data Centers Msc. Enida Sheme Acad. Neki Frasheri Polytechnic University of Tirana Albania.
XI HE Computing and Information Science Rochester Institute of Technology Rochester, NY USA Rochester Institute of Technology Service.
Accounting for Load Variation in Energy-Efficient Data Centers
Xi He Golisano College of Computing and Information Sciences Rochester Institute of Technology Rochester, NY THERMAL-AWARE RESOURCE.
Thermal Management in Datacenters Ayan Banerjee. Thermal Management using task placement Tasks: Requires a certain number of servers (cores) for a specified.
Grappling Cloud Infrastructure Services with a Generic Image Repository Javier Diaz Andrew J. Younge, Gregor von Laszewski, Fugang.
Lizhe Wang, Gregor von Laszewski, Jai Dayal, Thomas R. Furlani
Virtualization for Cloud Computing
Green cloud computing 2 Cs 595 Lecture 15.
Computing Resource Allocation and Scheduling in A Data Center
Cloud Computing Dr. Sharad Saxena.
Zhen Xiao, Qi Chen, and Haipeng Luo May 2013
Towards Green Aware Computing at Indiana University
Presentation transcript:

Power-Aware Scheduling of Virtual Machines in DVFS-enabled Clusters Gregor von Laszewski1, Lizhe Wang2, Andrew J. Younge2, Xi He2 1: Pervasive Technology Institute Indiana University Bloomington, IN 2: Service Oriented Cyberinfrastructure Laboratory Rochester Institute of Technology Rochester, NY Let’s start. Good afternoon, everyone. My name is Andrew Younge. Today I am going to talk about power-aware scheduling of virtual machines in DVFS-enabled clusters 1

Outline Introduction Virtual Machines Power-Aware Computing System Model Scheduling Algorithm Implementation Simulation Conclusion

Power Consumption in Data Centers Currently it is estimated that servers consume 0.5% of the world’s total electricity usage. Approx. 1.2% when data center systems are factored in Server energy demand doubles every 4-6 years. This results in large amounts of CO2 produced by burning fossil fuels. What if we could reduce the energy used with a minimal performance impact?

Virtualization A Virtual Machine (VM) is a software artifact that executes other software as if it was running on a physical resource directly. Typically uses a Hypervisor or VMM which abstracts the hardware from an Operating System Enables multiple OSs to run simultaneously on one physical machine.

Virtualization in a Cluster A compute cluster provides various virtual machine templates. When a job arrives at the cluster, the cluster scheduler allocates the job with a pre-configured virtual machine then starts it on compute nodes. The job is executed in the virtual machine. After the job is completed, the virtual machine is shutdown.

Advantages of Virtualization On-demand creation and customization Enhanced system usage Legacy support for specific software Increased administrative control for users Cluster site autonomy Guaranteed quality of service

Power-Aware Clusters A Power-aware cluster is a compute cluster where nodes support multiple power and performance modes. Adjustable frequency, voltage, sleep state, etc Lower the power consumption of the CPU when its not needed We can Dynamic Voltage and Frequency Scaling (DVFS) methods to control processor power consumption Intel SpeedStep Technology AMD PowerNow

Energy Model Power consumption can be estimated as: Was Where v is the processor voltage and s is the operating frequency at time period t

Cluster Model A Processing Element is defined as: Where op is the operating point, v is the voltage, and s is the processor speed. Then we can define a cluster C as a collection of k PEs

VM Model A VM is defined as: Where s is the speed with requirement r and t is the time, both as the execution time and the startup time required. Then we can define a set of i VMs as:

Research Issue We need a function f That schedules VMs to PEs at a certain operating point in such a way that minimizes the overall power consumption of the cluster C

Main Idea

Algorithm 1 Set all PEs running to the lowest voltage and processor speed, smin Define pek.sa as the available processor speed if the processor does not change its operating point. Since no virtual machine are initially scheduled, pek .sa is initialized with smin pek.∇s is the available PE speed when pek is operated to a highest level voltage from the current voltage level. pek.∇s is initialized with smax At a predefined interval, reduce power profiles with Algorithm 3 and schedule all incoming VMs with Algorithm 2 We use an interval because it simplifies the model and works well for small to medium size workloads.

Algorithm 2 Sort the incoming virtual machine requests in decreasing order of required processing frequency, vmi .sr so the VMs with higher requirements are scheduled first Find a pen with the most available processor speed If this PE meets the needs of the VM, schedule it on pen Continue for all VMs to be scheduled.

Algorithm 2 (cont) If vmi cannot be scheduled, take the pen with the maximum potential speed, we raise the speed the lowest possible level to satisfy the requirements of vmi Schedule vmi on pen

Algorithm 3 During the interval, a VM may finish execution If it does, try to lower the operating point of pen to the lowest possible point which meets the requirements of all currently running VMs on pen

Validation Need to validate the potential of our algorithm Implement the algorithm within a small VM cluster Simulate VMs scheduled on a cluster with the algorithm

OpenNebula OpenNebula is a virtual infrastructure manager for data centers The standard scheduler is independent of the other components We can replace this scheduler with our own Power-aware scheduling algorithm Then adjust the frequency at the Hypervisor level Default schedule = rank based policy, which allocates compute resources for virtual machines based on resource rank

Xen Power Management Xen Hypervisor to change the power consumption Use the Xen 3.3.4-unstable power management tools Within Dom0, we can control each core’s operating frequency using xenpm Intel Nehalem Quad Core processors Can set frequency to 1.6Hz, 1.86Ghz, 2.13GHz, 2.53GHz, or 2.66Ghz Uses Hyperthreading which provides 8 virtual cores, each of which can run a VM instance Measure power consumption using a Watts-UP power meter The stable 3.3.1 power management functions were broken, had to use the nightly build. Xen 3.4.1 has since been released which has full support.

Power Consumption Variations We can immediately see the impact of frequency scaling on power consumption. Also shows that the difference in power consumption between 2 VMs and 8 VMs is minimal, therefore the power consumption savings is considerable. It only cost 11.5% more to use all 8 vcores vs 4

Performance Impact of VMs Image 2: Slight impact of scheduling 8 VMs instead of 4, but overall performance is still greater 4*93=372 vs 8*60=480 22.5% more processing power

DVFS Simulation Simulate a test cluster with 10, 20, 30, 40, and 50 compute nodes Each node was simulated as a Pentium M at 1.4ghz Simulate 100, 200, 300, 400, and 500 virtual machines deployed on the cluster VMs randomly pick frequency requirements in .100Mhz intervals Use the DVFS scheduling algorithm to schedule VMs on nodes

DVFS-enabled Cluster Scheduling

Overall operating point distribution Simulate scheduling 200 VMs on 40 PEs In round 1, most PEs run at the lowest voltage Over subsequent rounds, the operating points scale up as the utilization rises The overall distribution varies widely, with the majority of the time running below the maximum operating frequency

Conclusion Recent trend to consolidate resources into a virtualized data center. There is a need to address the power consumption in these data centers. We can use DVFS technologies when scheduling VMs to conserve power whenever possible. Both experimental and analytical results show our algorithm its possible to reduce power consumption within a cluster environment. Further research is needed to reduce the energy consumed in data centers

Questions?

Appendix

Cloud Computing Distributed Systems encompasses a wide variety of technologies Grid computing spans most areas and is becoming more mature. Clouds are an emerging technology, providing many of the same features as Grids without many of the potential pitfalls. From “Cloud Computing and Grid Computing 360-Degree Compared”

Framework Green Cloud Framework Virtual Machine Controls Scheduling Power Aware Thermal Aware Management VM Image Design Migration Dynamic Shutdown Data Center Design Server & Rack Placement Air Cond. & Recirculation

VM scheduling on Multi-core Systems There is a nonlinear relationship between the number of processes used and power consumption We can schedule VMs to take advantage of this relationship in order to conserve power Mension core i7 system Describe in more details, illustrating how I’ve created it Power consumption curve on an Intel Core i7 920 Server (4 cores, 8 virtual cores with Hyperthreading) Scheduling

485 Watts vs. 552 Watts VM VM VM VM VM VM VM VM Node 1 @ 170W Assume we have 4 nodes with the same power consumption curve described in slide 10 My Algorithm 1 compared to a classic Round Robin scheduling algorithm (used in Eucalytus and OpenNebula) VM VM Node 1 @ 138W Node 2 @ 138W VM VM VM VM Node 3 @ 138W Node 4 @ 138W

Minimal VM Image Ubuntu Linux Easier to slim down a fully functional distro than to create one from scratch Selected Ubuntu Linux Jaunty 9.04 Minimal install site Package management software (aptitude) Continuing support FIX THIS SLIDE! Vs. Cloud Ubuntu VM Image Design