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



Similar documents
Infrastructure as a Service (IaaS)

Performance Testing of a Cloud Service

1. Simulation of load balancing in a cloud computing environment using OMNET

VIRTUAL RESOURCE MANAGEMENT FOR DATA INTENSIVE APPLICATIONS IN CLOUD INFRASTRUCTURES

CS 695 Topics in Virtualization and Cloud Computing. Introduction

Enabling Technologies for Distributed Computing

Performance Management for Cloudbased STC 2012

Emerging Technology for the Next Decade

IOS110. Virtualization 5/27/2014 1

Enabling Technologies for Distributed and Cloud Computing

DataCenter optimization for Cloud Computing

Cloud Panel Service Evaluation Scenarios

Virtual Machine Instance Scheduling in IaaS Clouds

STeP-IN SUMMIT June 18 21, 2013 at Bangalore, INDIA. Performance Testing of an IAAS Cloud Software (A CloudStack Use Case)

Open Source Cloud Computing: Characteristics and an Overview

CS 695 Topics in Virtualization and Cloud Computing and Storage Systems. Introduction

Cloud Computing Simulation Using CloudSim

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

A Dynamic Resource Management with Energy Saving Mechanism for Supporting Cloud Computing

Performance Management for Cloud-based Applications STC 2012

Energy Conscious Virtual Machine Migration by Job Shop Scheduling Algorithm

Geoff Raines Cloud Engineer

IaaS Cloud Architectures: Virtualized Data Centers to Federated Cloud Infrastructures

Elastic Cloud Computing in the Open Cirrus Testbed implemented via Eucalyptus

Dynamic Resource allocation in Cloud

Environments, Services and Network Management for Green Clouds

How To Schedule Cloud Computing On A Data Center

Large Construction of a Cloud IaaS with Dynamic Resource Allocation Method Using OpenStack

Towards an understanding of oversubscription in cloud

Intro to Virtualization

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

The Cloud as a Computing Platform: Options for the Enterprise

NETAPP WHITE PAPER USING A NETWORK APPLIANCE SAN WITH VMWARE INFRASTRUCTURE 3 TO FACILITATE SERVER AND STORAGE CONSOLIDATION

Mobile Cloud Computing T Open Source IaaS

DELL. Virtual Desktop Infrastructure Study END-TO-END COMPUTING. Dell Enterprise Solutions Engineering

Scheduler in Cloud Computing using Open Source Technologies

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

Sistemi Operativi e Reti. Cloud Computing

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

International Journal of Advance Research in Computer Science and Management Studies

BC43: Virtualization and the Green Factor. Ed Harnish

Auto-Scaling Model for Cloud Computing System

SURFnet Cloud Computing Solutions

An Approach to Load Balancing In Cloud Computing

Monitoring Databases on VMware

Introduction to OpenStack

What Is It? Business Architecture Research Challenges Bibliography. Cloud Computing. Research Challenges Overview. Carlos Eduardo Moreira dos Santos

Getting cross-platform: bringing virtualization management to the PPC world

Lecture 2 Cloud Computing & Virtualization. Cloud Application Development (SE808, School of Software, Sun Yat-Sen University) Yabo (Arber) Xu

Towards an Architecture for Monitoring Private Cloud

How To Build A Cloud Stack For A University Project

GUEST OPERATING SYSTEM BASED PERFORMANCE COMPARISON OF VMWARE AND XEN HYPERVISOR

Data Centers and Cloud Computing

Scaling Analysis Services in the Cloud

Virtual Machine Management with OpenNebula in the RESERVOIR project

2) Xen Hypervisor 3) UEC

Introduction to Cloud Computing

Datasheet Fujitsu Cloud Infrastructure Management Software V1

Energy-aware job scheduler for highperformance

T Mobile Cloud Computing Private Cloud & Assignment

International Journal of Computer & Organization Trends Volume21 Number1 June 2015 A Study on Load Balancing in Cloud Computing

Cloud Computing Capacity Planning. Maximizing Cloud Value. Authors: Jose Vargas, Clint Sherwood. Organization: IBM Cloud Labs

Cloud Management: Knowing is Half The Battle

Comparative Analysis of Virtual Desktops in Cloud

How To Create A Cloud Based System For Aaas (Networking)

Energy Constrained Resource Scheduling for Cloud Environment

Dynamic resource management for energy saving in the cloud computing environment

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

Scalability Tuning vcenter Operations Manager for View 1.0

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

Planning, Provisioning and Deploying Enterprise Clouds with Oracle Enterprise Manager 12c Kevin Patterson, Principal Sales Consultant, Enterprise

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

Cloud computing: the state of the art and challenges. Jānis Kampars Riga Technical University

Two-Level Cooperation in Autonomic Cloud Resource Management

Amazon EC2 XenApp Scalability Analysis

Cloud Computing: Opportunities, Challenges, and Solutions. Jungwoo Ryoo, Ph.D., CISSP, CISA The Pennsylvania State University

Energy Optimized Virtual Machine Scheduling Schemes in Cloud Environment

International Journal of Engineering Research & Management Technology

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

Transcription:

An Energy-aware Multi-start Local Search Metaheuristic for Scheduling VMs within the OpenNebula Cloud Distribution Y. Kessaci, N. Melab et E-G. Talbi Dolphin Project Team, Université Lille 1, LIFL-CNRS, INRIA Lille-Nord Europe Green day 2013 28/01/2013 29/01/2013 1/29

Outline Motivation Cloud Models Problem formulation Problem resolution Experiments and Results Conclusion and Perspectives 2/29

Motivation The total electricity consumed by servers doubled over the period 2005 to 2010 in worldwide. Information and Communications Technology (ICT) industry accounts for approximately 2% of CO2 emissions. Source: Koomey 2007 Energy consumption represents more than 42% of the total data center budget. Source: Hamilton 2009 3/29

Cloud Models Different according to the provided servicee: IaaS (Infrastructure as a Service) PaaS (Platform as a Service) SaaS (Software as a Service) The cloud provider deals with: the virtualization, server hardware, storage and networks. The client deals with: applications, runtimes, SOA integration, databases and server software. Two-tier model (Client, Provider). Payment on demand (pay as you go). 4/29

Overview (two-tier architecture) Clients Scheduler (EMLS-ONC) IAAS Cloud OpenNebula Cloud Manager VM requests (templates) VM assignment 5/29

Virtual Machines for High Performance Computing Usage The VM template file (in OpenNebula) contains information about the number of CPU, memory, disk capacity, the CPU clock frequency, the time reservation VMs Cloud (IAAS) The information used by our scheduler are given by the triplet: e n j j m j ( e j, n j, m j ) the execution time of the application (booking) reservation time of VMs the number of reserved processors the required memory 6/29

OpenNebula 3 layers Cloud Manager Distributed Cloud Infrastructure information (CPU, memory, disk, clock frequency ) Hypervisor (KVM, XEN, ) Client requests (VM features) VM templates Information exchange process XML-RPC 7/29

Scheduler Tool Metaheuristic : Multi-start Local Search MetaHeuristic (EMLS-ONC). Users IaaS Cloud OpenNebula Interface Cloud Manager (OpenNebula Core) KVM Xen VMware Physical Computing Resources Default Scheduler Replacement EMLS-ONC Scheduler Solution Optimal application assignment based on objective functions and constraints. 8/29

Problem formulation Input Scheduling J VMs requests on N geographically distributed hosts (NP hard) respecting the constraints Each VM can be affected to one and only one host. The host have to provide the total number of requirements requested (memory, CPU) by the VM to host the VM. Objectives Meet maximum client s requests while optimizing the energy consumption 9/29

Metrics (CMOS architectures) Energy Using always the combination of host that minimize the energy consumption Energy needed for the computation Energy required for cooling the host ( E c ) E = ( β + α f ) n e c ij i i 3 ij j ji Assumption (The higher the CPU frequency is, the more cooling energy is required ) CO2 Deducing the amount of CO2 emissions of each host of the cloud. CO = Etotal Taux 2 CO 2 10/29

CPU usage Vs Fan speed (cooling) Ex: AMD Cool n Quiet technology 11/29

Clouds Federation Geographically distributed cloud (OpenCirrus) 3 continents (America, Europe et Oceania) Location Co2 Rate Electricity price Cpu Alpha Cpu Beta Max Frequency Opt Frequency ( kg/kw h) ($/kw h) (Ghz) (Ghz) Nb processor New York, USA 0.389 0.15 65 7.5 1.8 1.630324 2050 Pennsylvania, USA 0.574 0.09 75 5 1.8 1.8 2600 California, USA 0.275 0.13 60 60 2.4 0.793701 650 Ohio, USA 0.817 0.09 75 5.2 2.4 1.93201 540 North Carolina, USA 0.563 0.07 90 4.5 3.0 2.154435 600 Texas, USA 0.664 0.1 105 6.5 3.0 2.00639 350 France 0.083 0.17 90 4.0 3.2 2.240702 200 Australia 0.924 0.11 105 4.4 3.2 2.285084 250 CO2 rate Department Of Energy (DOE) Electricity price Energy Information Administration (EIA) 12/29

High-level template of S-metaheuristics Main common concept of metaheuristics Representation Objective function Constraint satisfaction Common concepts for S-metaheuristics Neighborhood, very large neighborhoods Initial solution Incremental evaluation of neighbors EMETTEUR - NOM DE LA PRESENTATION Metaheuristics E-G. Talbi 00 MOIS 2011-13

Scheduling Approach Each scheduling cycle Updated list of VMs Filtering out incompatible hosts Affecting compatible hosts to each VM Updated list of hosts Launching the Multi-start Launching LS 1 Launching LS 2 Launching LS n Solution of LS 1 Solution of LS 2 Solution of LS n Best scheduling Dispatching the VMs and updating hosts states according to the best solution n: Min number of hosts and 20 14/29

Local Search Initial solution Local search LS 1 iterations Neighborhood size 2 5 0 1 6 0 6 4 7 6 5 0 VM s host list 1 3 4 5 6 7 9 10 11 12 5 0 1 6 1 0 0 4 3 7 Value of the VM id Value of the cell: representing the host on which the VM will be assigned The encoding of a solution The neighborhood operator is a switch of the hosts of each VM (exhaustive, random) 15/29

Escaping from local optima Metaheuristics E-G. Talbi

Experiments Experiment parameters VM and host features generation, to fit the OpenNebula parser (XML format ). Random generation of the VM requirements: 1- The execution time in the interval [1,10] hours. 2- The processor requirement from [0.5,9]. 3- The memory needs from [1,3] GBs. Different types of hosts, changing each time their features randomly. 1- The number of cores generated between [1,24] cores. 2- The memory capacity from [2,24] GB. 3- The CPU speed from [1,3] Ghz. 4- The number of VMs already running on it [0,10]. One scheduling cycle run (30sec), to compare the ability of both algorithms to handle a big number of VMs requests at the same time and their processing time. 4 VM arrival rates (1, 10, 40, 100) VMs. 4 cloud sizes (5, 80, 320, 1280) machines. 17/29

Comparison No previous energy aware scheduler on OpenNebula Cloud Manger to compare with. Comparison done with the default OpenNebula scheduler. Greedy OpenNebula scheduler VM pool size VM id 0 VM host list 5 0 1 6 2 6 4 9 6 5 0 5 4 1 6 1 0 0 4 3 0 Found assignment For each VM, takes the first host that satisfies the VM requirements. 18/29

Results (1) # VMs Energy Time 19/29

Results (2) 20 cycles 10 mn 5 VMs-20 Hosts 5 VMs-20 Hosts 25000000 100 Energy Consumption 20000000 15000000 10000000 5000000 Opennebula Scheduler EMLS-ONC Scheduler Time 10 1 0,1 0,01 0,001 1 3 5 7 9 11 13 15 17 19 EMLS-ONC Scheduling Time Scheduling Cycle Limit 0 1 3 5 7 9 11 13 15 17 19 Scheduling Cycle 0,0001 Scheduling Cycle 100 VMs-1280 Hosts 100 VMs-1280 Hosts 250000000 100 Energy Consumption 200000000 150000000 100000000 50000000 Opennebula Scheduler EMLS-ONC Scheduler Time 10 EMLS-ONC Scheduling Time Scheduling Cycle Limit 0 1 3 5 7 9 11 13 15 17 19 Scheduling Cycle 1 1 3 5 7 9 11 13 15 17 19 Scheduling Cycle 20/29

Results (3) Scheduling Success Rate Improvement The improvement compared to the default OpenNebula s scheduler concerning the number of scheduled VMs is 2.75%. Energy Improvement The total energy consumption of the distributed cloud have been reduced on average by 28.6%. Scheduler s time processing Scheduling cycle 30 sec. EMLS-ONC maximum scheduling time 24.3 sec (5 s in average). 21/29

Conclusion We presented a new scheduler for the cloud manager OpenNebula using a multi-start local search algorithm to minimize the energy consumption. The energy saving of our approach exploits the disparity and the differences in the features of the hosts that compose the distributed cloud. Our approach satisfies the clients QoS by assigning the maximum VMs. EMLS-ONC gives a higher rate of scheduled VMs compared with the default OpenNebula scheduler. EMLS-ONC allows an improvement of the energy consumption. EMLS-ONC never override the scheduling cycle time. 22/29

Perspectives Use Grid5000 as a test bed cloud for our next experiments. (Done, interesting preliminary results) Validate the simulation Propose a better energy reduction by including other energy consumption resources like memory and hard drives. Integrate dynamicity in the scheduler for a real time VM s Reallocation (VM migration). Deploy our approach on the EGI production grid and benefit from the geographical dispersion offered by Europe to reduce the energy consumption. Source: EGI Source: G5K 23/29

Perspectives (2) A multi-objective scheduler to generate non-dominated Pareto solutions (Cost of energy, CO2 emission, ). f 2 Pareto set f 1 Where f1 is the energy criterion and f2 the VM performance. Energy criterion can be decomposed in : Cost of energy, Green aspects CO2 emission, cooling, 24/29

Thank you for your attention 25/29