Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and...

30
Distributed Energy Efficient Clouds over Core Optical Networks Ahmed Q. Lawey, Taisir El-Gorashi and Jaafar M. H. Elmirghani School of Electronic and Electrical Engineering, University of Leeds, United Kingdom

Transcript of Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and...

Page 1: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

Distributed Energy Efficient Clouds over Core Optical Networks

Ahmed Q. Lawey, Taisir El-Gorashi and Jaafar M. H. Elmirghani

School of Electronic and Electrical Engineering, University of Leeds, United Kingdom

Page 2: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

Introduction • Cloud computing is expected to be the main factor that will dominate the future

Internet service model by offering the users network based rather than desktop based applications.

• Cloud computing elastic management and economic advantages come at the cost of increased concerns regarding privacy, availability and power consumption.

• Designing future energy efficient clouds requires the co-optimization of both external network and internal clouds resources.

• In this work we introduce a framework for designing energy efficient cloud computing services over IP/WDM core networks considering three cloud services: (i) cloud content delivery, (ii) storage as a service (StaaS), and (iii) virtual machines (VMs) applications.

• External network related factors: • Number of clouds • Location of clouds

• Internal cloud related factors: • Number of servers • Number of switches • Number of routers • Storage size

Page 3: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

• Energy Efficient Cloud Content Delivery

• Distributed vs. Centralised Content Delivery

• IP/WDM Power Consumption & Cloud Power Consumption

• Content Delivery MILP Model & Results

• DEER-CD Heuristic & Results

• Energy Efficient Storage as a Service (StaaS)

• StaaS Characteristics

• StaaS Model & Results

• Virtual Machine (VM) Placement for Energy Efficiency

• VM Placement Model & Results

• DEER-VM Heuristic & Results

• Summary

Outline

Page 4: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

→Energy Efficient Cloud Content Delivery

• Distributed vs. Centralised Content Delivery

• IP/WDM Power Consumption & Cloud Power Consumption

• Content Delivery MILP Model & Results

• DEER-CD Heuristic & Results

• Energy Efficient Storage as a Service (StaaS)

• StaaS Characteristics

• StaaS Model & Results

• Virtual Machine (VM) Placement for Energy Efficiency

• VM Placement Model & Results

• DEER-VM Heuristic & Results

• Summary

Outline

Page 5: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

5

Distributed vs. Centralised Content Delivery Energy Efficiency

We develop a MILP model for cloud content delivery in IP/WDM networks to answer whether centralised or distributed content delivery is the most energy efficient solution.

Given a particular client requests/demands, the model responds by deciding the optimum number of clouds that should be built and their location in the network as well as the capability of each cloud so that the total energy consumption is minimised.

1

2

6

5

10

4

3

78 9

11

12

14

13

Page 6: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

6

Definitions • Popularity group: Content requested with similar frequency by users is placed in a

popularity group.

• Zipf distribution: The Zipf popularity distribution for a stored object i is given by

0

0.05

0.1

0.15

0.2

0.25

1 2 3 4 5 6 7 8 9 1011121314151617181920212223242526272829303132333435363738394041424344454647484950

Popu

larit

y

Popularity Group ID

Zipf Distribution

𝑃 𝑖 = 𝜑𝑖�

where 𝑃 𝑖 is the relative popularity of object i and

𝜑 = �𝑖𝑁

𝑖=1

−1

Page 7: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

7

IP/WDM Power Consumption: Non-Bypass

Mux/Demux Amplifier Transponder

IP Layer

Optical Layer

Virtual Link

Physical Link

Optical Switch

IP Router

The total IP/WDM network power consumption is composed of:

IP/WDM Network

Page 8: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

8

Cloud Power Consumption

The total cloud power consumption is composed of:

Page 9: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

9

MILP Model for Content Delivery Objective: Minimize

Subject to (Including):

Traffic between Popularity Groups and Users

Page 10: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

10

Popularity group location

Cloud Location

MILP Model for Content Delivery

Page 11: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

Scenarios

Forcing Max Number of Clouds: Full Replication (MFR) No Replication (MNR) Popularity Based Replication (MPR)

Optimal Number of Clouds: Full Replication (OFR) No Replication (ONR) Popularity Based Replication (OPR)

Forcing Single Cloud: No Power Management (SNPM) Using Power Management (SPM)

1

2

6

5

10

4

3

78 9

11

12

14

13

?

1

2

6

5

10

4

3

78 9

11

12

14

13

1

2

6

5

10

4

3

78 9

11

12

14

13

?

With

Pow

er M

anag

emen

t

Page 12: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

12

MILP Model for Content Delivery

Power consumption of a router port Prp 1000 W Power consumption of transponder Pt 73 W

Power consumption of an optical switch in node i POi

85 W

Power consumption of EDFA Pe 8 W Power consumption of a Mux/Demux Pmd 16 W

No. of Wavelengths in a fiber W 16 Bit rate of each Wavelenght B 40 Gbps Span distance between EDFAs S 80 km Average client download rate Drate 5 Mbps Content Server Capacity CS_C 1.8 Gbps Content Server energy per bit CS_EPB 211.1W/Gbps Storage capacity S_C 378TB Storage power consumption S_PC 4.9KW Storage Utilization S_Utl 50%

Redundancy Red 2 Cloud switch power consumption Sw_PC 3.8KW Cloud switch capacity Sw_C 320Gbps Cloud router power consumption R_PC 5.1KW Cloud router capacity R_C 660Gbps

Cloud power usage effectiveness PUE_c 2.5 IP/WDM power usage effectiveness PUE_n 1.5

Number of popularity groups PGN 50

Input Parameters

• We assume number of users fluctuates between 200k and 1200k users in a day in our analysis.

• We analyse 50 popularity groups where the cloud storage is equally divided among the groups

Page 13: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

Models Power Consumption

0 2 4 6 8 10 12 14 16 18 20 220

1

2

3

4

5

6

x 105

Time (Hours)

Net

wo

rk P

ow

er C

on

sum

pti

on

(W

)

MFRMNRMPROFRONROPRSNPMSPM

Scenario Total Savings

Network Saving

OPR 40% 72%

MPR 40% 72%

OFR 37.5% 56.5%

SPM 36.5% 37%

ONR 36.5% 37%

MNR 36.4% 36.5%

MFR 25.5% 99.5%

0 2 4 6 8 10 12 14 16 18 20 220.5

1

1.5

2

2.5

3

3.5

4

x 106

Time (Hours)

Clo

ud

Po

wer

Co

nsu

mp

tio

n (

W)

MFRMNRMPROFRONROPRSNPMSPM

Network Power Consumption Cloud Power Consumption

Total power consumption

Page 14: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 2 3 4 5 6 7 8 9 10 11 12 13 141 12 23 34 45 56 67 78 89 9

10 1011 1112 1213 1314 1415 1516 1617 1718 1819 1920 2021 2122 2223 2324 2425 2526 2627 2728 2829 2930 3031 3132 3233 3334 3435 3536 3637 3738 3839 3940 4041 4142 4243 4344 4445 4546 4647 4748 4849 4950 50

Popularity Based Content Replication (OPR)

OPR Content Replication Scheme

Node ID

Popularity Group ID

t=6 t=22

Object replicated here

Object not replicated

02468

10121416

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50

Num

ber

of R

eplic

atio

ns

Popularity Group ID (1 - 50)

t=6t=22

0

10

20

30

40

50

60

1 2 3 4 5 6 7 8 9 10 11 12 13 14

Num

ber

of R

eplic

ated

G

roup

s

Node ID

t=6

t=22

0100200300400500600700800900

1 2 3 4 5 6 7 8 9 10 11 12 13 14

Num

ber

Of S

erve

rs

Node ID

t=6t=22

Page 15: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

DEER-CD Heuristic Phase 1:

Phase 2:

Page 16: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

0 2 4 6 8 10 12 14 16 18 20 22

1

1.5

2

2.5

3

3.5

4

4.5

x 106

Time (Hours)

Tot

al P

ower

Con

sum

ptio

n (W

)

SNPMOPROPR-Sim

0 2 4 6 8 10 12 14 16 18 20 22

0.5

1

1.5

2

2.5

3

3.5

4x 10

6

Time (Hours)

Clo

ud P

ower

Con

sum

ptio

n (W

)

SNPMOPROPR-Sim

0 2 4 6 8 10 12 14 16 18 20 22

1

2

3

4

5

6

x 105

Time (Hours)

Net

wor

k Po

wer

Con

sum

ptio

n (W

)

SNPMOPROPR-Sim

Scenario Total Savings

Network Saving

OPR 40% 72%

DEER-CD 40% 65%

DEER-CD Heuristic Power Consumption

Network Cloud

Total power consumption

Page 17: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

• Energy Efficient Cloud Content Delivery

• Distributed vs. Centralised Content Delivery

• IP/WDM Power Consumption & Cloud Power Consumption

• Content Delivery MILP Model & Results

• DEER-CD Heuristic & Results

→Energy Efficient Storage as a Service (StaaS)

• StaaS Characteristics

• StaaS Model & Results

• Virtual Machine (VM) Placement for Energy Efficiency

• VM Placement Model & Results

• DEER-VM Heuristic & Results

• Summary

Outline

Page 18: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

Energy Efficient Storage as a Service (StaaS)

StaaS Characteristics

• A special case of the content delivery service where only the owner or a very limited number of users can access the stored content.

• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage.

• Upon registration for StaaS, users are granted a certain size of free

storage. A DropBox for instance grants its users 2GB.

• Different users might have different levels of utilization of their StaaS drives

• Different users might have different documents access frequency.

• StaaS should achieve trade-off between serving content owners

directly from the central cloud and building clouds near to content owners.

Page 19: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

StaaS Modelling Subject to (Including):

Clouds locations

Serving users decision variable

Satisfying nodes demands Central cloud to users traffic

Clouds storage capacity

Inter-Clouds Traffic

Total traffic between nodes:

Page 20: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

• 1200 k users uniformly distributed among network nodes

• We compare three schemes: • Single Cloud • Optimal Clouds • 14 Clouds

• A two file sizes of 22.5 MB and 45 MB • A user storage quota of 2 GB • Users’ storage utilization is uniformly distributed

between 0.1 and 1. • Range of access frequencies considered (10 to

130 downloads per hour) • Optimal cloud scenario with the 45MB file

size saves about 48% of network power consumption compared to the single cloud scenario.

StaaS Results

Total power consumption

10

50

90130

0

500

1000

1500

2000

2500

3000

1 2 3 4 5 6 7 8 9 10 11 12 13 14

Sto

rage

Siz

e (T

B)

Power-on clouds storage size versus content access frequency (45 MB) file size

Power-on clouds storage size versus content access frequency (22.5 MB) file size

20

40

6080

100120

0500

10001500

2000

2500

3000

1 2 3 4 5 6 7 8 9 10 11 12 13 14

Sto

rage

Siz

e (T

B)

Page 21: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

• Energy Efficient Cloud Content Delivery

• Distributed vs. Centralised Content Delivery

• IP/WDM Power Consumption & Cloud Power Consumption

• Content Delivery MILP Model & Results

• DEER-CD Heuristic & Results

• Energy Efficient Storage as a Service (StaaS)

• StaaS Characteristics

• StaaS Model & Results

→Virtual Machine (VM) Placement for Energy Efficiency

• VM Placement Model & Results

• DEER-VM Heuristic & Results

• Summary

Outline

Page 22: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

• We develop a MILP model to optimise VM placement in IP/WDM networks.

1

2

6

5

10

4

3

78 9

11

12

14

13

Virtual Machine (VM) Placement for Energy Efficiency

• We study different schemes for VM placement: • Single cloud • Migration • Replication • Slicing

Page 23: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

23

MILP Model for VM Placement Objective: Minimize

Subject to (Including):

Virtual Machines demand

Assumptions: • We do not include the storage power consumption • VMs have workload proportional power consumption

Page 24: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

24

MILP Model & Results for VM Placement

Virtual Machines location

Cloud Location

Cloud Total Workload

Page 25: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

VMs Distribution Scheme at t=06:00

VMs Distribution Scheme at t=22:00

Input Parameters

MILP Model & Results for VM Placement

Page 26: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

26

MILP Model & Results for VM Placement

• The VM slicing scheme yields 25% and 76% total and network power savings.

Network Power Consumption Cloud Power Consumption

Total power consumption

Page 27: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

DEER-VM Heuristic

DEER-VM Heuristic Pseudo-code

Page 28: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

DEER-VM Heuristic

Scenario Total Savings Network Saving

VM-Slice-MILP 25% 76%

DEER-VM 24% 60%

Network Power Consumption Cloud Power Consumption

Total power consumption

Page 29: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

• Energy Efficient Cloud Content Delivery

• Distributed vs. Centralised Content Delivery

• IP/WDM Power Consumption & Cloud Power Consumption

• Content Delivery MILP Model & Results

• DEER-CD Heuristic & Results

• Energy Efficient Storage as a Service (StaaS)

• StaaS Characteristics

• StaaS Model & Results

• Virtual Machine (VM) Placement for Energy Efficiency

• VM Placement Model & Results

• DEER-VM Heuristic & Results

→Summary

Outline

Page 30: Distributed Energy Efficient Clouds over Core …...• Dropbox, Google Drive, Skydrive, iCloud, and Box are examples of cloud based storage. • Upon registration for StaaS, users

Summary • We have introduced three energy efficient cloud services, namely; Content Delivery, Storage as a

Service (StaaS) and Virtual Machines based applications. • A Mixed Integer Linear Programming (MILP) model was developed for this purpose to study network

related factors including the number and location of clouds in the network and the impact of demand, popularity and access frequency on the clouds placement, and cloud capability factors including the number of servers, switches and routers and amount of storage required at each cloud.

• Optimizing the cloud content delivery revels that replicating content into multiple clouds based on

content popularity is the optimum scheme to place content in core networks, resulting in 72% and 40% network and total power savings, respectively, compared to a power un-aware centralised content delivery scenario.

• We have developed an energy efficient content delivery heuristic, DEER-CD, based on the model

insights. Comparable power savings are achieved by the heuristic. • Results of the StaaS model show that migrating content according to its access frequency to serve

users locally saves 48% and 2% of the network and total power consumption respectively compared to serving content from a single central cloud for an average file size of 45MB. Limited total power savings are obtained for smaller file sizes.

• Optimizing the placement of VMs shows that slicing the VMs into smaller machines and placing them

near their users saves 76% and 25% of the network and total power, respectively compared to a single virtualised cloud scenario. Comparable power savings are obtained by placing VMs using a heuristic developed to mimic the model behaviour in real time (DEER-VM).