energy efficient software defined networks...energy consumption of networks • in 2012,...

91
ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS Nicolas HUIN COATI and SigNet, I3S/Inria Supervisors: Frédéric Giroire & Dino Lopez 28 th September 2017

Upload: others

Post on 22-Sep-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

ENERGY EFFICIENT SOFTWARE DEFINED NETWORKSNicolas HUIN COATI and SigNet, I3S/Inria

Supervisors: Frédéric Giroire & Dino Lopez

28th September 2017

Page 2: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Energy consumption of Networks

• In 2012, communication networks consumed 330 TWh (4,6%)• 10% yearly growth (worldwide: 3%)

[Van Heddeghem et al., ‘14]

2Energy Efficient Software Defined Networks9/28/17

Page 3: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Reducing Network’s Power Consumption

• Device’s power consumption is not proportional to its load• Improving devices’ power proportionality [Nicollini et al, 12]

• Power off base station in mobile networks [Zhou et al, 09]

• Consolidation of Virtual Machines [Lin et al, 11]

• Energy Aware Routing (EAR)• Minimizing the number of active network devices:

ØOur approach

Energy Efficient Software Defined Networks 39/28/17

Page 4: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Energy Aware Routing (EAR)

4Energy Efficient Software Defined Networks

Path between:

A et D

F et C

A et E

Routing request while minimizing the number of active devices(routers and/or links)

9/28/17

FA

B

C

D

E

H

G

I

Page 5: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Energy Aware Routing (EAR)

5Energy Efficient Software Defined Networks

Path between:

A et D

F et C

A et E

Routing request while minimizing the number of active devices(routers and/or links)

9/28/17

FA

B

C

D

E

H

G

I

Shortest path routing

Page 6: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Energy Aware Routing (EAR)

6Energy Efficient Software Defined Networks

Path between:

A et D

F et C

A et E

9/28/17

FA

B

C

D

E

H

G

I

Routing request while minimizing the number of active devices(routers and/or links)

Page 7: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Energy Aware Routing (EAR)

7Energy Efficient Software Defined Networks

Path between:

A et D

F et C

A et E

9/28/17

FA

B

C

D

E

H

G

I

Routing request while minimizing the number of active devices(routers and/or links)

Energy Aware Routing

Page 8: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Legacy vs. Software Defined Networks (SDN)

8Energy Efficient Software Defined Networks9/28/17

Legacy network• Distributed control• Manual configuration

Controller

Control plane

Data plane

SDN network• Centralized control• Policies deployed by the controller

Page 9: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Network Function Virtualization (NFV)

Legacy networks implements network functions using expensivespecific hardware called middleboxes.

ØLimit adaptability to traffic (even with SDN)

Energy Efficient Software Defined Networks 9

The NFV initiative allows function to be run on general hardware usingVirtual Machines (VMs).

ØEnables greater flexibility (good for energy)

9/28/17

Page 10: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Goal of this thesis

Leveraging SDN and NFV for the deployment of Energy AwareRouting

Consider the new constraints of these paradigms

Tools• Linear Programming• Column Generation• Greedy Heuristics• SDN testbed (with SigNet team)

Energy Efficient Software Defined Networks 109/28/17

Page 11: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

SDN

During my thesis• Forwarding table constraints

• The Compression Problem (Chapter 3)• EAR with Compression (Chapter 4)• MINNIE (Chapter 5)

• Hybrid SDN networks: SENAtoR (Chapter 6)

11Energy Efficient Software Defined Networks

NFV • Service Function Chaining• Provisioning (Chapter 7)• Energy efficiency (Chapter 8)

P2P • Structured overlay for live video streaming• Homogeneous (Appendix 1)• Heterogeneous (Appendix 2)

9/28/17

GreedyILP

Testbed

Column Generation

Page 12: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

SOFTWARE DEFINED NETWORKSEnergy Aware Routing with Compression

12Energy Efficient Software Defined Networks9/28/17

Page 13: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Dest. IP (as in legacy network)Src. IPPort…

40 fields in OpenFlow 1.3

« The first day there was OpenFlow »

OpenFlow provides per flow routing (more complex)Rules stored in TCAM, power hungry and with limited size (1 to 3krules)

ØConstraints on the number of forwarding rules

Matching Rule Action

DROPFORWARD TO PORTENCAPSULATE & FORWARD…

13Energy Efficient Software Defined Networks9/28/17

The OpenFlow API was developed at Stanford [McKeown et al., 2008]

Page 14: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Related Work• Reduce OpenFlow rule size [Banerjee et al., 14], [Kannan et al, 13]

ØNot standard

• Eviction of rules

ØFrequent contact with the controller

• Spread the rules on the network (« One Big Switch » abstraction)

[Nguyen et al., ’15]

ØNot practical for forwarding rules

• Our contribution: Aggregation rules

Energy Efficient Software Defined Networks 149/28/17

Page 15: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

The Compression Problem

Flow Output port(1, 5) Port-4(2, 6) Port-6(1, ⇤) Port-6(⇤, 4) Port-4(⇤, ⇤) Port-5

Flow Output port(0, 4) Port-4(0, 5) Port-5(0, 6) Port-5(1, 4) Port-6(1, 5) Port-4(1, 6) Port-6(2, 4) Port-4(2, 5) Port-5(2, 6) Port-6

Prio

rity

Reduce the size of forwarding table using wildcard and default rules while maintaining the same routing

(NP-Hard) [Giroire et al., ‘15]

15Energy Efficient Software Defined Networks9/28/17

Page 16: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

The Compression Problem

Reduce the size of forwarding table using wildcard and default rulesBe careful about the order of the rules(1, *) then (*, 4) != (*, 4) then (1, *)

Flow Output port(1, 5) Port-4(2, 6) Port-6(1, ⇤) Port-6(⇤, 4) Port-4(⇤, ⇤) Port-5

16Energy Efficient Software Defined Networks9/28/17

Flow Output port(0, 4) Port-4(0, 5) Port-5(0, 6) Port-5(1, 4) Port-6(1, 5) Port-4(1, 6) Port-6(2, 4) Port-4(2, 5) Port-5(2, 6) Port-6

Prio

rity

Page 17: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Energy Aware Routing with Compression Problem (EARC)

17Energy Efficient Software Defined Networks

Input• Network G=(V, A)• Set of requests D, between si and ti and bandwidth di

• Link capacities Cuv

• Forwarding table capacities Cu

Output• Path for every request• Respect node and link capacities

GoalMinimize the total energy consumption of the network

9/28/17

Page 18: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Contributions

• ILP formulations• default rule only• default rule and wildcard rules

• Heuristic• Energy saving module

• Shutdown links• Routing module

• Find a weighted shortest path according to table and link usage• Compression module

• Reduce table at max capacity using wildcard rules (multiple solutions)

18Energy Efficient Software Defined Networks9/28/17

Havet, H, Moulierac, PhanAlgoTel’16

Page 19: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

SNDlib topologies

19Energy Efficient Software Defined Networks

atlanta (15 nodes, 22 links)

germany50 (50 nodes, 44 links)

http://sndlib.zib.de

9/28/17

ta2 (65 nodes, 81 links)

zib54 (54 nodes, 108 links)

Page 20: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Traffic estimation

Energy Efficient Software Defined Networks 20

0

0.2

0.4

0.6

0.8

1

0 5 10 15 20

Traf

fic [n

orm

aliz

ed]

Daily time (h)

D1D2

D3

D2

D4 D4D5

D3D3

0.3

0.4

0

0.6

0.8

1.0

0 5 10 15 20 24

• ISP traffic follows predictable patterns• Small granularity of period creates instability• Only a few configurations are sufficient [Araujo et al. ,2016]

9/28/17

Page 21: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Energy savings during the day

21

• Not always possible to route w/o aggregation rules• Aggregation rules enable energy savings close to classical EAR

Energy Efficient Software Defined Networks9/28/17

germany50 (50 nodes, 44 links) ta2 (65 nodes, 81 links)

Page 22: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

SDN IN PRACTICEMINNIE

22Energy Efficient Software Defined Networks9/28/17

Page 23: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

MINNIE: Compressing in data centers

23

Core

Aggregation

Access

level 0

Beacon Controller

HP

OVS

Energy Efficient Software Defined Networks

• Collaboration with the SigNet team

• HP SDN capable switch

• Impact of compression on packet’s delay and losses

9/28/17

Rifai, H, Caillouet, Giroire, Moulierac , Lopez, Urvoy-KellerGLOBECOM ’15, AlgoTel ’16, Computer Network

Page 24: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

MINNIE

24

Controller

CompressionNew Packet

Send corresponding rules and packet

Is limit reached?

Send compressed table

Routing

Energy Efficient Software Defined Networks9/28/17

Page 25: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Results: Ratio, losses & # compressions

Energy Efficient Software Defined Networks 259/28/17

• Average compression ratio >80% (at least 77%)

• Compression has no significant impact on losses

• Except when the threshold is too low

Compression

None at 500 at 1000 at 2000 when full

Average compression ratio - 83.21% 82.19% 81.55% 81.44%

Packet losses (%) 6.25 x 10-6 0.003 5.65 x 10-4 2.83 x 10-5 3.7 x 10-4

# compressions - 16 594 95 28 20

Page 26: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Results: Delay

Energy Efficient Software Defined Networks 269/28/17

• Compression adds no delay (if we forget the « 500 » threshold)

Ø Delayed compression

• Compression reduces the first packet delay

Ø Avoid installing rule if corresponding wildcard rule exists

Delay

Page 27: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

SDN IN PRACTICEEAR in hybrid networks

27Energy Efficient Software Defined Networks9/28/17

Page 28: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

SDN & Legacy Interaction

Energy Efficient Software Defined Networks 28

• All solutions and framework consider full SDN networks

• Progressive migration from legacy to SDN

• Cohabitation of SDN & legacy devices and protocols (e.g., OSPF)

For Energy Aware Routing:SDN devices shutdown Øfailure for legacy

9/28/17

Page 29: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Contributions

• Bring Energy Aware Routing closer to reality

• Smooth ENergy Aware Routing (SENAtoR)• Smooth link extinction• Backup tunnels for link shutdown• Traffic spike mitigation (link failure or flash crowd)• Heuristic for EAR with SDN and backup tunnel placement

Energy Efficient Software Defined Networks 299/28/17

H, Rifai, Giroire, Lopez, Urvoy-Keller, MoulieracGLOBECOM ’17

Page 30: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Results: Packet losses

Energy Efficient Software Defined Networks 309/28/17

• Same order of packet losses than legacy network

• Smooth extinction helps to mitigate packet losses

Page 31: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

NETWORK FUNCTION VIRTUALIZATION« À à à la queleuleu » ♪

31Energy Efficient Software Defined Networks9/28/17

Page 32: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

NFV & Energy Efficiency

Network functions implemented on specific hardware (middlebox)Ø Hard to move and, thus, adapt to traffic

With virtualization, functions can be executed on Virtual Machines (VM)Ø Enables greater flexibility (good for energy)

32Energy Efficient Software Defined Networks

Scenario Router NetworkFunction

Baseline Legacy MiddleboxHardware SDN MiddleboxNFV SDN NFV

9/28/17

Page 33: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Service Function Chains (SFC)

Service Chain: ordered chain of network functions to apply to flows on the network

33Energy Efficient Software Defined Networks

Video optimization

Deep packet inspection

Firewall

SFC A

SFC B

9/28/17

Page 34: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Example of Service Function Chains

34Energy Efficient Software Defined Networks

A

B

C

D

F

E

SFC A SFC BA to F A to EF to C

9/28/17

Page 35: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Energy Efficient SFC Placement

Input• Network G=(V, A)• Set of requests D

• between si and ti , bandwidth di and chain ci = (f0, f1, …, fk)• Link capacities Cuv• Node capacities Cu (e.g., number of available CPU cores,

memory)

35Energy Efficient Software Defined Networks

OutputPath and function placement for every requestRespect node and link capacities

GoalMinimize the total energy consumption of the network

9/28/17

Page 36: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Related Work

• SFC Placement• Heuristics with no performance guarantee• Partial and exact mathematical formulations

• Solve placement and routing independently. [Martini et al., 2015][Riggio et al., 2015]

• Small network or small number of requests. [Gupta et al., 2015] [Savi et al, 2015]

• Energy & Virtualization• Some works on NFV, not on SFC

36Energy Efficient Software Defined Networks9/28/17

Page 37: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Contributions

• Minimize:• Bandwidth and study impact of number of NFV nodes (near

optimal)• Energy consumption of links and nodes

• Find solutions for all-to-all traffic (10k requests) on networks up to 50 nodes.• Layered graph• Column generation model• Improving integrality gap with cuts

• Function replicas limit• GreenChains: ILP-Based heuristics

37Energy Efficient Software Defined Networks9/28/17

H, Jaumard, Giroire ICC 2017H, Tomassilli, Giroire ,Jaumard INOC 2017

Page 38: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Layered Graph

2

6 5

3

41

Request between 1 and 4 for SFC

38Energy Efficient Software Defined Networks

Propose an alternate way to find Service Path (path & placement of function)

9/28/17

Page 39: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Layered GraphRequest between 1 and 4 for service

2

6 5

3

41

2

6 5

3

41

2

6 5

3

41

• # layers = # functions + 1

• Link between layers gives the placement

• Link inside layers gives the routing

• Path from first to last layer

39Energy Efficient Software Defined Networks9/28/17

Page 40: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

One path per demand:X

p2P csd

y

pd = 1 (us, ud) 2 SD, c 2 Csd

Link capacity:X

d=(us,ud,c)2D

X

p2P csd

D

csd �

puv y

pd xuv C

link

uv (u, v) 2 A

Node capacity:X

d2D

X

p2P csd

D

csd

ncX

i=1

�fiapufi

!y

pd ku C

node

u u 2 V

ILP Formulation (CG-simple)

40Energy Efficient Software Defined Networks

minX

(u,v)2A

P

IDLEuv xuv

| {z }link switch

on energy

+X

(u,v)2A

X

p2P csd

puv

0

@X

d=(us,ud,c)2D

D

csd

C

link`

Pmax

uv

1

Ay

pd

| {z }link bandwidth energy

+X

u2V

Pu ku

| {z }node resource energy

Variables for • Link State: ON or OFF• Number of Active Cores per Node• Service Path: potential route for a request (path & placement)

Column generation on the Service Path variables

9/28/17

Page 41: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Generation of Service Path variables

Energy Efficient Software Defined Networks 41

Set of initial Service

Paths for each demand

Subproblem:Service Path Generator

(layered graph)

Optimal Fractional Solution

Solve restricted master problem

No improving Service Path

Column generation works on Linear Program

9/28/17

Page 42: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Generation of Service Path variables

Energy Efficient Software Defined Networks 42

Set of initial

Service Paths for

each demand

Service Path Generator(layered graph)

Optimal Fractional

Solution

Solve restricted problem

No improving Service Path

Column generation works on Linear Program

1. Transform LP to ILP2. Solve ILP

LP optimal value gives lower boundIntegrality gap (ratio LP-ILP) gives quality of ILP solution

9/28/17

Page 43: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Improving the gap: CG-cuts

43Energy Efficient Software Defined Networks9/28/17

Ø At least one link active per node

Ø Both arcs share the same state so minimum network is a tree

All to all traffic implies:

X

v2N+(u)

xuv � 1 u 2 V

X

(u,v)2A

xuv � n� 1

X

d=(us,ud,c)2D

X

p2P csd

D

csd �

puv y

pd xuv C

linkuv

Creates big gap

Page 44: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

xuv �X

p2P csd

puvy

pd 8(u, v) 2 A, d 2 D

X

p2P csd

ypd = 1 =)X

p2P csd

�puvy

pd 1

Improving the gap: CG-cut+

44Energy Efficient Software Defined Networks

X

d=(us,ud,c)2D

X

p2P csd

D

csd �

puv y

pd xuv C

linkuv

Creates big gap

Path p uses link (u, v)

9/28/17

For each demand, the sum of its paths is equal

Page 45: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Results: Integrality gap

45Energy Efficient Software Defined Networks

atlanta (15 nodes, 44 links) germany50 (50 nodes, 88 links)

• Both sets of cuts improve the integrality gap

• CG-cuts+ improve solution but not scalable

9/28/17

Page 46: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Results: Energy savings

46Energy Efficient Software Defined Networks

• Hardware (SDN+ middlebox) only provides 18 to 51% energy savings

• NFV (SDN+NFV) provides an extra 4 to 12%

atlanta (15 nodes, 44 links) germany50 (50 nodes, 88 links)

9/28/17

Page 47: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

In this thesis

• SDN• EARC

• Compression provides close savings to classic EAR• MINNIE: no noticeable impact on performance

• Hybrid networks• SENAtoR: Backup tunnels + Smooth extinction of links• EAR with no losses

• NFV & SFC• First scalable mathematical formulation• NFV helps to reduce energy consumption

Energy Efficient Software Defined Networks 479/28/17

Page 48: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Perspectives

Energy Efficient Software Defined Networks 48

• QoS/QoE, resiliency/reliability• currently working on SFC w/ protection

• Multiple controllers (placement, activation)

• SFC extensions• Partial order• Affinity

• PostDoc in Concordia, Montreal, Canada with Brigitte Jaumard

9/28/17

Thank you for your attention

Page 49: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Result: Ratio, losses & # compressions

Energy Efficient Software Defined Networks 499/28/17

Compression

None at 500 at 1000 at 2000 when full

Average compression ratio - 83.21% 82.19% 81.55% 81.44%

Packet losses (%) 6.25 x 10-6 0.003 5.65 x 10-4 2.83 x 10-5 3.7 x 10-4

# compressions - 16 594 95 28 20

• Average compression ratio >80% (at least 76%)

• Compression has no significant impact on losses

• Except when the threshold is too low

Page 50: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Hybrid Energy Aware Routing (hEAR)• Network G=(V, A)• Set of requests D, between si and ti with bandwidth di• Link capacities• Forwarding table capacities• SDN budget• OSPF next hops• Set of backup tunnels

Energy Efficient Software Defined Networks 50

Satisfy all requests (find a path) and minimize energyconsumptionwhile respecting link capacities using backup tunnels and kSDN nodes

PoP v

PoP u

PoP w

SDN PoPLegacy PoP

ru1

ru2ru3

rw2

rw1rw3

rv2

rv3rv1

9/28/17

Page 51: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

One path per demand:X

p2P csd

y

pd = 1 (us, ud) 2 SD, c 2 Csd

Link capacity:X

d=(us,ud,c)2D

X

p2P csd

D

csd �

puv y

pd xuv C

link

uv (u, v) 2 A

Node capacity:X

d2D

X

p2P csd

D

csd

ncX

i=1

�fiapufi

!y

pd ku C

node

u u 2 V

ILP Formulation (CG-simple)

51Energy Efficient Software Defined Networks

minX

(u,v)2A

P

IDLEuv xuv

| {z }link switch

on energy

+X

(u,v)2A

X

p2P csd

puv

0

@X

d=(us,ud,c)2D

D

csd

C

link`

Pmax

uv

1

Ay

pd

| {z }link bandwidth energy

+X

u2V

Pu ku

| {z }node resource energy

Variables for • Link State: ON or OFF• Number of Active Cores per Node• Service Path: potential route for a request (path & placement)

9/28/17

Page 52: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

One path per demand:X

p2P csd

y

pd = 1 (us, ud) 2 SD, c 2 Csd

Link capacity:X

d=(us,ud,c)2D

X

p2P csd

D

csd �

puv y

pd xuv C

link

uv (u, v) 2 A

Node capacity:X

d2D

X

p2P csd

D

csd

ncX

i=1

�fiapufi

!y

pd ku C

node

u u 2 V

ILP Formulation (CG-simple)

Variables for • Link State: ON or OFF• Number of Active Cores per Node• Service Path: potential route for a request (path & placement)

52Energy Efficient Software Defined Networks

minX

(u,v)2A

P

IDLEuv xuv

| {z }link switch

on energy

+X

(u,v)2A

X

p2P csd

puv

0

@X

d=(us,ud,c)2D

D

csd

C

link`

Pmax

uv

1

Ay

pd

| {z }link bandwidth energy

+X

u2V

Pu ku

| {z }node resource energy

9/28/17

Page 53: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Variables for • Link State: ON or OFF• Number of Active Cores per Node• Service Path: potential route for a request (path & placement)

One path per demand:X

p2P csd

y

pd = 1 (us, ud) 2 SD, c 2 Csd

Link capacity:X

d=(us,ud,c)2D

X

p2P csd

D

csd �

puv y

pd xuv C

link

uv (u, v) 2 A

Node capacity:X

d2D

X

p2P csd

D

csd

ncX

i=1

�fiapufi

!y

pd ku C

node

u u 2 V

ILP Formulation (CG-simple)

53Energy Efficient Software Defined Networks

minX

(u,v)2A

P

IDLEuv xuv

| {z }link switch

on energy

+X

(u,v)2A

X

p2P csd

puv

0

@X

d=(us,ud,c)2D

D

csd

C

link`

Pmax

uv

1

Ay

pd

| {z }link bandwidth energy

+X

u2V

Pu ku

| {z }node resource energy

9/28/17

Page 54: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Variables for • Link State: ON or OFF• Number of Active Cores per Node• Service Path: potential route for a request (path & placement)

One path per demand:X

p2P csd

y

pd = 1 (us, ud) 2 SD, c 2 Csd

Link capacity:X

d=(us,ud,c)2D

X

p2P csd

D

csd �

puv y

pd xuv C

link

uv (u, v) 2 A

Node capacity:X

d2D

X

p2P csd

D

csd

ncX

i=1

�fiapufi

!y

pd ku C

node

u u 2 V

minX

(u,v)2A

P

IDLEuv xuv

| {z }link switch

on energy

+X

(u,v)2A

X

p2P csd

puv

0

@X

d=(us,ud,c)2D

D

csd

C

link`

Pmax

uv

1

Ay

pd

| {z }link bandwidth energy

+X

u2V

Pu ku

| {z }node resource energy

ILP Formulation (CG-simple)

54Energy Efficient Software Defined Networks

Column generation on the Service Path variables

9/28/17

Page 55: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Use the tunnel if the road is closed

Energy Efficient Software Defined Networks 55

Use backup tunnels provided by legacy routers to redirect traffic [citation needed]

OSPF1

OSPF2

SDN1

9/28/17

Page 56: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Use the tunnel if the road is closed

Energy Efficient Software Defined Networks 56

Use backup tunnels provided by legacy routers to redirect traffic [citation needed]

OSPF1

OSPF2

SDN1

9/28/17

Page 57: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Stop saying hello to you

Energy Efficient Software Defined Networks 57

• OSPF uses HELLO packets, at regular intervals, to notify neighbors of their existence

Ø 3 missing HELLO leads to a failure detection.Ø All data packets thus can be lost during this interval

• Before shutdown, an SDN switch stops sending HELLO packets but still listens for data packetsØ No packets are lost

9/28/17

Page 58: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Contributions• Study the number of servers that can be deployed with

limited number of rules

• Simulations on various data center topologies (fat tree, VL2, DCell, BCube)

• Experiments on a HP SDN-capable switch (65536 software rules, 3500 hardware rules)

58Energy Efficient Software Defined Networks9/28/17

Page 59: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Simulation: MINNIE & 1000 servers topologies

59

Topology servers # switches # links # Avg ports #

# flow Rule w/ comp # Average Computation time

per switch Comp. in average (ms)

Max Average Max Average Ratio Paths Comp.

Group 1

k = 4 Fat-Tree (64) 1024 20 1056 54.4 454 244 216 268 999 446 ⇠ 99.60 0.17 13

k = 8 Fat-Tree (8) 1024 80 1280 19.2 649 044 61 030 999 323 ⇠ 99.61 0.21 7

k = 16 Fat-Tree (1) 1024 320 3072 16 630 998 15 897 999 303 ⇠ 98.42 0.30 5

VL2(16, 16, 14) 896 88 384 16 261 266 42 906 1000 673 ⇠ 97.90 0.15 4

VL2(8, 8, 64) 1024 28 612 ⇠ 41.1 423 752 161 499 1000 799 ⇠ 99.45 0.19 11

VL2(16, 16, 16) 1024 88 1152 ⇠ 17.5 276 575 56 040 1000 648 ⇠ 98.39 0.18 4

Group 2

DCell(32, 1) 1056 33 1584 ⇠ 2.91 63 787 4893 1000 113 ⇠ 97.23 0.09 2

DCell(5, 2) 930 186 1860 ⇠ 3.33 11 995 5716 994 642 ⇠ 87.84 0.19 2

BCube(32, 1) 1024 64 2048 ⇠ 3.77 37 738 3734 999 329 ⇠ 86.04 0.19 2

BCube(10, 2) 1000 300 3000 ⇠ 4.62 10 683 4153 998 653 ⇠ 80.85 0.25 2

BCube(6, 3) 1296 864 5184 4.8 7852 5184 991 831 ⇠ 83.18 0.49 4

• Around 1 million flows on each topologies• With only 1000 rules• Compression ratio between 80 and 99%

Energy Efficient Software Defined Networks9/28/17

Page 60: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

0 10

000 20

000 30

000 40

000 50

000 60

000 70

000 80

000 90

000 10

0000 00:

0000:

3001:

0001:

3002:

0002:

3003:

0003:

30

Total number of rules installed

timeNo

Comp

Comp 5

00Com

p 1000

Comp 2

000Com

p end

Experiment: Number of rules over time

60

Compression event

80% compression

ratio

Energy Efficient Software Defined Networks9/28/17

Page 61: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Experiment: Delay

61

Delay :• increases over

time withoutcompression

• stays constantwhen compressingat 1000

• goes haywirewhen compression at 500

Energy Efficient Software Defined Networks9/28/17

Page 62: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Experiment: Compression Duration

62

0

5

10

15

20

25

30

Comp 500 Comp 1000Comp 2000 Comp end

Dur

atio

n (m

s)

Compression + table modification

Energy Efficient Software Defined Networks9/28/17

Page 63: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Energy model

• Hybrid model for links• Node consumption linear w.r.t. the number of cores

63Energy Efficient Software Defined Networks

minX

(u,v)2A

P

IDLEuv xuv

| {z }link switch

on energy

+X

(u,v)2A

X

p2P csd

puv

0

@X

d=(us,ud,c)2D

D

csd

C

link`

PMAXuv y

pd

1

A

| {z }link bandwidth energy

+X

u2V

Pu ku

| {z }node resource energy

9/28/17

Page 64: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Experiment: Packet losses

64

Compression threshold

None 500 1000 2000 When full

# of compressions 0 16 594 95 28 20

% packet loss 6.25⇥ 10

�60.003 5.65⇥ 10

�42.83⇥ 10

�53.7⇥ 10

�4

No significant packet losses except for 500

Energy Efficient Software Defined Networks9/28/17

Page 65: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Direction-Based Algorithm

65

Compress using source aggregation, destination aggregation or default rule⇒ Take the best table

1. For each source (resp. destination), get the most occuring ports⇒ Gives the default port of the source

2. Get the most occuring port in the most occuring ports⇒ Gives the default port

3. Add the default rules and wildcard rules with lowest priority4. Add the original rules that don’t match any aggregation rules

Energy Efficient Software Defined Networks9/28/17

Page 66: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Direction-Based Algorithm

66

Flow Output port(0, 4) Port-4(0, 5) Port-5(0, 6) Port-5(1, 4) Port-6(1, 5) Port-4(1, 6) Port-6(2, 4) Port-4(2, 5) Port-5(2, 6) Port-6

Compress using source aggregation, destination aggregation or default rule⇒ Take the best table

4 5 6

0 4 5 5

1 6 4 6

2 4 5 6

Energy Efficient Software Defined Networks9/28/17

Page 67: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Direction-Based Algorithm

67

Compress using source aggregation, destination aggregation or default rule⇒ Take the best table

4 5 6

0 4 5 5

1 6 4 6

2 4 5 6

P0 = {5}

• Get the most occuringport for each source

Energy Efficient Software Defined Networks9/28/17

Page 68: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Direction-Based Algorithm

68

Compress using source aggregation, destination aggregation or default rule⇒ Take the best table

4 5 6

0 4 5 5

1 6 4 6

2 4 5 6

P0 = {5}

• Get the most occuringport for each source

P1 = {6}

P2 = {4, 5, 6}

Energy Efficient Software Defined Networks9/28/17

Page 69: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Direction-Based Algorithm

69

Compress using source aggregation, destination aggregation or default rule⇒ Take the best table

4 5 6

0 4 5 5

1 6 4 6

2 4 5 6

P0 = {5}

• Get the most occuringport in the set of mostoccuring ports (default rule)

P1 = {6}

P2 = {4, 5, 6}

D = {5}

Energy Efficient Software Defined Networks9/28/17

Page 70: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Direction-Based Algorithm

70

Compress using source aggregation, destination aggregation or default rule⇒ Take the best table

P0 = {5} Ø No rule (overlap with default)

• Build the table

P1 = {6} Ø Add (1, *, 6)

P2 = {4, 5, 6} Ø No rule (overlap with default)

D = {5} Ø Add with lowest priority (*, *, 5)

Forwarding table :

(1, *, 6)(*, *, 5)

Energy Efficient Software Defined Networks9/28/17

Page 71: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Direction-Based Algorithm

71

Compress using source aggregation, destination aggregation or default rule⇒ Take the best table

4 5 6

0 4 5 5

1 6 4 6

2 4 5 6

• Build the table Forwarding table:

(0, 4, 4)(1, 4, 4)(2, 4, 4)(2, 6, 6)(1, *, 6)(*, *, 5)

Energy Efficient Software Defined Networks9/28/17

Page 72: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Direction-Based Algorithm

72

Compress using source aggregation, destination aggregation or default rule⇒ Take the best table

4 5 6

0 4 5 5

1 6 4 6

2 4 5 6

• Build the table Forwarding table:

(0, 4, 4)(1, 4, 4)(2, 4, 4)(2, 6, 6)(1, *, 6)(*, *, 5)

Energy Efficient Software Defined Networks9/28/17

Page 73: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

More rules for less energy

• Shutting down links increases shortest pathsØIncrease in number of required rules

73

0

3

6

9

12

1 2 3 4 5

Traffic matricesD1

Traffic matrices

# ov

erlo

aded

rout

ers

(%)

D2 D3 D4 D5

0

3

6

9

12

15

18

1 2 3 4 5

traffic matrices

D1

Traffic matrices

# ov

erlo

aded

rout

ers

(%)

D2 D3 D4 D5

Energy Efficient Software Defined Networks

germany50 (50 nodes, 88 links) ta2 (65 nodes, 81 links)

9/28/17

Page 74: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Direction-Based Algorithm

74

Compress using source aggregation, destination aggregation or default rule⇒ Take the best table

4 5 6

0 4 5 5

1 6 4 6

2 4 5 6

• Build the table Forwarding table:

(0, 4, 4)(1, 4, 4)(2, 4, 4)(2, 6, 6)(1, *, 6)(*, *, 5)

Energy Efficient Software Defined Networks9/28/17

Page 75: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Direction-Based Algorithm

75

Compress using source aggregation, destination aggregation or default rule⇒ Take the best table

Flow Output port(0, 5) Port-5(0, 6) Port-5(1, 4) Port-6(1, 6) Port-6(2, 5) Port-5(2, 6) Port-6(⇤, ⇤) Port-4

Flow Output port(0, 4) Port-4(1, 5) Port-4(2, 4) Port-4(2, 6) Port-6(1, ⇤) Port-6(⇤, ⇤) Port-5

Flow Output port(1, 4) Port-6(1, 5) Port-4(0, 6) Port-5(⇤, 4) Port-4(⇤, 5) Port-5(⇤, ⇤) Port-6

Source Destination Default

Energy Efficient Software Defined Networks9/28/17

Page 76: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Other solutions

• Integer Linear Programing formulationØNot scalable

• Greedy algorithmØEach time, select the source or destination that can be compressed the best

• Just the default portØThe third table of Direction-Based

76Energy Efficient Software Defined Networks9/28/17

Page 77: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Data sets

• Random tables• Density, number of sources/destinations, number of ports

• Network tables• SNDlib instances (atlanta, germany50, zib54, ta2)

77Energy Efficient Software Defined Networks9/28/17

Page 78: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Compression Ratio: Random tables

78

1 2 3 4 5 6 7 8 9# ports

0.0

0.2

0.4

0.6

0.8

1.0

CoP

p r

DtL

o

CoPp-L3

CoPp-GreeGy

CoPp-DefDult

CoPp-DLr

1 2 3 4 5 6 7 8 9# ports

0.0

0.2

0.4

0.6

0.8

1.0

Com

p r

Dti

o

Comp-Dir

Comp-GreeGy

Comp-DefDult

5 6 7 8 9 10 11# of network noGes

0.0

0.2

0.4

0.6

0.8

1.0

CoP

p r

DtL

o

CoPp-LP

CoPp-GreeGy

CoPp-DefDult

CoPp-DLr

0 200 400 600 800 1000# of network noGes

0.0

0.2

0.4

0.6

0.8

1.0

Com

p r

Dti

o

Comp-GreeGy

Comp-DefDult

Comp-Dir

Greedy and Direction-Based have similar results

Energy Efficient Software Defined Networks9/28/17

Page 79: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

CoPp-DLr CoPp-GreeGyCoPp-DefDult CoPp-LP0.0

0.2

0.4

0.6

0.8

1.0

CoP

p r

DtL

o

Comp-Dir Comp-GreeGy Comp-DefDult0.0

0.2

0.4

0.6

0.8

1.0

Com

p r

Dti

o

Compression Ratio: Network tables

Direction-Based behaves better on network tables

atlanta (15 nodes, 44 links) ta2 (81 nodes, 162 links)

79Energy Efficient Software Defined Networks9/28/17

Page 80: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Energy Proportionality

80

Load

Ener

gy c

onsu

mpt

ion

PMAX

InactiveActive

PIDLE

0% 100%

Prop

Hybrid

ON-OFF

ALR

Sleep mode

Network devices are not energy proportional [Chabarek et al., 2008]

Energy Efficient Software Defined Networks9/28/17

Page 81: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Energy Aware Routing (EAR)

Satisfy the requests on the network with a subset of active devices

81Energy Efficient Software Defined Networks9/28/17

Page 82: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Legacy vs. Software Defined Networks (SDN)

82Energy Efficient Software Defined Networks9/28/17

Page 83: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Energy Aware Routing (EAR)

83Energy Efficient Software Defined Networks

Satisfy the requests on the network with a subset of active devices

A

B

C

D

E

E

9/28/17

Page 84: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Heuristic: Energy saving module

84Energy Efficient Software Defined Networks

Initial routingFind

removable link with minimum

load

End

No removable link remaining

Disable link (u, v)

Find a new valid

routingFound link (u, v)

● Revert routing● Re-enable link (u, v)

and mark it as un-removable

No

Yes

9/28/17

Page 85: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Heuristic: Routing moduleWeighted shortest path on residual graphAssignment of paths according to table and link usageCompress tables when full

85

wuv = ↵⇥ wruv + � ⇥ wl

uv

Table usage weight (0 if corresponding wildcard) Link usage weight

Energy Efficient Software Defined Networks9/28/17

Page 86: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Heuristic: Compression module• default port only OR wildcard + default

• Propose several solutions to the compression problem

• ILP formulations

• 3-approximation algorithm

• Greedy heuristic

• Default port

86Energy Efficient Software Defined Networks9/28/17

Page 87: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Energy Efficiency of Networks

0

0.2

0.4

0.6

0.8

1

0 5 10 15 20

Traf

fic [n

orm

aliz

ed]

Daily time (h)

D1D2

D3

D2

D4 D4D5

D3D3

0.3

0.4

0

0.6

0.8

1.0

0 5 10 15 20 24Ideal power consumption

Current power consumption

87Energy Efficient Software Defined Networks9/28/17

Page 88: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

88

Power Model Optimization

minX

(u,v)2A

✓P

IDLEuv xuv + P

LOADuv

fuv

Cuv

◆State of the link

Fraction of bandwidth used

Power used when idle Additional power

Energy Efficient Software Defined Networks9/28/17

Page 89: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Results: Hardware vs. Software

Energy Efficient Software Defined Networks 89

0

5

10

15

20

25

30

35

40

Software Hardware

Dur

atio

n (m

s)

Performances of software forwarding table are way behind

TCAM

9/28/17

Page 90: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Contributions• Propose several solutions to the compression problem

• ILP formulations, 3-approximation algorithm, greedy heuristic

• Study EAR with Compression

• Heuristic with joint routing and compression

• Compare EARC and classic EAR

• Validate on a HP SDN-capable switch (w/o energy)

• Study end-to-end delay, packet losses, controller charge

• Compare hardware and software rules

90Energy Efficient Software Defined Networks9/28/17

Page 91: ENERGY EFFICIENT SOFTWARE DEFINED NETWORKS...Energy consumption of Networks • In 2012, communication networks consumed 330 TWh (4,6%) • 10% yearly growth (worldwide: 3%) [Van Heddeghem

Results: Spike &failure mitigation

Energy Efficient Software Defined Networks 919/28/17