on modelling virtual machine consolidation to pseudo
play

On Modelling Virtual Machine Consolidation to Pseudo-Boolean - PowerPoint PPT Presentation

Introduction Related works Pseudo-Boolean Optimization PB formulation to Optimal VM consolidation Experiments Conclusion and Future Works On Modelling Virtual Machine Consolidation to Pseudo-Boolean Constraints Bruno Cesar Ribas 1 , 3 ,


  1. Introduction Related works Pseudo-Boolean Optimization PB formulation to Optimal VM consolidation Experiments Conclusion and Future Works On Modelling Virtual Machine Consolidation to Pseudo-Boolean Constraints Bruno Cesar Ribas 1 , 3 , Rubens Massayuki Suguimoto 2 , no 1 , Fabiano Silva 1 , Razer A. N. R. Monta˜ Luis C. E. de Bona 2 , Marcos Castilho 1 1 LIAMF - Laborat´ orio de Inteligˆ encia Artificial e M´ etodos Formais 2 LARSIS - Laborat´ orio de Redes e Sistemas Distribu´ ıdos Federal University of Paran´ a 3 Universidade Tecnol´ ogica Federal do Paran´ a - Campus Pato Branco IBERAMIA, 2012 Bruno, Rubens, Razer, Fabiano, Luis, Marcos On Modelling VM consolidation to PB Constraints

  2. Introduction Related works Pseudo-Boolean Optimization PB formulation to Optimal VM consolidation Experiments Conclusion and Future Works Summary Introduction 1 Related works 2 Pseudo-Boolean Optimization 3 PB formulation to Optimal VM consolidation 4 Experiments 5 Conclusion and Future Works 6 Bruno, Rubens, Razer, Fabiano, Luis, Marcos On Modelling VM consolidation to PB Constraints

  3. Introduction Related works Pseudo-Boolean Optimization PB formulation to Optimal VM consolidation Experiments Conclusion and Future Works Introduction Cloud Computing is a new paradigm of distributed computing that offers virtualized resources and services over the Internet. One of the service model offered by Clouds is Infrastructure-as-a-Service (IaaS) in which virtualized resource are provided as virtual machine (VM). Cloud providers use a large data centers in order to offer IaaS. Most of data center usage ranges from 5% to 10%. Bruno, Rubens, Razer, Fabiano, Luis, Marcos On Modelling VM consolidation to PB Constraints

  4. Introduction Related works Pseudo-Boolean Optimization PB formulation to Optimal VM consolidation Experiments Conclusion and Future Works Introduction(2) In order to maximaze the usage, a IaaS Cloud provider can apply server consolidation, or VM consolidation. Consolidation can increase workloads on servers from 50% to 85%, operate more energy efficiently and can save 75% of energy. Reallocating VM allow to shutdown physical servers, reducing costs (cooling and energy consumption), headcount and hardware management. Bruno, Rubens, Razer, Fabiano, Luis, Marcos On Modelling VM consolidation to PB Constraints

  5. Introduction Related works Pseudo-Boolean Optimization PB formulation to Optimal VM consolidation Experiments Conclusion and Future Works Related Works Optimal VM consolidation has been explored and solved using Linear Programming formulation and Distributed Algorithms approaches. Marzolla et al. presents a gossip-based distributed algorithm called V-Man. Each physical server (host) run V-Man with an Active and Passive threads. Active threads request a new allocation to each neighbor sending to them the number of VMs running. The Passive thread receives the number of VMs, calculate and decide if current node will pull or push the VMs to requested node. The algorithm iterate and quickly converge to an optimal consolidation, maximizing the number of idle hosts. Bruno, Rubens, Razer, Fabiano, Luis, Marcos On Modelling VM consolidation to PB Constraints

  6. Introduction Related works Pseudo-Boolean Optimization PB formulation to Optimal VM consolidation Experiments Conclusion and Future Works Related Works(2) Ferreto et. al. presents a Linear Programming formulation and add constraints to control VM migration on VM consolidation process. The migration control constraints uses CPU and memory to avoid worst performance when migration occurs. Bossche et. al. propose and analyze a Binary Integer Programming (BIP) formulation of cost-optimal computation to schedule VMs in Hydrid Clouds. The formulation uses CPU and memory constraints and the optimization is solved by Linear Programming . We introduce an artificial intelligence solution based on Pseudo-Boolean formulation to solve the problem of optimal VM consolidation. Bruno, Rubens, Razer, Fabiano, Luis, Marcos On Modelling VM consolidation to PB Constraints

  7. Introduction Related works Pseudo-Boolean Optimization PB formulation to Optimal VM consolidation Experiments Conclusion and Future Works A Pseudo-Boolean function in a straightforward definition is a function that maps Boolean values to a real number; PB constraints are more expressive than clauses (one PB constraint may replace an exponential number of clauses) A pseudo-Boolean instance is a conjunction of PB constraints Bruno, Rubens, Razer, Fabiano, Luis, Marcos On Modelling VM consolidation to PB Constraints

  8. Introduction Related works Pseudo-Boolean Optimization PB formulation to Optimal VM consolidation Experiments Conclusion and Future Works PBS (Pseudo Boolean Satisfaction) decide of the satisfiability of a conjunction of PB constraints PBO (Pseudo Boolean Optimization) find a model of a conjuction of PB constraints which optimizes one objective function � f = � minimize , i c i × x i with c i ∈ Z , x i ∈ B subject to the conjunction of constraints Bruno, Rubens, Razer, Fabiano, Luis, Marcos On Modelling VM consolidation to PB Constraints

  9. Introduction Related works Pseudo-Boolean Optimization PB formulation to Optimal VM consolidation Experiments Conclusion and Future Works The goal of our problem is to deploy K VMs { vm 1 . . . vm K } inside N hardwares { hw 1 . . . hw N } while minimizing the total number of active hardwares. Each VM vm i has an associated needs such as number of VCPU and amount of VRAM needed while each physical hardware hw j has an amount of available resources, number of CPU and available RAM. Bruno, Rubens, Razer, Fabiano, Luis, Marcos On Modelling VM consolidation to PB Constraints

  10. Introduction Related works Pseudo-Boolean Optimization PB formulation to Optimal VM consolidation Experiments Conclusion and Future Works In order to create the PB Constraints each hardware consists of two variables: hw ram tha relates the amount of RAM in hw i i hw proc that relates to the amount of CPU in hw i i Per hardware, a VM has 2 variables: vm ram · hw i to relate the VM vm j required amount of VRAM j vm ram to the hardware hw i amount of RAM j hw ram i vm proc · hw i relate the required VCPU vm proc to the amount j j of CPU available hw proc i The total amount of VM variables is 2 × N variables. Bruno, Rubens, Razer, Fabiano, Luis, Marcos On Modelling VM consolidation to PB Constraints

  11. Introduction Related works Pseudo-Boolean Optimization PB formulation to Optimal VM consolidation Experiments Conclusion and Future Works Our main objective is to minimize the amount of active hardware. This constraint is defined as: N � minimize : (1) hw i i =1 Each hw i is a Boolean variable that represents one hardware that, when True , represents that hw i is powered on and powered off otherwise. Bruno, Rubens, Razer, Fabiano, Luis, Marcos On Modelling VM consolidation to PB Constraints

  12. Introduction Related works Pseudo-Boolean Optimization PB formulation to Optimal VM consolidation Experiments Conclusion and Future Works To guarantee that the necessary amount of hardware is active we include two more constraints that implies that the amount of usable RAM and CPU must be equal or greater than the sum of resources needed by VM. N K � � RAM hw i · hw ram RAM vm j · vm ram ≥ (2) i j i =1 j =1 N K PROC hw i · hw proc PROC vm j · vm proc � � ≥ (3) i j i =1 j =1 Bruno, Rubens, Razer, Fabiano, Luis, Marcos On Modelling VM consolidation to PB Constraints

  13. Introduction Related works Pseudo-Boolean Optimization PB formulation to Optimal VM consolidation Experiments Conclusion and Future Works To limit the upper bound of hardwares, we add two constraints per host that limit: available RAM per hardware: This constraint dictates that the sum of needed ram of virtual machines must not exceed the total amount of ram available on the hardware, and it is illustrated in constraint 4; available CPU per hardware: This constraint dictates that the sum of VCPU must not exceed available CPU, and it is illustrated in constraint 5. � K � ∀ hw ram � ∈ hw ram RAM vm j · vm ram · hw i ≤ RAM hw i (4) i N j j =1 � K � ∀ hw proc ∈ hw proc � PROC vm j · vm proc · hw i ≤ PROC hw i (5) i N j j =1 Bruno, Rubens, Razer, Fabiano, Luis, Marcos On Modelling VM consolidation to PB Constraints

  14. Introduction Related works Pseudo-Boolean Optimization PB formulation to Optimal VM consolidation Experiments Conclusion and Future Works Finally we add one constraint per VM to guarantees that the VM is running in exactly one hardware. � N � ∀ vm i ∈ vm K vm proc · hw j · vm ram · hw j � · hw proc · hw ram = 1 j i i j j =1 (6) Bruno, Rubens, Razer, Fabiano, Luis, Marcos On Modelling VM consolidation to PB Constraints

  15. Introduction Related works Pseudo-Boolean Optimization PB formulation to Optimal VM consolidation Experiments Conclusion and Future Works With this model we have (2 × N + 2 × N × K ) variables and (2 + 2 × N + K ) constraints with one more constraint to minimize in our PB formula. Bruno, Rubens, Razer, Fabiano, Luis, Marcos On Modelling VM consolidation to PB Constraints

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend