SlideShare ist ein Scribd-Unternehmen logo
1 von 32
Downloaden Sie, um offline zu lesen
Energy-aware VM Allocation on An Opportunistic Cloud Infrastructure
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
Harold Castro, Mario Villamizar
(@mariocloud)
Department of Systems and Computing
Engineering
Universidad de los Andes
Colombia
Cesar Díaz, Johnatan Pecero,
Pascal Bouvry
Computer Science and Communications
Research Unit
University of Luxembourg
Luxembourg
THE PROBLEM
ENERGY IN AN OPPORTUNISTIC CLOUD ENVIRONMENT
ENERGY-AWARE TECHNIQUES
ALGORITHM TO CALCULATE THE ECR
EXPERIMENTAL RESULTS
CONCLUSIONS AND FUTURE WORK
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
THE PROBLEM
More than 2000 CPU cores
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
HOW UNACLOUD WORKS
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
HOW UNACLOUD WORKS
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
Ubuntu
with OGE
HOW UNACLOUD WORKS
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
Ubuntu
with OGE
VMs begin to process
jobs of the
bioinformatics cluster
HOW UNACLOUD WORKS
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
HOW UNACLOUD WORKS
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
Debian
with PBS
HOW UNACLOUD WORKS
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
Debian
with PBS
Ubuntu
with OGE
Both clusters are being executed
on the same physical/shared
commodity infrastructure.
HOW UNACLOUD WORKS
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
HOW UNACLOUD WORKS
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
THE PROBLEM
VM1 VM2 VM3 VM4
8 CPU Cores 8 CPU Cores 8 CPU Cores 8 CPU Cores
2 CPU Cores 2 CPU Cores 2 CPU Cores 2 CPU Cores
How to assign the Set of Virtual Machines (SVM) to the Set of Physical
Machines (SPM) trying to reduce the Energy Consumption?
Set of Virtual Machines (SVM)
Set of Physical Machines (SPM)
4. TURNED OFF2. BUSY1. IDLE
0% 10% 0% 0%
3. HIBERNATED
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
ENERGY IN AN OPPORTUNISTIC CLOUD ENVIRONMENT
T = Execution Time of a Task
f(x) = Function that return the ECR of a PM given its CPU used
ECRmon = ECR consumed by the monitor of the PM
ECRuser = ECR consumed by the user using a PM
ECRhib = ECR consumed by the PM whet it is hibernated
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
ENERGY IN AN OPPORTUNISTIC CLOUD ENVIRONMENT
f(x) = Function that return the ECR of a PM given its CPU used
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
ENERGY IN AN OPPORTUNISTIC CLOUD ENVIRONMENT
The best desktop machines to deploy a VM are those being used
(state 2), followed by the machines that are on idle (state 1),
hibernation (state 3) and turned off (state 4) state.
UnaCloud
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
A. Minimize the ECR using a
minimum set of Physical
Machines preferably in busy
state; increasing the
Execution Time of the
metatask (SVM) and executing
several VMs on a PM.
ENERGY-AWARE TECHNIQUES
B. Assign to each PM
(preferably in idle, hibernated
or turned off state) only one
VM, avoiding the penalty
caused by the execution of
multiple VMs on the same PM,
and increasing the ECR due to
more PMs are in execution.
REDUCE ECR RESULTS FASTER
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
We propose three resource allocation algorithms that consider the
following assumptions and goals:
 Reduce the ECR required to execute a metatask (SVMs).
 Several VMs can be executed on a PM.
 The assignation of VMs to PMs is made in batch mode.
 There are enough CPU cores to supports the CPU requirements
of the SVM.
 It is better to assign a VM to a PM with a user (busy state) or to a
PM (with available cores) that is already executing another VM
(busy state).
 Physical machines are homogeneous.
ENERGY-AWARE TECHNIQUES
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
VM1 VM2 VM3 VM4
8 CPU Cores 8 CPU Cores 8 CPU Cores 8 CPU Cores
2 CPU Cores 2 CPU Cores 2 CPU Cores 2 CPU Cores
Three different strategies/techniques were defined and tested to reduce
the ECR consumed by UnaCloud
Set of Virtual Machines (SVM)
Set of Physical Machines (SPM)
4. TURNED OFF2. BUSY1. IDLE
0% 10% 0% 0%
3. HIBERNATED
ENERGY-AWARE TECHNIQUES
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
1. CUSTOM ROUND ROBIN ALLOCATION
SVM in arbitrary order
• It does not consider the state of the PM.
• It does not use a minimum SPM.
• VMs with low requirements may be initially assigned to PMs with
large CPU capabilities (blocking VMs with larger requirements).
SPM in arbitrary order
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
2. SORTING VMS AND PMs TO MINIMIZE THE USE OF PMs
SVM descending ordered by cores required and execution time.
SPM ordered by (1) PMs running VMs, (2) PMs in busy state and (3)
PMs with more available CPU cores.
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
2. SORTING VMS AND PMs TO MINIMIZE THE USE OF PMs
 We identified that if VMs with
similar execution times are
executed on the same PMs
the ECR required to execute
the SVM is lower.
 Every PMs used to executed
the SVM will execute tasks at
peak capacity during a
similar period of time.
PM1 PM2
8 Cores 8 Cores
VM1
4 Cores
10 Hours
VM2
4 Cores
1 Hour
VM3
4 Cores
10.5 Hours
PM1 PM2
8 Cores 8 Cores
VM1
4 Cores
10 Hours
VM2
4 Cores
1 Hour
VM3
4 Cores
10.5 Hours
With Algorithm 2
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
 We identified that if VMs with
similar execution times are
executed on the same PMs
the ECR required to execute
the SVM is lower.
 Every PMs used to executed
the SVM will execute tasks at
peak capacity during a
similar period of time.
PM1 PM2
8 Cores 8 Cores
VM1
4 Cores
10 Hours
VM2
4 Cores
1 Hour
VM3
4 Cores
10.5 Hours
PM1 PM2
8 Cores 8 Cores
VM1
4 Cores
10 Hours
VM2
4 Cores
1 Hour
VM3
4 Cores
10.5 Hours
With Algorithm 3
3. EXECUTING VMS WITH SIMILAR EXECUTION TIME
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
3. EXECUTING VMS WITH SIMILAR EXECUTION TIME
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
ALGORITHM TO CALCULATE THE ECR
 This algorithm is used once the
scheduling process (using one of
the 3 previous algorithms) has
finished.
 The ECR consumed by every PM
is calculated based on the ECR of
each VM.
 The goal of this algorithm is to
calculate the total power
consumed by the VMs.
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
 We conduct experiments based on
simulations.
 We use workloads based on real
VMs production traces (collected
during one year).
 We consider that a given
percentage of PMs has a user
working on it.
 We vary the percentage of busy
machines from 10% up to 50%
with increments of 10%.
EXPERIMENTAL RESULTS
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
EXPERIMENTAL RESULTS
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
EXPERIMENTAL RESULTS
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
EXPERIMENTAL RESULTS
 On average Algorithm 2 and
Algorithm 3 save up to 36% of PMs
more than Algorithm 1 when only
10% of the PMs are busy by users.
 When the number of PMs with
users increases up to 50%,
Algorithm 2 and Algorithm 3
require 26% less PMs than RR.
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
EXPERIMENTAL RESULTS
 For the first scenario, the average
gain on ECR by Algorithm 2 is up
to 19% and up to 20% by
Algorithm 3.
 In scenario 2, Algorithm 2 and
Algorithm 3 save up to 29% and
30% more than Algorithm 1,
respectively.
 Algorithm 3 saves 2% more energy
in both scenarios than Algorithm
2.
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
 We developed and simulated
different energy-aware algorithms
to allow UnaCloud to operate in an
energy efficient way.
 We will implement the new
proposed algorithms on the
UnaCloud infrastructure.
 We will try more allocation
strategies that consider VMs
shared resources constraints that
can lead to performance
degradation on the quality of
service.
CONCLUSIONS AND FUTURE WORK
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
THANKS FOR YOUR ATTENTION!
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands
CONTACT INFORMATION
mj.villamizar24@uniandes.edu.co mjvc007@hotmail.com
@mariocloud
http://linkedin.com/in/mariojosevillamizarcano
Mario José Villamizar Cano
ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale
Distributed Systems (CCGrid 2013) – Delft, The Netherlands

Weitere ähnliche Inhalte

Was ist angesagt?

An optimized scientific workflow scheduling in cloud computing
An optimized scientific workflow scheduling in cloud computingAn optimized scientific workflow scheduling in cloud computing
An optimized scientific workflow scheduling in cloud computing
DIGVIJAY SHINDE
 

Was ist angesagt? (17)

An optimized scientific workflow scheduling in cloud computing
An optimized scientific workflow scheduling in cloud computingAn optimized scientific workflow scheduling in cloud computing
An optimized scientific workflow scheduling in cloud computing
 
GRID COMPUTING
GRID COMPUTINGGRID COMPUTING
GRID COMPUTING
 
Adaptive Digital Filter Design for Linear Noise Cancellation Using Neural Net...
Adaptive Digital Filter Design for Linear Noise Cancellation Using Neural Net...Adaptive Digital Filter Design for Linear Noise Cancellation Using Neural Net...
Adaptive Digital Filter Design for Linear Noise Cancellation Using Neural Net...
 
Cloud computing – partitioning algorithm
Cloud computing – partitioning algorithmCloud computing – partitioning algorithm
Cloud computing – partitioning algorithm
 
ITA: The Improved Throttled Algorithm of Load Balancing on Cloud Computing
ITA: The Improved Throttled Algorithm of Load Balancing on Cloud ComputingITA: The Improved Throttled Algorithm of Load Balancing on Cloud Computing
ITA: The Improved Throttled Algorithm of Load Balancing on Cloud Computing
 
A Review on Scheduling in Cloud Computing
A Review on Scheduling in Cloud ComputingA Review on Scheduling in Cloud Computing
A Review on Scheduling in Cloud Computing
 
Comparative Study of Neural Networks Algorithms for Cloud Computing CPU Sched...
Comparative Study of Neural Networks Algorithms for Cloud Computing CPU Sched...Comparative Study of Neural Networks Algorithms for Cloud Computing CPU Sched...
Comparative Study of Neural Networks Algorithms for Cloud Computing CPU Sched...
 
Energy efficiency in virtual machines allocation for cloud data centers with ...
Energy efficiency in virtual machines allocation for cloud data centers with ...Energy efficiency in virtual machines allocation for cloud data centers with ...
Energy efficiency in virtual machines allocation for cloud data centers with ...
 
Hybrid Task Scheduling Approach using Gravitational and ACO Search Algorithm
Hybrid Task Scheduling Approach using Gravitational and ACO Search AlgorithmHybrid Task Scheduling Approach using Gravitational and ACO Search Algorithm
Hybrid Task Scheduling Approach using Gravitational and ACO Search Algorithm
 
An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...
An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...
An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...
 
Green scheduling
Green schedulingGreen scheduling
Green scheduling
 
20 26
20 26 20 26
20 26
 
PROCESS OF LOAD BALANCING IN CLOUD COMPUTING USING GENETIC ALGORITHM
PROCESS OF LOAD BALANCING IN CLOUD COMPUTING USING GENETIC ALGORITHMPROCESS OF LOAD BALANCING IN CLOUD COMPUTING USING GENETIC ALGORITHM
PROCESS OF LOAD BALANCING IN CLOUD COMPUTING USING GENETIC ALGORITHM
 
CONFIGURABLE TASK MAPPING FOR MULTIPLE OBJECTIVES IN MACRO-PROGRAMMING OF WIR...
CONFIGURABLE TASK MAPPING FOR MULTIPLE OBJECTIVES IN MACRO-PROGRAMMING OF WIR...CONFIGURABLE TASK MAPPING FOR MULTIPLE OBJECTIVES IN MACRO-PROGRAMMING OF WIR...
CONFIGURABLE TASK MAPPING FOR MULTIPLE OBJECTIVES IN MACRO-PROGRAMMING OF WIR...
 
Modeling and Optimization of Resource Allocation in Cloud [PhD Thesis Progres...
Modeling and Optimization of Resource Allocation in Cloud [PhD Thesis Progres...Modeling and Optimization of Resource Allocation in Cloud [PhD Thesis Progres...
Modeling and Optimization of Resource Allocation in Cloud [PhD Thesis Progres...
 
A novel load balancing model for overloaded cloud
A novel load balancing model for overloaded cloudA novel load balancing model for overloaded cloud
A novel load balancing model for overloaded cloud
 
ICICCE0298
ICICCE0298ICICCE0298
ICICCE0298
 

Andere mochten auch

Energy efficient-resource-allocation-in-distributed-computing-systems
Energy efficient-resource-allocation-in-distributed-computing-systemsEnergy efficient-resource-allocation-in-distributed-computing-systems
Energy efficient-resource-allocation-in-distributed-computing-systems
Cemal Ardil
 
PROJECT REPORT_ONLINE VOTING SYSTEM
PROJECT REPORT_ONLINE VOTING SYSTEMPROJECT REPORT_ONLINE VOTING SYSTEM
PROJECT REPORT_ONLINE VOTING SYSTEM
Nandasaba Wilson
 

Andere mochten auch (7)

Assaf Schuster: Raas+Ginseng: resource allocation in the cloud
Assaf Schuster: Raas+Ginseng: resource allocation in the cloudAssaf Schuster: Raas+Ginseng: resource allocation in the cloud
Assaf Schuster: Raas+Ginseng: resource allocation in the cloud
 
ENERGY-EFFICIENT ADAPTIVE RESOURCE MANAGEMENT FOR REAL-TIME VEHICULAR CLOUD S...
ENERGY-EFFICIENT ADAPTIVE RESOURCE MANAGEMENT FOR REAL-TIME VEHICULAR CLOUD S...ENERGY-EFFICIENT ADAPTIVE RESOURCE MANAGEMENT FOR REAL-TIME VEHICULAR CLOUD S...
ENERGY-EFFICIENT ADAPTIVE RESOURCE MANAGEMENT FOR REAL-TIME VEHICULAR CLOUD S...
 
Energy efficient-resource-allocation-in-distributed-computing-systems
Energy efficient-resource-allocation-in-distributed-computing-systemsEnergy efficient-resource-allocation-in-distributed-computing-systems
Energy efficient-resource-allocation-in-distributed-computing-systems
 
Green cloud computing using heuristic algorithms
Green cloud computing using heuristic algorithmsGreen cloud computing using heuristic algorithms
Green cloud computing using heuristic algorithms
 
Green Cloud Computing
Green Cloud ComputingGreen Cloud Computing
Green Cloud Computing
 
Green cloud computing
Green cloud computingGreen cloud computing
Green cloud computing
 
PROJECT REPORT_ONLINE VOTING SYSTEM
PROJECT REPORT_ONLINE VOTING SYSTEMPROJECT REPORT_ONLINE VOTING SYSTEM
PROJECT REPORT_ONLINE VOTING SYSTEM
 

Ähnlich wie Energy-aware VM Allocation on An Opportunistic Cloud Infrastructure

Automated engineering of domain-specific metamorphic testing environments
Automated engineering of domain-specific metamorphic testing environmentsAutomated engineering of domain-specific metamorphic testing environments
Automated engineering of domain-specific metamorphic testing environments
Pablo Gómez Abajo
 
Modeling and real time digital simulation of microgrids for campuses Malta an...
Modeling and real time digital simulation of microgrids for campuses Malta an...Modeling and real time digital simulation of microgrids for campuses Malta an...
Modeling and real time digital simulation of microgrids for campuses Malta an...
nooriasukmaningtyas
 
The PowerMatcher - making the electricity grid smarter - Aldo Eisma
The PowerMatcher - making the electricity grid smarter - Aldo EismaThe PowerMatcher - making the electricity grid smarter - Aldo Eisma
The PowerMatcher - making the electricity grid smarter - Aldo Eisma
mfrancis
 

Ähnlich wie Energy-aware VM Allocation on An Opportunistic Cloud Infrastructure (20)

Dynamic energy-aware cloudlet-based mobile cloud computing model for green co...
Dynamic energy-aware cloudlet-based mobile cloud computing model for green co...Dynamic energy-aware cloudlet-based mobile cloud computing model for green co...
Dynamic energy-aware cloudlet-based mobile cloud computing model for green co...
 
sustentación tesis maestria Smart Grids.pptx
sustentación tesis maestria Smart Grids.pptxsustentación tesis maestria Smart Grids.pptx
sustentación tesis maestria Smart Grids.pptx
 
Automated engineering of domain-specific metamorphic testing environments
Automated engineering of domain-specific metamorphic testing environmentsAutomated engineering of domain-specific metamorphic testing environments
Automated engineering of domain-specific metamorphic testing environments
 
A Study on Task Scheduling in Could Data Centers for Energy Efficacy
A Study on Task Scheduling in Could Data Centers for Energy Efficacy A Study on Task Scheduling in Could Data Centers for Energy Efficacy
A Study on Task Scheduling in Could Data Centers for Energy Efficacy
 
A compact FPGA-based montgomery modular multiplier
A compact FPGA-based montgomery modular multiplierA compact FPGA-based montgomery modular multiplier
A compact FPGA-based montgomery modular multiplier
 
Runtime Methods to Improve Energy Efficiency in HPC Applications
Runtime Methods to Improve Energy Efficiency in HPC ApplicationsRuntime Methods to Improve Energy Efficiency in HPC Applications
Runtime Methods to Improve Energy Efficiency in HPC Applications
 
AI optimizing HPC simulations (presentation from 6th EULAG Workshop)
AI optimizing HPC simulations (presentation from  6th EULAG Workshop)AI optimizing HPC simulations (presentation from  6th EULAG Workshop)
AI optimizing HPC simulations (presentation from 6th EULAG Workshop)
 
Cloudsim & greencloud
Cloudsim & greencloud Cloudsim & greencloud
Cloudsim & greencloud
 
Modeling and real time digital simulation of microgrids for campuses Malta an...
Modeling and real time digital simulation of microgrids for campuses Malta an...Modeling and real time digital simulation of microgrids for campuses Malta an...
Modeling and real time digital simulation of microgrids for campuses Malta an...
 
Hc2512901294
Hc2512901294Hc2512901294
Hc2512901294
 
Hc2512901294
Hc2512901294Hc2512901294
Hc2512901294
 
A Survey on Low Power VLSI Designs
A Survey on Low Power VLSI Designs A Survey on Low Power VLSI Designs
A Survey on Low Power VLSI Designs
 
Container orchestration in geo-distributed cloud computing platforms
Container orchestration in geo-distributed cloud computing platformsContainer orchestration in geo-distributed cloud computing platforms
Container orchestration in geo-distributed cloud computing platforms
 
IRJET- Survey of Micro Grid Cost Reduction Techniques
IRJET-  	  Survey of Micro Grid Cost Reduction TechniquesIRJET-  	  Survey of Micro Grid Cost Reduction Techniques
IRJET- Survey of Micro Grid Cost Reduction Techniques
 
Cloudsim & Green Cloud
Cloudsim & Green CloudCloudsim & Green Cloud
Cloudsim & Green Cloud
 
Energy efficient resource allocation in cloud computing
Energy efficient resource allocation in cloud computingEnergy efficient resource allocation in cloud computing
Energy efficient resource allocation in cloud computing
 
itsc_final
itsc_finalitsc_final
itsc_final
 
FAST ALGORITHMS FOR UNSUPERVISED LEARNING IN LARGE DATA SETS
FAST ALGORITHMS FOR UNSUPERVISED LEARNING IN LARGE DATA SETSFAST ALGORITHMS FOR UNSUPERVISED LEARNING IN LARGE DATA SETS
FAST ALGORITHMS FOR UNSUPERVISED LEARNING IN LARGE DATA SETS
 
The PowerMatcher - making the electricity grid smarter - Aldo Eisma
The PowerMatcher - making the electricity grid smarter - Aldo EismaThe PowerMatcher - making the electricity grid smarter - Aldo Eisma
The PowerMatcher - making the electricity grid smarter - Aldo Eisma
 
Green cloud computing India
Green cloud computing IndiaGreen cloud computing India
Green cloud computing India
 

Mehr von Mario Jose Villamizar Cano

Mehr von Mario Jose Villamizar Cano (20)

Emprendimiento en internet y startups 2017
Emprendimiento en internet y startups 2017Emprendimiento en internet y startups 2017
Emprendimiento en internet y startups 2017
 
e-Clouds A Platform and Marketplace to Access and Publish Scientific Applicat...
e-Clouds A Platform and Marketplace to Access and Publish Scientific Applicat...e-Clouds A Platform and Marketplace to Access and Publish Scientific Applicat...
e-Clouds A Platform and Marketplace to Access and Publish Scientific Applicat...
 
Frameworks y herramientas de desarrollo ágil para emprendedores y startups
Frameworks y herramientas de desarrollo ágil para emprendedores y startupsFrameworks y herramientas de desarrollo ágil para emprendedores y startups
Frameworks y herramientas de desarrollo ágil para emprendedores y startups
 
Desarrollo de Soluciones Escalables de Software como Servicio (SaaS)
Desarrollo de Soluciones Escalables de Software como Servicio (SaaS)Desarrollo de Soluciones Escalables de Software como Servicio (SaaS)
Desarrollo de Soluciones Escalables de Software como Servicio (SaaS)
 
An Overview of Internet Startups and Entrepreneurship
An Overview of Internet Startups and EntrepreneurshipAn Overview of Internet Startups and Entrepreneurship
An Overview of Internet Startups and Entrepreneurship
 
Emprendimiento en Internet / Internet Startups
Emprendimiento en Internet / Internet StartupsEmprendimiento en Internet / Internet Startups
Emprendimiento en Internet / Internet Startups
 
e-Clouds: a SaaS Marketplace for Scientific Computing
e-Clouds: a SaaS Marketplace for Scientific Computinge-Clouds: a SaaS Marketplace for Scientific Computing
e-Clouds: a SaaS Marketplace for Scientific Computing
 
Cloud computing oportunidades para empresarios y emprendedores
Cloud computing oportunidades para empresarios y emprendedoresCloud computing oportunidades para empresarios y emprendedores
Cloud computing oportunidades para empresarios y emprendedores
 
CLOUD COMPUTING HOY: Todo como Servicio.
CLOUD COMPUTING HOY: Todo como Servicio.CLOUD COMPUTING HOY: Todo como Servicio.
CLOUD COMPUTING HOY: Todo como Servicio.
 
UnaCloud: Opportunistic Cloud Computing Infrastructure as a Service
UnaCloud: Opportunistic Cloud Computing Infrastructure as a ServiceUnaCloud: Opportunistic Cloud Computing Infrastructure as a Service
UnaCloud: Opportunistic Cloud Computing Infrastructure as a Service
 
Bio-UnaGrid: Easing bioinformatics workflow execution
Bio-UnaGrid: Easing bioinformatics workflow executionBio-UnaGrid: Easing bioinformatics workflow execution
Bio-UnaGrid: Easing bioinformatics workflow execution
 
Taxonomía de los modelos de entrega de servicios, despliegue y facturación en...
Taxonomía de los modelos de entrega de servicios, despliegue y facturación en...Taxonomía de los modelos de entrega de servicios, despliegue y facturación en...
Taxonomía de los modelos de entrega de servicios, despliegue y facturación en...
 
An Opportunistic Storage System for UnaGrid
An Opportunistic Storage System for UnaGridAn Opportunistic Storage System for UnaGrid
An Opportunistic Storage System for UnaGrid
 
BacteriumSimulatorGrid (BSGrid) - Tool for Simulating the Behavior of the Bac...
BacteriumSimulatorGrid (BSGrid) - Tool for Simulating the Behavior of the Bac...BacteriumSimulatorGrid (BSGrid) - Tool for Simulating the Behavior of the Bac...
BacteriumSimulatorGrid (BSGrid) - Tool for Simulating the Behavior of the Bac...
 
Una grid una solución oportunista para la HPC en colombia
Una grid una solución oportunista para la HPC en colombiaUna grid una solución oportunista para la HPC en colombia
Una grid una solución oportunista para la HPC en colombia
 
Infraestructura computacional: Computación en grid
Infraestructura computacional: Computación en gridInfraestructura computacional: Computación en grid
Infraestructura computacional: Computación en grid
 
APO1 - Presentacion nivel 6
APO1 - Presentacion nivel 6APO1 - Presentacion nivel 6
APO1 - Presentacion nivel 6
 
APO1 - Presentacion nivel 4
APO1 - Presentacion nivel 4APO1 - Presentacion nivel 4
APO1 - Presentacion nivel 4
 
APO2 - Presentacion nivel 10
APO2 - Presentacion nivel 10APO2 - Presentacion nivel 10
APO2 - Presentacion nivel 10
 
APO2 - Presentacion nivel 9
APO2 - Presentacion nivel 9APO2 - Presentacion nivel 9
APO2 - Presentacion nivel 9
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

Energy-aware VM Allocation on An Opportunistic Cloud Infrastructure

  • 1. Energy-aware VM Allocation on An Opportunistic Cloud Infrastructure ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands Harold Castro, Mario Villamizar (@mariocloud) Department of Systems and Computing Engineering Universidad de los Andes Colombia Cesar Díaz, Johnatan Pecero, Pascal Bouvry Computer Science and Communications Research Unit University of Luxembourg Luxembourg
  • 2. THE PROBLEM ENERGY IN AN OPPORTUNISTIC CLOUD ENVIRONMENT ENERGY-AWARE TECHNIQUES ALGORITHM TO CALCULATE THE ECR EXPERIMENTAL RESULTS CONCLUSIONS AND FUTURE WORK ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 3. THE PROBLEM More than 2000 CPU cores ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 4. HOW UNACLOUD WORKS ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 5. HOW UNACLOUD WORKS ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 6. Ubuntu with OGE HOW UNACLOUD WORKS ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 7. Ubuntu with OGE VMs begin to process jobs of the bioinformatics cluster HOW UNACLOUD WORKS ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 8. HOW UNACLOUD WORKS ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 9. Debian with PBS HOW UNACLOUD WORKS ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 10. Debian with PBS Ubuntu with OGE Both clusters are being executed on the same physical/shared commodity infrastructure. HOW UNACLOUD WORKS ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 11. HOW UNACLOUD WORKS ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 12. THE PROBLEM VM1 VM2 VM3 VM4 8 CPU Cores 8 CPU Cores 8 CPU Cores 8 CPU Cores 2 CPU Cores 2 CPU Cores 2 CPU Cores 2 CPU Cores How to assign the Set of Virtual Machines (SVM) to the Set of Physical Machines (SPM) trying to reduce the Energy Consumption? Set of Virtual Machines (SVM) Set of Physical Machines (SPM) 4. TURNED OFF2. BUSY1. IDLE 0% 10% 0% 0% 3. HIBERNATED ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 13. ENERGY IN AN OPPORTUNISTIC CLOUD ENVIRONMENT T = Execution Time of a Task f(x) = Function that return the ECR of a PM given its CPU used ECRmon = ECR consumed by the monitor of the PM ECRuser = ECR consumed by the user using a PM ECRhib = ECR consumed by the PM whet it is hibernated ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 14. ENERGY IN AN OPPORTUNISTIC CLOUD ENVIRONMENT f(x) = Function that return the ECR of a PM given its CPU used ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 15. ENERGY IN AN OPPORTUNISTIC CLOUD ENVIRONMENT The best desktop machines to deploy a VM are those being used (state 2), followed by the machines that are on idle (state 1), hibernation (state 3) and turned off (state 4) state. UnaCloud ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 16. A. Minimize the ECR using a minimum set of Physical Machines preferably in busy state; increasing the Execution Time of the metatask (SVM) and executing several VMs on a PM. ENERGY-AWARE TECHNIQUES B. Assign to each PM (preferably in idle, hibernated or turned off state) only one VM, avoiding the penalty caused by the execution of multiple VMs on the same PM, and increasing the ECR due to more PMs are in execution. REDUCE ECR RESULTS FASTER ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 17. We propose three resource allocation algorithms that consider the following assumptions and goals:  Reduce the ECR required to execute a metatask (SVMs).  Several VMs can be executed on a PM.  The assignation of VMs to PMs is made in batch mode.  There are enough CPU cores to supports the CPU requirements of the SVM.  It is better to assign a VM to a PM with a user (busy state) or to a PM (with available cores) that is already executing another VM (busy state).  Physical machines are homogeneous. ENERGY-AWARE TECHNIQUES ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 18. VM1 VM2 VM3 VM4 8 CPU Cores 8 CPU Cores 8 CPU Cores 8 CPU Cores 2 CPU Cores 2 CPU Cores 2 CPU Cores 2 CPU Cores Three different strategies/techniques were defined and tested to reduce the ECR consumed by UnaCloud Set of Virtual Machines (SVM) Set of Physical Machines (SPM) 4. TURNED OFF2. BUSY1. IDLE 0% 10% 0% 0% 3. HIBERNATED ENERGY-AWARE TECHNIQUES ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 19. 1. CUSTOM ROUND ROBIN ALLOCATION SVM in arbitrary order • It does not consider the state of the PM. • It does not use a minimum SPM. • VMs with low requirements may be initially assigned to PMs with large CPU capabilities (blocking VMs with larger requirements). SPM in arbitrary order ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 20. 2. SORTING VMS AND PMs TO MINIMIZE THE USE OF PMs SVM descending ordered by cores required and execution time. SPM ordered by (1) PMs running VMs, (2) PMs in busy state and (3) PMs with more available CPU cores. ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 21. 2. SORTING VMS AND PMs TO MINIMIZE THE USE OF PMs  We identified that if VMs with similar execution times are executed on the same PMs the ECR required to execute the SVM is lower.  Every PMs used to executed the SVM will execute tasks at peak capacity during a similar period of time. PM1 PM2 8 Cores 8 Cores VM1 4 Cores 10 Hours VM2 4 Cores 1 Hour VM3 4 Cores 10.5 Hours PM1 PM2 8 Cores 8 Cores VM1 4 Cores 10 Hours VM2 4 Cores 1 Hour VM3 4 Cores 10.5 Hours With Algorithm 2 ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 22.  We identified that if VMs with similar execution times are executed on the same PMs the ECR required to execute the SVM is lower.  Every PMs used to executed the SVM will execute tasks at peak capacity during a similar period of time. PM1 PM2 8 Cores 8 Cores VM1 4 Cores 10 Hours VM2 4 Cores 1 Hour VM3 4 Cores 10.5 Hours PM1 PM2 8 Cores 8 Cores VM1 4 Cores 10 Hours VM2 4 Cores 1 Hour VM3 4 Cores 10.5 Hours With Algorithm 3 3. EXECUTING VMS WITH SIMILAR EXECUTION TIME ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 23. 3. EXECUTING VMS WITH SIMILAR EXECUTION TIME ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 24. ALGORITHM TO CALCULATE THE ECR  This algorithm is used once the scheduling process (using one of the 3 previous algorithms) has finished.  The ECR consumed by every PM is calculated based on the ECR of each VM.  The goal of this algorithm is to calculate the total power consumed by the VMs. ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 25.  We conduct experiments based on simulations.  We use workloads based on real VMs production traces (collected during one year).  We consider that a given percentage of PMs has a user working on it.  We vary the percentage of busy machines from 10% up to 50% with increments of 10%. EXPERIMENTAL RESULTS ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 26. EXPERIMENTAL RESULTS ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 27. EXPERIMENTAL RESULTS ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 28. EXPERIMENTAL RESULTS  On average Algorithm 2 and Algorithm 3 save up to 36% of PMs more than Algorithm 1 when only 10% of the PMs are busy by users.  When the number of PMs with users increases up to 50%, Algorithm 2 and Algorithm 3 require 26% less PMs than RR. ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 29. EXPERIMENTAL RESULTS  For the first scenario, the average gain on ECR by Algorithm 2 is up to 19% and up to 20% by Algorithm 3.  In scenario 2, Algorithm 2 and Algorithm 3 save up to 29% and 30% more than Algorithm 1, respectively.  Algorithm 3 saves 2% more energy in both scenarios than Algorithm 2. ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 30.  We developed and simulated different energy-aware algorithms to allow UnaCloud to operate in an energy efficient way.  We will implement the new proposed algorithms on the UnaCloud infrastructure.  We will try more allocation strategies that consider VMs shared resources constraints that can lead to performance degradation on the quality of service. CONCLUSIONS AND FUTURE WORK ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 31. THANKS FOR YOUR ATTENTION! ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands
  • 32. CONTACT INFORMATION mj.villamizar24@uniandes.edu.co mjvc007@hotmail.com @mariocloud http://linkedin.com/in/mariojosevillamizarcano Mario José Villamizar Cano ExtremeGreen: Extreme Green & Energy Efficiency in Large Scale Distributed Systems (CCGrid 2013) – Delft, The Netherlands