an energy aware framework for virtual machine placement in cloud federated data centres

19
Authors: Corentin Dupont (Create-Net); Giovanni Giuliani (HP Italy); Fabien Hermenier (INRIA); Thomas Schulze (Uni Mannheim); Andrey Somov (Create-Net) An Energy Aware Framework for Virtual Machine Placement in Cloud Federated Data Centres Corentin Dupont

Upload: fabien-hermenier

Post on 14-Jun-2015

106 views

Category:

Software


3 download

DESCRIPTION

Corentin Dupont, Thomas Schulze, Giovanni Giuliani, Andrey Somov, and Fabien Hermenier. In Proceedings of the 3rd International Conference on Future Energy Systems: Where Energy, Computing and Communication Meet (e-Energy '12). ACM, New York, USA. Full paper: http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=6221099

TRANSCRIPT

Page 1: An energy aware framework for virtual machine placement in cloud federated data centres

Authors: Corentin Dupont (Create-Net); Giovanni Giuliani (HP Italy); Fabien Hermenier (INRIA); Thomas Schulze (Uni Mannheim); Andrey Somov (Create-Net)

An Energy Aware Framework for Virtual Machine Placement in Cloud Federated

Data Centres Corentin Dupont

Page 2: An energy aware framework for virtual machine placement in cloud federated data centres

Presentation

ü  FIT4Green seeks energy saving policies for DCs, enhancing the effects inside a federation by an aggressive strategy for reducing the energy consumption in ICT

ü  We aim at reducing cost for companies è Strengthening competitive position

ü  FIT4Green needs to be DC framework agnostic: §  Demonstrated in Cloud computing, Traditional computing, Super

computing and Networking

Page 3: An energy aware framework for virtual machine placement in cloud federated data centres

Table of Contents

ü  Introduction

ü  Requirements

ü  Framework design

ü  SLA Constraints

ü  Power Objective Model

ü  Heuristics

ü  Experiments on Cloud Test-bed

ü  Scalability Evaluation

ü  Conclusion & Future work

Page 4: An energy aware framework for virtual machine placement in cloud federated data centres

The strategies are ranked through their Energy KPIs

Introduction

The policies seek to:

Consolidate application/services and turn unused servers off.

Relocate application/services to efficient servers

Page 5: An energy aware framework for virtual machine placement in cloud federated data centres

Single allocation Find the most energy efficient and suitable resource for a new Workload.

Global optimization Rearrange the resources in a way that saves maximum amount of energy or carbon emission.

Page 5

Introduction

Page 6: An energy aware framework for virtual machine placement in cloud federated data centres

Requirements

Abstracting out the constraints

•  Flexibility, extensibility •  Deep exploration of the search space

Page 7: An energy aware framework for virtual machine placement in cloud federated data centres

Framework Design

Page 8: An energy aware framework for virtual machine placement in cloud federated data centres

SLA CONSTRAINTS

SLA constraints flow

Page 9: An energy aware framework for virtual machine placement in cloud federated data centres

SLA CONSTRAINTS

SLA constraints examples

Category Constraint Approach LoC Hardware HDD Choco + ext. Entropy 121+(25)

CPUCores Entropy (‘fence’) 0+(25) CPUFreq Entropy (‘fence’) 0+(25) RAM Choco + ext. Entropy 123+(25)

GPUCores Entropy (‘fence’) 0+(25) GPUFreq Entropy (‘fence’) 0+(47) RAIDLevel Entropy (‘fence’) 0+(47)

QoS MaxCPULoad Choco + ext. Entropy 90+(25)

MaxVLoadPerCore Choco + ext. Entropy 109+(25)

MaxVCPUPerCore Choco + ext. Entropy 124+(25)

Bandwidth Entropy (‘fence’) 0+(49) MaxVMperServer Entropy (‘capacity’) 0+(25)

Availability PlannedOutages Choco + ext. Entropy Future Work

Availability Choco + ext. Entropy Future Work

Additional Metrics Dedicated Server Entropy (‘capacity’) 0 + (25)

Access Entropy (‘fence’) 0 + (25)

Page 10: An energy aware framework for virtual machine placement in cloud federated data centres

POWER OBJECTIVE MODEL

Total Reconf. Energy

Total Instant. Power Energy Migrations Energy On/Off

Power Servers Idle Power VMs Power Network

* Reconf Time

Power Calculator

Page 11: An energy aware framework for virtual machine placement in cloud federated data centres

HEURISTICS

Root node: no VM is allocated

First level node: VM1 allocated on S1

First level node: VM2 allocated on S1

First level node: VMx allocated on Sy

Leaf node: all VMs are allocated

Leaf node: all VMs are allocated Leaf node:

all VMs are allocated Leaf node: all VMs are allocated

At each level: call F4G branching heuristic. If a

constraint is broken, backtrack to go up.

At leaf level: note down the solution and the energy saved, then backtrack to find a

better solution.

First level node: VMx allocated on Sy First level node:

VMx allocated on Sy

Page 12: An energy aware framework for virtual machine placement in cloud federated data centres

Heuristics

Select VM on the least energy efficient server and least loaded server

Call the F4G VM selector

VM selected

Select Server which is the most energy efficient server and most loaded server

Call the F4G Server selector

Server selected

Select Server which is empty and the least energy efficient server

Call the F4G Server selector

Server selected

Composable heuristics

•  Candidate VM for migration

•  Target server for migration

•  Candidate Server for extinction

Page 13: An energy aware framework for virtual machine placement in cloud federated data centres

Heuritics

To sum up…

Page 14: An energy aware framework for virtual machine placement in cloud federated data centres

Experiments on Cloud Testbed

NodeController

NodeController

NodeController

NodeController

NodeController

NodeController

NodeController

ClusterController

Power andMonitoring

CollectorCluster

ControllerCloud

ControllerTask schedulerFIT4Green VMs

Blade Enclosure 1 Blade Enclosure 2

Lab trial ressources

Enclosure 1 Enclosure 2

Processor model Intel Xeon E5520

Intel Xeon E5540

CPU frequency 2.27GHz 2.53GHz

Cpu& Cores Dual cpu – Quad core

Dual cpu – Quad core

RAM 24 GB 24GB

•  DC1: 4 BL 460c blades using VMWare ESX v4.0 native hypervisor, 3 blades for Cluster and Cloud Control •  DC2: 3 BL460c blades using VMWare ESX v4.0 native hypervisor, 2 blades for Cluster Control and Power and Monitoring System.

Page 15: An energy aware framework for virtual machine placement in cloud federated data centres

Experiments on Cloud Testbed

Total number of active virtual machines during full week of work

Number of active VMs

Time

Active SLAs constraints: •  Max vCPU per core = 2 •  Min VM Slot = 3 •  Max VM Slot = 6

Lab trial Workload

Page 16: An energy aware framework for virtual machine placement in cloud federated data centres

Experiments on Cloud Testbed

Final test results for the various configurations

Configuration Data Centre 1

Data Centre 2

Energy for Federation

W i t h o u t FIT4Green

6350 Wh 4701 Wh 11051 Wh

W i t h F I T 4 G r e e n S t a t i c Allocation

5190 Wh 4009 Wh 9199 Wh Saving 16.7%

W i t h F I T 4 G r e e n D y n a m i c Allocation

5068 Wh 3933 Wh 9001 Wh Saving 18.5%

W i t h F I T 4 G r e e n O p t i m i z e d Policies

4860 Wh 3785 Wh 8645 Wh Saving 21.7%

Page 17: An energy aware framework for virtual machine placement in cloud federated data centres

Scalability Evaluation

# Configuration Placement constraints activated 1 1 datacenter none

2 1 datacenter with overbooking factor=2

“MaxVCPUPerCore” constraint set on each server

3 2 federated datacenters “Fence” constraint set on each VM

Page 18: An energy aware framework for virtual machine placement in cloud federated data centres

CONCLUSION & FUTURE WORK

ü  Energy aware resource allocation in datacenters ü  Flexibility & extensibility ü  Saves up to 18% in HP experiment ü  Scalability with parallel processing

ü  Future work: ü SLA re-negotiation ü Green SLAs

Page 19: An energy aware framework for virtual machine placement in cloud federated data centres