• No results found

Dynamic Resource Allocation in Clouds: Smart Placement with Live Migration

N/A
N/A
Protected

Academic year: 2021

Share "Dynamic Resource Allocation in Clouds: Smart Placement with Live Migration"

Copied!
23
0
0

Loading.... (view fulltext now)

Full text

(1)

Dynamic Resource Allocation in

Clouds: Smart Placement with Live

Migration

Makhlouf Hadji

Ingénieur de Recherche [email protected]

(2)

FONDATION DE COOPERATION SCIENTIFIQUE

(3)

NOS VALEURS

E

xcellence

-

Talents

-

Résultats

-

Echanges

S

ouplesse

-

Fonctionnement

-

Partenariat

-

Projets

R

igueur

-

Propriété Intellectuelle

-

Confidentialité

-

Exécution

(4)

PROGRAMMES DE R&D

4

(5)

PROJETS R&D

Projets opérationnels depuis le lancement

Projets Opérationnels M€ Financement Industriel

9

15,5

ETP/an sur 3 ans Partenaires Industriels Partenaires Académiques

110

42

12

Thèses

29

(6)
(7)

Smart Placement in Clouds

Define the best strategy to place VMs workloads leading to optimally reduce infrastructure costs.

ESX 1 ESX 2… ESX N

Infrastructure servers

???

Cloud End-Users VMs demand management VMs placement strategy Problem: Based on allocating and hosting N VMs on a physical

infrastructure of X Serveurs, what is the best manner to optimally place workloads to minimize different infrastructure costs ?

Benefits

 Resources optimization,

 Minimization of infrastructure costs,

 Energy consumption optimization.

VM Placement problem

ESX 1 ESX 2… ESX N

Non optimal placement

ESX 1 ESX 2… ESX N

Optimal placement

Challenges of the problem:

(8)

Smart Placement in Clouds

French Providers Point of View

(9)

Smart Placement in Clouds

ESX 1 ESX 2… ESX N

Infrastructure serveurs Utilisateurs des services Cloud Gestion de la demande de VM Forcasting & Scheduling s m al l large

Due to fluctuations in

users’ demands, we

use Auto-Regressive

(AR(k)) process, to

handle with future

demands:

Problem Complexity :

NP-Hard Problem: One can construct easily a plynomial reduction from the NP-Hard notary problem of the Bin-Packing. t i t k i i t

d

d

1

(10)

Smart Placement in Clouds

Mathematical formulation:

10

Formulation as ILP:

The corresponding mathematical model is an Integer Linear Programming: difficulties to characterize the convex hull of the considered problem and the optimal solution.





    

else.

0

i

server

in

hosted

is

VM

if

1

,

,

,

,

1

,

,

:

To

Subject

min

1 1 1 1 1 j ij ij j N i ij ij ij ij N i I j N i I j ij j ij ij

y

j

i

N

x

I

j

d

x

N

i

I

j

y

C

x

x

P

y

Z

(11)

Smart Placement in Clouds

Minimum Cost Maximum Flow Algorithm

S

T

(2; 0,23)

Instance i

(12)

Smart Placement in Clouds

Minimum Cost Maximum Flow Algorithm

12

S

T

(2; 0,23) Small Instance (2; 0,23) Medium Instance

(13)

Smart Placement in Clouds

Simulation Tests: Case of (0;1) Random Costs

We consider (0; 1) Random hosting costs between each couple of vertices (a, b), where a is a fictif node, and b is a physical machine (server).

(14)

Smart Placement in Clouds

Simulations Tests: Case of Inverse Hosting Costs:

14

Inverse Hosting Costs Scenario

We consider inversed hosting costs function between each couple of vertices (a, b), where a is a fictif node, and b is a physical machine:

Where represents the available capacity on the considered arc. est une fonction non nulle.

ab ab ab ab

C

g

C

f

g

if

0

,

otherwise

)

(

1

ab

C

f

(15)
(16)

Live Migration of VMs

Migration process:

16

ESX

Xen

KVM

Hyper-V

(17)

Polytops, faces and facets

facets

face

c

j

x

j

M in

a

ij

x

j

b

i

,

i

1

,...,

m

Subject To constraints:

 

i

n

x

i

0

,

1

,

1

,...,

*

x

Live Migration of VMs

Polyhedral Approachs 1 1

x

2 2

x

(18)

Live Migration of VMs

Decision Variables:

if

A VM k is migrated from i to j (0 else).

Prevent backword migration of a VM:

Server’s destination uniqueness of a VM migration:

Servers’ power consumption limitation constraints:

Etc…

Polyhedral Approachs

18

Some Valid Inequalities of our Problem:

1

ijk

Z

1

'

jlk ijk

Z

Z

1

' , 1

  m i j j ijk

Z

j j current



j

ijk m i k qi k

y

p

p

z

p



 

1

, max , ' 1 1

(19)

Live Migration of VMs

Polyhedral Approachs



 

 

  

            

idle

is

server

if

1

otherwise

0

j,

to

i

from

migrated

is

VM

if

1

'

1

1

'

,

,

'

,

1

,

,

1

'

,

,

1

,

'

,

,

,

1

,

1

:

To

Subject

'

max

0 ' 1 ,max ' 1 , ' 1 1 ' 1 1 , max , ' , 1 ' ' 1 ' 1 ' 1 1 ,

i

y

z

T

t

z

P

P

m

y

y

q

z

y

P

P

z

p

z

k

k

j

l

m

l

q

k

q

k

m

i

j

m

i

z

z

z

p

y

P

M

k ijk k ijk m i j m j cu rren t j i m j i i q k ijk m i q k j cu rren t j j ijk k m i j j ijk j i jlk ijk m i m i m j q k ijk k i id l i i i i

(20)

Live Migration of VMs

Polyhedral Approachs

20

(21)
(22)

Live Migration of VMs

Polyhedral Approachs

22

Percentage of Gained Energy when Migration is Used

5

10

15

20

25

30

10

35,55

36,59

00

00

00

00

20

27,29

34,00

35,23

38,50

00

00

30

17,48

27,39

35,21

40,32

41,89

36,65

40

16,77

18,85

22,02

32,31

39,90

40,50

50

10,86

16,17

19,85

22,30

39,20

36,52

60

08,63

14,29

18,01

22,13

25,15

30,68

70

08,10

14,00

14,86

15,90

22,91

23,20

80

07,01

10,20

10,91

15,34

17,02

21,60

90

06,80

09,32

10,31

14,70

16,97

19,20

100

05,90

07,50

08,40

12,90

16,00

14,97

(23)

References

Related documents

Hire exceptional communicators, employees and leaders who actively listen, people who ask good questions, individuals who are ethical, people who do not manipulate others to get

In the United States the limited nature of parental leave leads to a polarization in family decisions, with relatively well-o families able to either aord private child care or to

Specifically, in the algorithm in Algorithm 2, we keep track of the number of active movable intervals, den (density), and the number of free colors, cap (capacity).If the

and plausible. William Coates was the branch manager of American Futures Group's Irvine, California branch office,l./ and.. complainants' account executive. At that

transceiver temperature, laser bias current, transmitted optical power, received optical power and transceiver supply voltage.. It also defines a sophisticated system of alarm and

t_catch : contains information (weight, number caught etc) on all species caught at each station on a trip. t_subcatch : contains information for each subcatch of each species

Moreover, other aspects have to be considered in this process, such as actions that propel a culture in which knowledge management has to be linked to social values of