Stochastic Modeling and Approaches for Managing Energy Footprints - - PowerPoint PPT Presentation

stochastic modeling and approaches for managing energy
SMART_READER_LITE
LIVE PREVIEW

Stochastic Modeling and Approaches for Managing Energy Footprints - - PowerPoint PPT Presentation

Stochastic Modeling and Approaches for Managing Energy Footprints in Cloud Computing Service Siqian Shen Assistant Professor Industrial and Operations Engineering University of Michigan October 8, 2013 Shen, Wang (UMich) Cloud Computing


slide-1
SLIDE 1

Stochastic Modeling and Approaches for Managing Energy Footprints in Cloud Computing Service

Siqian Shen

Assistant Professor Industrial and Operations Engineering University of Michigan

October 8, 2013

Shen, Wang (UMich) Cloud Computing Service Management 1/30

slide-2
SLIDE 2

Emerging Trends of Cloud Computing (CC)

Source: www.cloudtweaks.com by David Fletcher

Shen, Wang (UMich) Cloud Computing Service Management 2/30

slide-3
SLIDE 3

CC Advantages: Reducing Carbon Emission

Source: Accenture (2010) “Cloud Computing and Sustainability: Environmental Benefits of Moving to the Cloud”

Shen, Wang (UMich) Cloud Computing Service Management 3/30

slide-4
SLIDE 4

How CC Works...

Source: www.veterangeek.com

Shen, Wang (UMich) Cloud Computing Service Management 4/30

slide-5
SLIDE 5

How CC Works...

Source: www.veterangeek.com

Shen, Wang (UMich) Cloud Computing Service Management 4/30

slide-6
SLIDE 6

Motivation Server Utilization in Google

Moreover, an idle server consumes 60%+ energy at full mode.

Shen, Wang (UMich) Cloud Computing Service Management 5/30

slide-7
SLIDE 7

Virtual Machine Consolidation

Large-scale servers with low utilization Consolidate the work to fewer Cloud servers

Source: Google’s official blog - Energy efficiency in the cloud.

Our data centers use 50% less energy than typical data centers through server (Virtual Machine) consolidation. — Google. Other benefits: more robust operations schedules more idle servers reacting to demand surges

Shen, Wang (UMich) Cloud Computing Service Management 6/30

slide-8
SLIDE 8

Our Work

Stochastic mixed-integer programming models to optimize energy footprints while ensure various Quality of Service (QoS) guarantees for managing servers in Cloud Computing service.

Shen, Wang (UMich) Cloud Computing Service Management 7/30

slide-9
SLIDE 9

Our Work

Stochastic mixed-integer programming models to optimize energy footprints while ensure various Quality of Service (QoS) guarantees for managing servers in Cloud Computing service. Estimate demand based on distributions of historical data, and dynamically consolidate or distribute jobs on servers through

  • perational scheduling.

Shen, Wang (UMich) Cloud Computing Service Management 7/30

slide-10
SLIDE 10

Our Work

Stochastic mixed-integer programming models to optimize energy footprints while ensure various Quality of Service (QoS) guarantees for managing servers in Cloud Computing service. Estimate demand based on distributions of historical data, and dynamically consolidate or distribute jobs on servers through

  • perational scheduling.

Vary QoS levels by using joint/multiple chance constraints, to bound chances of job delay and incompleteness.

Shen, Wang (UMich) Cloud Computing Service Management 7/30

slide-11
SLIDE 11

Our Work

Stochastic mixed-integer programming models to optimize energy footprints while ensure various Quality of Service (QoS) guarantees for managing servers in Cloud Computing service. Estimate demand based on distributions of historical data, and dynamically consolidate or distribute jobs on servers through

  • perational scheduling.

Vary QoS levels by using joint/multiple chance constraints, to bound chances of job delay and incompleteness.

Shen, Wang (UMich) Cloud Computing Service Management 7/30

slide-12
SLIDE 12

Outline of Our Research

Formulations: Stochastic & Chance-Constrained Programs Algorithms: the Benders Decomposition and Heuristics Computational Design Result Analyses Conclusions and Future Research

Shen, Wang (UMich) Cloud Computing Service Management 8/30

slide-13
SLIDE 13

Model 1: No Backlogging Parameter

Nm set of servers in a data center

Shen, Wang (UMich) Cloud Computing Service Management 9/30

slide-14
SLIDE 14

Model 1: No Backlogging Parameter

Nm set of servers in a data center Ω set of finite scenarios for realizing uncertain demand

Shen, Wang (UMich) Cloud Computing Service Management 9/30

slide-15
SLIDE 15

Model 1: No Backlogging Parameter

Nm set of servers in a data center Ω set of finite scenarios for realizing uncertain demand T total number of time periods considered ℓt length of period t (in hours) for all t = 1, . . . , T

Shen, Wang (UMich) Cloud Computing Service Management 9/30

slide-16
SLIDE 16

Model 1: No Backlogging Parameter

Nm set of servers in a data center Ω set of finite scenarios for realizing uncertain demand T total number of time periods considered ℓt length of period t (in hours) for all t = 1, . . . , T

  • dt

random job requests (demand) received at period t

Shen, Wang (UMich) Cloud Computing Service Management 9/30

slide-17
SLIDE 17

Model 1: No Backlogging Parameter

Nm set of servers in a data center Ω set of finite scenarios for realizing uncertain demand T total number of time periods considered ℓt length of period t (in hours) for all t = 1, . . . , T

  • dt

random job requests (demand) received at period t

Shen, Wang (UMich) Cloud Computing Service Management 9/30

slide-18
SLIDE 18

Model 1: No Backlogging Formulation

min:

T

  • t=1
  • i∈Nm

(giyt

i + vixt i + fizt i)

(1a) s.t.

  • i∈Nm

eiℓtxt

i ≥

dt ∀1 ≤ t ≤ T (1b) ℓtxt

i + siyt i ≤ ℓtzt i

∀i ∈ Nm, 1 ≤ t ≤ T (1c) y1

i ≥ z1 i

∀i ∈ Nm (1d) yt

i ≥ zt i − zt−1 i

∀i ∈ Nm, 2 ≤ t ≤ T (1e) 0 ≤ xt

i ≤ 1

∀i ∈ Nm, 1 ≤ t ≤ T (1f) yt

i, zt i ∈ {0, 1}

∀i ∈ Nm, 1 ≤ t ≤ T (1g)

The basic model consolidates demand on severs to minimize the total energy consumed by all servers over t = 1, . . . , T.

Shen, Wang (UMich) Cloud Computing Service Management 10/30

slide-19
SLIDE 19

Model 1: No Backlogging Formulation

min:

T

  • t=1
  • i∈Nm

(giyt

i + vixt i + fizt i)

(1a) s.t.

  • i∈Nm

eiℓtxt

i ≥

dt ∀1 ≤ t ≤ T (1b) ℓtxt

i + siyt i ≤ ℓtzt i

∀i ∈ Nm, 1 ≤ t ≤ T (1c) y1

i ≥ z1 i

∀i ∈ Nm (1d) yt

i ≥ zt i − zt−1 i

∀i ∈ Nm, 2 ≤ t ≤ T (1e) 0 ≤ xt

i ≤ 1

∀i ∈ Nm, 1 ≤ t ≤ T (1f) yt

i, zt i ∈ {0, 1}

∀i ∈ Nm, 1 ≤ t ≤ T (1g)

giyt

i:

energy used for booting machine i at period t. yt

i ∈ {0, 1}:

= 1 if server i is switched to “on” at period t.

Shen, Wang (UMich) Cloud Computing Service Management 10/30

slide-20
SLIDE 20

Model 1: No Backlogging Formulation

min:

T

  • t=1
  • i∈Nm

(giyt

i + vixt i + fizt i)

(1a) s.t.

  • i∈Nm

eiℓtxt

i ≥

dt ∀1 ≤ t ≤ T (1b) ℓtxt

i + siyt i ≤ ℓtzt i

∀i ∈ Nm, 1 ≤ t ≤ T (1c) y1

i ≥ z1 i

∀i ∈ Nm (1d) yt

i ≥ zt i − zt−1 i

∀i ∈ Nm, 2 ≤ t ≤ T (1e) 0 ≤ xt

i ≤ 1

∀i ∈ Nm, 1 ≤ t ≤ T (1f) yt

i, zt i ∈ {0, 1}

∀i ∈ Nm, 1 ≤ t ≤ T (1g)

vixt

i:

energy for job processing in machine i at period t. xt

i ≥ 0:

percentage of server i’s capacity used at period t.

Shen, Wang (UMich) Cloud Computing Service Management 10/30

slide-21
SLIDE 21

Model 1: No Backlogging Formulation

min:

T

  • t=1
  • i∈Nm

(giyt

i + vixt i + fizt i)

(1a) s.t.

  • i∈Nm

eiℓtxt

i ≥

dt ∀1 ≤ t ≤ T (1b) ℓtxt

i + siyt i ≤ ℓtzt i

∀i ∈ Nm, 1 ≤ t ≤ T (1c) y1

i ≥ z1 i

∀i ∈ Nm (1d) yt

i ≥ zt i − zt−1 i

∀i ∈ Nm, 2 ≤ t ≤ T (1e) 0 ≤ xt

i ≤ 1

∀i ∈ Nm, 1 ≤ t ≤ T (1f) yt

i, zt i ∈ {0, 1}

∀i ∈ Nm, 1 ≤ t ≤ T (1g)

fizt

i:

energy used at “idle” of machine i at period t. zt

i ∈ {0, 1}:

= 1 if server i is “idle” at period t.

Shen, Wang (UMich) Cloud Computing Service Management 10/30

slide-22
SLIDE 22

Model 1: No Backlogging Formulation

min:

T

  • t=1
  • i∈Nm

(giyt

i + vixt i + fizt i)

(1a) s.t.

  • i∈Nm

eiℓtxt

i ≥

dt ∀1 ≤ t ≤ T (1b) ℓtxt

i + siyt i ≤ ℓtzt i

∀i ∈ Nm, 1 ≤ t ≤ T (1c) y1

i ≥ z1 i

∀i ∈ Nm (1d) yt

i ≥ zt i − zt−1 i

∀i ∈ Nm, 2 ≤ t ≤ T (1e) 0 ≤ xt

i ≤ 1

∀i ∈ Nm, 1 ≤ t ≤ T (1f) yt

i, zt i ∈ {0, 1}

∀i ∈ Nm, 1 ≤ t ≤ T (1g)

Computational time allocated to each period t is no less than the random demand dt.

Shen, Wang (UMich) Cloud Computing Service Management 10/30

slide-23
SLIDE 23

Model 1: No Backlogging Formulation

min:

T

  • t=1
  • i∈Nm

(giyt

i + vixt i + fizt i)

(1a) s.t.

  • i∈Nm

eiℓtxt

i ≥

dt ∀1 ≤ t ≤ T (1b) ℓtxt

i + siyt i ≤ ℓtzt i

∀i ∈ Nm, 1 ≤ t ≤ T (1c) y1

i ≥ z1 i

∀i ∈ Nm (1d) yt

i ≥ zt i − zt−1 i

∀i ∈ Nm, 2 ≤ t ≤ T (1e) 0 ≤ xt

i ≤ 1

∀i ∈ Nm, 1 ≤ t ≤ T (1f) yt

i, zt i ∈ {0, 1}

∀i ∈ Nm, 1 ≤ t ≤ T (1g)

If dt is discretely distributed,

Shen, Wang (UMich) Cloud Computing Service Management 10/30

slide-24
SLIDE 24

Model 1: No Backlogging Formulation

min:

T

  • t=1
  • i∈Nm

(giyt

i + vixt i + fizt i)

(1a) s.t.

  • i∈Nm

eiℓtxt

i ≥ max ω∈Ω dtω

∀1 ≤ t ≤ T (1b) ℓtxt

i + siyt i ≤ ℓtzt i

∀i ∈ Nm, 1 ≤ t ≤ T (1c) y1

i ≥ z1 i

∀i ∈ Nm (1d) yt

i ≥ zt i − zt−1 i

∀i ∈ Nm, 2 ≤ t ≤ T (1e) 0 ≤ xt

i ≤ 1

∀i ∈ Nm, 1 ≤ t ≤ T (1f) yt

i, zt i ∈ {0, 1}

∀i ∈ Nm, 1 ≤ t ≤ T (1g)

If dt is discretely distributed, and let dtω represent a realization of dt in scenario ω ∈ Ω, reformulate (1b) as a set of deterministic constraints

Shen, Wang (UMich) Cloud Computing Service Management 10/30

slide-25
SLIDE 25

Model 1: No Backlogging Formulation

min:

T

  • t=1
  • i∈Nm

(giyt

i + vixt i + fizt i)

(1a) s.t.

  • i∈Nm

eiℓtxt

i ≥ max ω∈Ω dtω

∀1 ≤ t ≤ T (1b) ℓtxt

i + siyt i ≤ ℓtzt i

∀i ∈ Nm, 1 ≤ t ≤ T (1c) y1

i ≥ z1 i

∀i ∈ Nm (1d) yt

i ≥ zt i − zt−1 i

∀i ∈ Nm, 2 ≤ t ≤ T (1e) 0 ≤ xt

i ≤ 1

∀i ∈ Nm, 1 ≤ t ≤ T (1f) yt

i, zt i ∈ {0, 1}

∀i ∈ Nm, 1 ≤ t ≤ T (1g)

The total “on” time of server i at period t is no less than computational time plus the time of booting the server (if there is any).

Shen, Wang (UMich) Cloud Computing Service Management 10/30

slide-26
SLIDE 26

Model 1: No Backlogging Formulation

min:

T

  • t=1
  • i∈Nm

(giyt

i + vixt i + fizt i)

(1a) s.t.

  • i∈Nm

eiℓtxt

i ≥ max ω∈Ω dtω

∀1 ≤ t ≤ T (1b) ℓtxt

i + siyt i ≤ ℓtzt i

∀i ∈ Nm, 1 ≤ t ≤ T (1c) y1

i ≥ z1 i

∀i ∈ Nm (1d) yt

i ≥ zt i − zt−1 i

∀i ∈ Nm, 2 ≤ t ≤ T (1e) 0 ≤ xt

i ≤ 1

∀i ∈ Nm, 1 ≤ t ≤ T (1f) yt

i, zt i ∈ {0, 1}

∀i ∈ Nm, 1 ≤ t ≤ T (1g)

Server i is “on” at period 1 if we switch it to “on.”

Shen, Wang (UMich) Cloud Computing Service Management 10/30

slide-27
SLIDE 27

Model 1: No Backlogging Formulation

min:

T

  • t=1
  • i∈Nm

(giyt

i + vixt i + fizt i)

(1a) s.t.

  • i∈Nm

eiℓtxt

i ≥ max ω∈Ω dtω

∀1 ≤ t ≤ T (1b) ℓtxt

i + siyt i ≤ ℓtzt i

∀i ∈ Nm, 1 ≤ t ≤ T (1c) y1

i ≥ z1 i

∀i ∈ Nm (1d) yt

i ≥ zt i − zt−1 i

∀i ∈ Nm, 2 ≤ t ≤ T (1e) 0 ≤ xt

i ≤ 1

∀i ∈ Nm, 1 ≤ t ≤ T (1f) yt

i, zt i ∈ {0, 1}

∀i ∈ Nm, 1 ≤ t ≤ T (1g)

If server i is “off” at t − 1 but “on” at t, then it means that server i is switched to “on” at period t

Shen, Wang (UMich) Cloud Computing Service Management 10/30

slide-28
SLIDE 28

Model 2: Backlogging with Penalty Setup I

GOAL: Minimize energy consumption of all servers over 1, . . . , T + the expected penalty cost of backlogging. Allow backlogging such that Job (j, t) can be partitioned and processed on multiple servers, at any time that is no more than L periods after period t (“time of submission”).

Shen, Wang (UMich) Cloud Computing Service Management 11/30

slide-29
SLIDE 29

Model 2: Backlogging with Penalty Setup II

Define Sets: B1(t): backlogging periods such that if t = 1, . . . , T − L, then B1(t) = t, . . . , t + L; if t = T − L + 1, . . . , T, then B1(t) = t, . . . , T. B2(t): possible periods for submitting jobs due at t, such that if t ≤ L, then B2(t) = 1, . . . , t; if t = L + 1, . . . , T, then B2(t) = t − L, . . . , t. Additional Parameter: Nc: Set of user groups who submit computational demand.

  • dt

j: random job (j, t) submitted by user j at period t.

ptk

j : unit penalty of unfinished job (j, t) at period k, ∀k ∈ B1(t).

New Variables: utk

ji: percentage of ℓt for processing job (j, t) on server i in period k,

∀i ∈ Nm, j ∈ Nc, t = 1, . . . , T, and k ∈ B1(t). btkω

j

: unfinished job (j, t) at period k in scenario ω, ∀k ∈ B1(t) and ω ∈ Ω

Shen, Wang (UMich) Cloud Computing Service Management 12/30

slide-30
SLIDE 30

Model 2: Job-based with Backlogging Formulation

min:

T

  • t=1
  • i∈Nm

(giyt

i + vixt i + fizt i) +

  • ω∈Ω

ρω  

T

  • t=1
  • j∈Nc
  • k∈B1(t)

ptk

j btkω j

  s.t. (1c)–(1g) ⇒ Constraints from Model (1)

  • k∈B1(t)
  • i∈Nm

eiℓkutk

ji ≥

dt

j

∀j ∈ Nc, 1 ≤ t ≤ T (2a) xt

i ≥

  • k∈B2(t)
  • j∈Nc

ukt

ji

∀i ∈ Nm, 1 ≤ t ≤ T (2b) btkω

j

= max

  • 0, dtω

j

k

  • l=t
  • i∈Nm

eiℓlutl

ji

  • ∀j ∈ Nc, 1 ≤ t ≤ T, k ∈ B1(t), ω ∈ Ω

(2c) 0 ≤ utk

ji ≤ 1, btkω j

≥ 0. (2d)

ρω: the probability of scenario ω ∈ Ω ⇒ penalize unfinished job requests in the objective, and minimize the expected penalty.

Shen, Wang (UMich) Cloud Computing Service Management 13/30

slide-31
SLIDE 31

Model 2: Job-based with Backlogging Formulation

min:

T

  • t=1
  • i∈Nm

(giyt

i + vixt i + fizt i) +

  • ω∈Ω

ρω  

T

  • t=1
  • j∈Nc
  • k∈B1(t)

ptk

j btkω j

  s.t. (1c)–(1g) ⇒ Constraints from Model (1)

  • k∈B1(t)
  • i∈Nm

eiℓkutk

ji ≥ max ω∈Ω dtω j

∀1 ≤ t ≤ T (2a) xt

i ≥

  • k∈B2(t)
  • j∈Nc

ukt

ji

∀i ∈ Nm, 1 ≤ t ≤ T (2b) btkω

j

= max

  • 0, dtω

j

k

  • l=t
  • i∈Nm

eiℓlutl

ji

  • ∀j ∈ Nc, 1 ≤ t ≤ T, k ∈ B1(t), ω ∈ Ω

(2c) 0 ≤ utk

ji ≤ 1, btkω j

≥ 0. (2d)

dtω

j : the realization of

dt

j in scenario ω ∈ Ω ⇒ replace stochastic constraints

(2a) by equivalent deterministic constraints.

Shen, Wang (UMich) Cloud Computing Service Management 13/30

slide-32
SLIDE 32

Model 3: Backlogging with a Joint Chance Constraint

Relax Model (2) by allowing job incompleteness after L backlogging periods, however, bounded by a certain risk tolerance. That is, replace Constraint (2a)

  • k∈B1(t)
  • i∈Nm

eiℓkutk

ji ≥

dt

j

∀j ∈ Nc, 1 ≤ t ≤ T with P  

k∈B1(t)

  • i∈Nm

eiℓkutk

ji ≥

dt

j, ∀j ∈ Nc, 1 ≤ t ≤ T

  ≥ α

Shen, Wang (UMich) Cloud Computing Service Management 14/30

slide-33
SLIDE 33

Model 3: Backlogging with a Joint Chance Constraint

min:

T

  • t=1
  • i∈Nm

(giyt

i + vixt i + fizt i) +

  • ω∈Ω

ρω  

T

  • t=1
  • j∈Nc
  • k∈B1(t)

ptk

j btkω j

  s.t. (1c)–(1g) ⇒ Constraints from Model (1) (2b)–(2d) ⇒ Constraints from Model (2) P  

k∈B1(t)

  • i∈Nm

eiℓkutk

ji ≥

dt

j, ∀j ∈ Nc, 1 ≤ t ≤ T

  ≥ α

Shen, Wang (UMich) Cloud Computing Service Management 15/30

slide-34
SLIDE 34

Model 3: Backlogging with a Joint Chance Constraint

min:

T

  • t=1
  • i∈Nm

(giyt

i + vixt i + fizt i) +

  • ω∈Ω

ρω  

T

  • t=1
  • j∈Nc
  • k∈B1(t)

ptk

j btkω j

  s.t. (1c)–(1g) ⇒ Constraints from Model (1) (2b)–(2d) ⇒ Constraints from Model (2)

  • ω∈Ω

ρωζω ≤ 1 − α where, for each ω ∈ Ω, binary variables ζω = 1 if ∀j ∈ Nc, 1 ≤ t ≤ T, there exists at least one

  • k∈B1(t)
  • i∈Nm

eiℓkutk

ji < dtω j ,

and 0 otherwise.

Shen, Wang (UMich) Cloud Computing Service Management 15/30

slide-35
SLIDE 35

Model 3: Backlogging with a Joint Chance Constraint

min:

T

  • t=1
  • i∈Nm

(giyt

i + vixt i + fizt i) +

  • ω∈Ω

ρω  

T

  • t=1
  • j∈Nc
  • k∈B1(t)

ptk

j btkω j

  s.t. (1c)–(1g) ⇒ Constraints from Model (1) (2b)–(2d) ⇒ Constraints from Model (2)

  • ω∈Ω

ρωζω ≤ 1 − α

  • k∈B1(t)
  • i∈Nm

eiℓkutk

ji + M t jζω ≥ dtω j

∀ω ∈ Ω, j ∈ Nc, 1 ≤ t ≤ T ζω ∈ {0, 1} ∀ω ∈ Ω.

where M t

j is set as the maximal standard time for processing job (j, t), e.g.,

M t

j = maxω∈Ω dtω j , ∀j ∈ Nc, 1 ≤ t ≤ T.

Shen, Wang (UMich) Cloud Computing Service Management 15/30

slide-36
SLIDE 36

Model 4: Backlogging with Multiple Chance Constraints

Instead of a joint chance constraint P  

k∈B1(t)

  • i∈Nm

eiℓkutk

ji ≥

dt

j, ∀j ∈ Nc, 1 ≤ t ≤ T

  ≥ α, we formulate a series of job-based constraints, each of which is associated with a risk tolerance αt

j, for job (j, t), ∀j ∈ Nc and

1 ≤ t ≤ T. P  

k∈B1(t)

  • i∈Nm

eiℓkutk

ji ≥

dt

j

  ≥ αt

j

∀j ∈ Nc, 1 ≤ t ≤ T.

Shen, Wang (UMich) Cloud Computing Service Management 16/30

slide-37
SLIDE 37

Solution Algorithms

Computational challenges from: Large-Scale Time Intervals (1, . . . , T) Large Number of Users and Servers (|Nc| and |Nm|) Large Number of Scenarios (|Ω|) for Describing the Uncertainty ( ˜ d) Binary Server Operational Decisions (y and z)

Shen, Wang (UMich) Cloud Computing Service Management 17/30

slide-38
SLIDE 38

Benders Decomposition Example: Model 2

Shen, Wang (UMich) Cloud Computing Service Management 17/30

slide-39
SLIDE 39

A Heuristic Approach

Idea: fix schedules of a subset of servers. Then optimize schedules for the rest of servers using math modeling.

Shen, Wang (UMich) Cloud Computing Service Management 18/30

slide-40
SLIDE 40

A Heuristic Approach

We pre-determine a subset of servers’ schedule by setting x1

i = 1 − si/ℓt

∀i = 1, . . . , χ(1), xt

i = 1

∀2 ≤ t ≤ T, i = 1, . . . , χ−(t), xt

i = 1 − si/ℓt

∀2 ≤ t ≤ T, i = χ−(t) + 1, . . . , χ−(t) + χ+(t) if χ+(t) > 0, where for t = 1, . . . , T, χ(t) =

j∈Nc

max

ω∈Ω dtω j /ℓt

  • ,

χ−(t) = min{χ(t − 1), χ(t)}, and χ+(t) = max{χ(t) − χ(t − 1), 0}.

Shen, Wang (UMich) Cloud Computing Service Management 18/30

slide-41
SLIDE 41

Computational Design Parameters

|Nc| = 2 (two types of users) and |Nm| =5, 10, and 20. Set T = 24 hours. Average energy consumption of Off, Idle, Processing, and Booting for a 3.0 Ghz server to be, respectively, 0W, 150W, 250W, and 250W (i.e., vi = 100W, fi = 150W).

Shen, Wang (UMich) Cloud Computing Service Management 19/30

slide-42
SLIDE 42

Computational Design Benchmark

I = 10% I = 30% I = 50% E[T

t=1

dt] Bk E[T

t=1

dt] Bk E[T

t=1

dt] Bk Nm (hours) (kWh) (hours) (kWh) (hours) (kWh) 5 12 19.2 36 21.6 60 24 10 24 38.4 72 43.2 120 48 20 48 76.8 144 86.4 240 96 “I”: computational intensity E[T

t=1

dt] = I ∗ |Nm| ∗ 24 (hours) Bk: gives benchmark energy consumption (objective) by having servers first “on” then “idle.”

Shen, Wang (UMich) Cloud Computing Service Management 20/30

slide-43
SLIDE 43

Computational Design Benchmark

I = 10% I = 30% I = 50% E[T

t=1

dt] Bk E[T

t=1

dt] Bk E[T

t=1

dt] Bk Nm (hours) (kWh) (hours) (kWh) (hours) (kWh) 5 12 19.2 36 21.6 60 24 10 24 38.4 72 43.2 120 48 20 48 76.8 144 86.4 240 96 “I”: computational intensity E[T

t=1

dt] = I ∗ |Nm| ∗ 24 (hours) Bk: gives benchmark energy consumption (objective) by having servers first “on” then “idle.”

Shen, Wang (UMich) Cloud Computing Service Management 20/30

slide-44
SLIDE 44

Computational Design Demand Patterns

(a) Type 0 Demand Curve (b) Type 0 Job Demand Sample (c) Type 1 Demand Curve (d) Type 1 Job Demand Sample

Shen, Wang (UMich) Cloud Computing Service Management 21/30

slide-45
SLIDE 45

Computational Design Demand Patterns

(e) Type 2 Demand Curve (f) Type 3 Demand Curve (g) Type 4 Demand Curve (h) Type 5 Demand Curve

Types 0 ∼ 3 : Homogeneous. Types 4 & 5: Heterogeneous. Shen, Wang (UMich) Cloud Computing Service Management 22/30

slide-46
SLIDE 46

Computational Design

CPLEX 12.4 via ILOG Concert Technology with C++ HP Workstation Z210 with CPU 3.20 GHz and 8GB memory CPU time limits =1800 seconds for each instance Test five instances for each parameter combination

Shen, Wang (UMich) Cloud Computing Service Management 23/30

slide-47
SLIDE 47

Results of Model 1

I = 10% I = 30% I = 50% Nm Type Bk Oper Save Bk Oper Save Bk Oper Save 5 T0 19.2 4.9 75% 21.6 11.0 49% 24 17.1 29% T1 19.2 4.9 75% 21.6 11.0 49% 24 17.1 29% T2 19.2 4.9 74% 21.6 12.0 44% 24 17.3 28% T3 19.2 5.2 73% 21.6 11.7 46% 24

  • 10

T0 38.4 9.7 75% 43.2 22.0 49% 48 34.2 29% T1 38.4 8.2 79% 43.2 20.4 53% 48 32.7 32% T2 38.4 8.5 78% 43.2 22.2 49% 48 34.4 28% T3 38.4 7.3 81% 43.2 20.7 52% 48

  • 20

T0 76.8 15.9 79% 86.4 40.3 53% 96 64.9 32% T1 76.8 14.3 81% 86.4 38.8 55% 96 65.1 32% T2 76.8 14.8 81% 86.4 41.3 52% 96 67.4 30% T3 76.8 13.9 82% 86.4 40.9 53% 96

  • Shen, Wang (UMich)

Cloud Computing Service Management 24/30

slide-48
SLIDE 48

Results of Model 1

I = 10% I = 30% I = 50% Nm Type Bk Oper Save Bk Oper Save Bk Oper Save 5 T0 19.2 4.9 75% 21.6 11.0 49% 24 17.1 29% T1 19.2 4.9 75% 21.6 11.0 49% 24 17.1 29% T2 19.2 4.9 74% 21.6 12.0 44% 24 17.3 28% T3 19.2 5.2 73% 21.6 11.7 46% 24

  • 10

T0 38.4 9.7 75% 43.2 22.0 49% 48 34.2 29% T1 38.4 8.2 79% 43.2 20.4 53% 48 32.7 32% T2 38.4 8.5 78% 43.2 22.2 49% 48 34.4 28% T3 38.4 7.3 81% 43.2 20.7 52% 48

  • 20

T0 76.8 15.9 79% 86.4 40.3 53% 96 64.9 32% T1 76.8 14.3 81% 86.4 38.8 55% 96 65.1 32% T2 76.8 14.8 81% 86.4 41.3 52% 96 67.4 30% T3 76.8 13.9 82% 86.4 40.9 53% 96

  • Avg.

80% 50% 30%

Shen, Wang (UMich) Cloud Computing Service Management 24/30

slide-49
SLIDE 49

Results of Model 1 Recall...

Shen, Wang (UMich) Cloud Computing Service Management 24/30

slide-50
SLIDE 50

Results of Model 1

I = 10% I = 30% I = 50% Nm Type Bk Oper Save Bk Oper Save Bk Oper Save 5 T0 19.2 4.9 75% 21.6 11.0 49% 24 17.1 29% T1 19.2 4.9 75% 21.6 11.0 49% 24 17.1 29% T2 19.2 4.9 74% 21.6 12.0 44% 24 17.3 28% T3 19.2 5.2 73% 21.6 11.7 46% 24

  • 10

T0 38.4 9.7 75% 43.2 22.0 49% 48 34.2 29% T1 38.4 8.2 79% 43.2 20.4 53% 48 32.7 32% T2 38.4 8.5 78% 43.2 22.2 49% 48 34.4 28% T3 38.4 7.3 81% 43.2 20.7 52% 48

  • 20

T0 76.8 15.9 79% 86.4 40.3 53% 96 64.9 32% T1 76.8 14.3 81% 86.4 38.8 55% 96 65.1 32% T2 76.8 14.8 81% 86.4 41.3 52% 96 67.4 30% T3 76.8 13.9 82% 86.4 40.9 53% 96

  • Shen, Wang (UMich)

Cloud Computing Service Management 24/30

slide-51
SLIDE 51

Results of Model 1

Figure: Nm = 20, I = 50%, Type 3 Demand

Shen, Wang (UMich) Cloud Computing Service Management 24/30

slide-52
SLIDE 52

A Revisit of Models

Model (1):

  • i∈Nm

eiℓtxt

i ≥ max ω∈Ω dtω

∀1 ≤ t ≤ T. Model (2):

  • k∈B1(t)
  • i∈Nm

eiℓkutk

ji ≥ max ω∈Ω dtω j

∀1 ≤ t ≤ T. Model (3): P  

k∈B1(t)

  • i∈Nm

eiℓkutk

ji ≥

dt

j, ∀j ∈ Nc, 1 ≤ t ≤ T

  ≥ α. Model 4: P  

k∈B1(t)

  • i∈Nm

eiℓkutk

ji ≥

dt

j

  ≥ αt

j

∀j ∈ Nc, 1 ≤ t ≤ T.

Shen, Wang (UMich) Cloud Computing Service Management 25/30

slide-53
SLIDE 53

Energy Use in Models 1-4 (Nm = 20, I = 50%)

Unit penalty ptk

j = 100 for penalty case, ∀ j ∈ Nc, 1 ≤ t ≤ T, and k ∈ B1(t).

Shen, Wang (UMich) Cloud Computing Service Management 26/30

slide-54
SLIDE 54

Solution Approach Comparison

Model 1 Model 2 Type No. C-Total B-Time B-Total H-Time H-Total C-Total H-Time H-Total 1 64.24 17.10 64.24 2.37 64.42 64.56 43.51 64.65 2 64.21 10.67 64.21 2.36 64.39 64.52 11.84 64.53 T1 3 64.24 949.92 64.24 2.57 64.42 64.57 123.40 64.67 4 64.41 1827.52 64.41 2.40 64.43 64.62 22.17 64.69 5 64.21 28.88 64.21 2.59 64.38 64.50 14.35 64.55

Table: Nm = 20, I = 50%, and Five Instances

“C-”, solving Model (2) by directly solving its MIP. “B-”, employing Benders decomposition. “H-”, using the approximation approach.

Shen, Wang (UMich) Cloud Computing Service Management 27/30

slide-55
SLIDE 55

Solution Approach Comparison

Model 1 Model 2 Type No. C-Total B-Time B-Total H-Time H-Total C-Total H-Time H-Total 1 64.24 17.10 64.24 2.37 64.42 64.56 43.51 64.65 2 64.21 10.67 64.21 2.36 64.39 64.52 11.84 64.53 T1 3 64.24 949.92 64.24 2.57 64.42 64.57 123.40 64.67 4 64.41 1827.52 64.41 2.40 64.43 64.62 22.17 64.69 5 64.21 28.88 64.21 2.59 64.38 64.50 14.35 64.55

Table: Nm = 20, I = 50%, and Five Instances

The performance of the Benders approach varies among instances and is unstable.

Shen, Wang (UMich) Cloud Computing Service Management 27/30

slide-56
SLIDE 56

Solution Approach Comparison

Model 1 Model 2 Type No. C-Total B-Time B-Total H-Time H-Total C-Total H-Time H-Total 1 64.24 17.10 64.24 2.37 64.42 64.56 43.51 64.65 2 64.21 10.67 64.21 2.36 64.39 64.52 11.84 64.53 T1 3 64.24 949.92 64.24 2.57 64.42 64.57 123.40 64.67 4 64.41 1827.52 64.41 2.40 64.43 64.62 22.17 64.69 5 64.21 28.88 64.21 2.59 64.38 64.50 14.35 64.55

Table: Nm = 20, I = 50%, and Five Instances

For Model 2, the differences between H-Total and C-Total are within 0.3% gaps for all instances.

Shen, Wang (UMich) Cloud Computing Service Management 27/30

slide-57
SLIDE 57

Solution Approach Comparison

Model 1 Model 2 Type No. C-Total B-Time B-Total H-Time H-Total C-Total H-Time H-Total 1 64.24 17.10 64.24 2.37 64.42 64.56 43.51 64.65 2 64.21 10.67 64.21 2.36 64.39 64.52 11.84 64.53 T1 3 64.24 949.92 64.24 2.57 64.42 64.57 123.40 64.67 4 64.41 1827.52 64.41 2.40 64.43 64.62 22.17 64.69 5 64.21 28.88 64.21 2.59 64.38 64.50 14.35 64.55

Table: Nm = 20, I = 50%, and Five Instances

Shen, Wang (UMich) Cloud Computing Service Management 27/30

slide-58
SLIDE 58

Effects of Use Prioritization (Model 4)

98: αt

j = 98%, ∀j ∈ Nc; 1-96: αt 0 = 100%, αt 1 = 96%, ∀1 ≤ t ≤ T.

Shen, Wang (UMich) Cloud Computing Service Management 28/30

slide-59
SLIDE 59

Conclusions Key Results

Effectively managing energy footprints and QoS via stochastic

  • ptimization models.

Yield respective 80%, 50%, and 30% of energy savings for 10%, 30%, and 50% demand intensity regardless of demand patterns. Backlogging and chance constraints provide additional flexibility in server scheduling and reduce energy use. The Benders decomposition and the heuristic approach are faster and yield good results. User prioritization via multiple chance constraints can effectively reduce consumed energy.

Shen, Wang (UMich) Cloud Computing Service Management 29/30

slide-60
SLIDE 60

Thank You!

Questions?

Shen, Wang (UMich) Cloud Computing Service Management 30/30