Characterizing the Algorithmic Complexity of Reconfigurable Data - - PowerPoint PPT Presentation

characterizing the algorithmic complexity of
SMART_READER_LITE
LIVE PREVIEW

Characterizing the Algorithmic Complexity of Reconfigurable Data - - PowerPoint PPT Presentation

Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures Klaus-T. Foerster (U. Vienna), Manya Ghobadi (Microsoft Research), Stefan Schmid (U. Vienna) 23 July 2018, IEEE/ACM ANCS 2018 Reconfigurable Data Center


slide-1
SLIDE 1

Klaus-T. Foerster (U. Vienna), Manya Ghobadi (Microsoft Research), Stefan Schmid (U. Vienna)

Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures

23 July 2018, IEEE/ACM ANCS 2018

slide-2
SLIDE 2

Page 2 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

Reconfigurable Data Center Networks (DCNs)

ProjecToR interconnect Ghobadi et al., SIGCOMM ‘16 Helios (core) Farrington et al., SIGCOMM ‘10 c-Through (HyPaC architecture) Wang et al., SIGCOMM ‘10 Rotornet (rotor switches) Mellette et al., SIGCOMM ‘17 Solstice (architecture & scheduling) Liu et al., CoNEXT ‘15 REACToR Liu et al., NSDI ‘15 … and many more … FireFly Hamedazimi et al., SIGCOMM ‘14

slide-3
SLIDE 3

Page 3 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

Reconfigurable Data Center Networks (DCNs)

slide-4
SLIDE 4

Page 3 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Results and conclusions often not portable
  • Between topologies/technologies

Reconfigurable Data Center Networks (DCNs)

slide-5
SLIDE 5

Page 3 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Results and conclusions often not portable
  • Between topologies/technologies
  • Assumption in routing takes away optimality

Reconfigurable Data Center Networks (DCNs)

slide-6
SLIDE 6

Page 3 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Results and conclusions often not portable
  • Between topologies/technologies
  • Assumption in routing takes away optimality
  • We take a look from a theoretical perspective

Reconfigurable Data Center Networks (DCNs)

slide-7
SLIDE 7

Page 3 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Results and conclusions often not portable
  • Between topologies/technologies
  • Assumption in routing takes away optimality
  • We take a look from a theoretical perspective
  • With average path length as an objective

Reconfigurable Data Center Networks (DCNs)

slide-8
SLIDE 8

Page 3 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Results and conclusions often not portable
  • Between topologies/technologies
  • Assumption in routing takes away optimality
  • We take a look from a theoretical perspective
  • With average path length as an objective
  • For one switch (with/without this assumption)
  • Also briefly for multiple switches

Reconfigurable Data Center Networks (DCNs)

slide-9
SLIDE 9

Page 4 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

The Static Case

A C E G B D F

slide-10
SLIDE 10

Page 4 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

The Static Case

A C E G B D F Communication frequency: A→E: 10, A→G: 5

slide-11
SLIDE 11

Page 4 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

The Static Case

A C E G B D F Communication frequency: A→E: 10, A→G: 5

slide-12
SLIDE 12

Page 4 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

The Static Case

A C E G B D F Communication frequency: A→E: 10, A→G: 5 Weighted average path length: 4*10+6*5=70

slide-13
SLIDE 13

Page 5 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

Adding Reconfigurability

A C E G B D F Communication frequency: A→E: 10, A→G: 5 Weighted average path length: 4*10+6*5=70

slide-14
SLIDE 14

Page 5 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

Adding Reconfigurability

A C E G B D F Communication frequency: A→E: 10, A→G: 5 Weighted average path length: 4*10+6*5=70

slide-15
SLIDE 15

Page 5 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

Adding Reconfigurability

A C E G B D F Communication frequency: A→E: 10, A→G: 5 Weighted average path length: 4*10+6*5=70

slide-16
SLIDE 16

Page 5 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

Adding Reconfigurability

A C E G B D F Communication frequency: A→E: 10, A→G: 5 Weighted average path length: 4*10+6*5=70

slide-17
SLIDE 17

Page 5 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

Adding Reconfigurability

A C E G B D F Communication frequency: A→E: 10, A→G: 5 Weighted average path length: 4*10+6*5=70 static Weighted average path length: 1*10+6*5=40 reconfig

slide-18
SLIDE 18

Page 5 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

Adding Reconfigurability

A C E G B D F Communication frequency: A→E: 10, A→G: 5 Weighted average path length: 4*10+6*5=70 static Weighted average path length: 1*10+6*5=40 reconfig

slide-19
SLIDE 19

Page 5 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

Adding Reconfigurability

A C E G B D F Communication frequency: A→E: 10, A→G: 5 Weighted average path length: 4*10+6*5=70 static Weighted average path length: 1*10+6*5=40 reconfig 1*10+(1+2)*5=25

  • ptimum
slide-20
SLIDE 20

Page 6 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

Adding Reconfigurability

A C E G B D F Communication frequency: A→E: 10, A→G: 5 Weighted average path length: 4*10+6*5=70 static Weighted average path length: 1*10+6*5=40 reconfig 1*10+(1+2)*5=25

  • ptimum
slide-21
SLIDE 21

Page 7 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Especially important at scale: multiple reconfigurable switches

Beyond a Single Switch

A Tale of Two Topologies Xia et al., SIGCOMM ‘17 Rotornet Mellette et al., SIGCOMM ‘17

slide-22
SLIDE 22

Page 8 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

One Switch: Segregated Routing Policies

slide-23
SLIDE 23

Page 8 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Model: Either just 1 reconfig or just static

One Switch: Segregated Routing Policies

slide-24
SLIDE 24

Page 8 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Model: Either just 1 reconfig or just static

One Switch: Segregated Routing Policies

A C E G B D F Communication frequency: A→E: 10, A→G: 5

slide-25
SLIDE 25

Page 8 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Model: Either just 1 reconfig or just static

One Switch: Segregated Routing Policies

A C E G B D F Communication frequency: A→E: 10, A→G: 5 Why this solution?

slide-26
SLIDE 26

Page 8 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Model: Either just 1 reconfig or just static

One Switch: Segregated Routing Policies

A C E G B D F Communication frequency: A→E: 10, A→G: 5 Why this solution? Benefit of A→E: 10:

  • Static-Reconfig: 40-10=30

Benefit of A→G: 5:

  • Static-Reconfig: 30-5=25
slide-27
SLIDE 27

Page 9 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Model: Either just 1 reconfig or just static

One Switch: Segregated Routing Policies

slide-28
SLIDE 28

Page 9 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Model: Either just 1 reconfig or just static
  • Optimal solution in polynomial time:

One Switch: Segregated Routing Policies

slide-29
SLIDE 29

Page 9 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Model: Either just 1 reconfig or just static
  • Optimal solution in polynomial time:

1. Compute & assign benefit to every matching edge

One Switch: Segregated Routing Policies

slide-30
SLIDE 30

Page 9 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Model: Either just 1 reconfig or just static
  • Optimal solution in polynomial time:

1. Compute & assign benefit to every matching edge 2. Compute optimal weighted matching

One Switch: Segregated Routing Policies

slide-31
SLIDE 31

Page 9 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Model: Either just 1 reconfig or just static
  • Optimal solution in polynomial time:

1. Compute & assign benefit to every matching edge 2. Compute optimal weighted matching

 E.g., weighted Edmond’s Blossom algorithm

One Switch: Segregated Routing Policies

slide-32
SLIDE 32

Page 9 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Model: Either just 1 reconfig or just static
  • Optimal solution in polynomial time:

1. Compute & assign benefit to every matching edge 2. Compute optimal weighted matching

 E.g., weighted Edmond’s Blossom algorithm

  • Downside: Only optimal under (artificially!?) segregated routing policy!

One Switch: Segregated Routing Policies

slide-33
SLIDE 33

Page 9 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Model: Either just 1 reconfig or just static
  • Optimal solution in polynomial time:

1. Compute & assign benefit to every matching edge 2. Compute optimal weighted matching

 E.g., weighted Edmond’s Blossom algorithm

  • Downside: Only optimal under (artificially!?) segregated routing policy!
  • Not optimal under arbitrary routing policies

One Switch: Segregated Routing Policies

slide-34
SLIDE 34

Page 10 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

One Switch: Non-Segregated Routing

slide-35
SLIDE 35

Page 10 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

One Switch: Non-Segregated Routing

Can improve routing quality

slide-36
SLIDE 36

Page 10 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

One Switch: Non-Segregated Routing

Can improve routing quality NP-hard to optimally compute

slide-37
SLIDE 37

Page 10 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

One Switch: Non-Segregated Routing

Can improve routing quality NP-hard to optimally compute Already for simple settings

(sparse communication patterns, unit weights etc.)

slide-38
SLIDE 38

Page 10 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

One Switch: Non-Segregated Routing

Can improve routing quality NP-hard to optimally compute Already for simple settings

(sparse communication patterns, unit weights etc.)

Approximation algorithms & restricted topologies

slide-39
SLIDE 39

Page 10 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

One Switch: Non-Segregated Routing

Can improve routing quality NP-hard to optimally compute Already for simple settings

(sparse communication patterns, unit weights etc.)

Approximation algorithms & restricted topologies Future Work

slide-40
SLIDE 40

Page 10 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

One Switch: Non-Segregated Routing

Can improve routing quality NP-hard to optimally compute Already for simple settings

(sparse communication patterns, unit weights etc.)

Approximation algorithms & restricted topologies Future Work

Already some work in different settings, e.g.:

  • network forms a dynamic tree [Schmid et al., ToN ‘16]
  • constant degree and sparse demands [Avin et al., DISC ‘17]
  • degree depends on node popularity [Avin et al., Inf. Pr. Let. ‘18]

(these works assume all links are reconfigurable)

slide-41
SLIDE 41

Page 11 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

Multiple Reconfigurable Switches

slide-42
SLIDE 42

Page 11 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Makes the setting more scalable 

Multiple Reconfigurable Switches

slide-43
SLIDE 43

Page 11 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Makes the setting more scalable 
  • But of course, still NP-hard 

(already for one switch)

Multiple Reconfigurable Switches

slide-44
SLIDE 44

Page 11 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Makes the setting more scalable 
  • But of course, still NP-hard 

(already for one switch)

  • Let’s make things simpler

Multiple Reconfigurable Switches

slide-45
SLIDE 45

Page 12 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

Multiple Switches: More than One Flow

slide-46
SLIDE 46

Page 12 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Can we optimize max. path length?

Multiple Switches: More than One Flow

slide-47
SLIDE 47

Page 12 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Can we optimize max. path length?
  • For 2 flows?

Multiple Switches: More than One Flow

slide-48
SLIDE 48

Page 12 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Can we optimize max. path length?
  • For 2 flows?

NP-hard again 

Multiple Switches: More than One Flow

slide-49
SLIDE 49

Page 13 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

Multiple Switches: One Flow

slide-50
SLIDE 50

Page 14 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

Multiple Switches: One Flow

A C E G B D F Communication frequency: A→G: 1

slide-51
SLIDE 51

Page 14 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

Multiple Switches: One Flow

A C E G B D F Communication frequency: A→G: 1

slide-52
SLIDE 52

Page 14 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Consider weights

Multiple Switches: One Flow

A C E G B D F Communication frequency: A→G: 1

slide-53
SLIDE 53

Page 14 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Consider weights

Multiple Switches: One Flow

A C E G B D F Communication frequency: A→G: 1 5 5 5 5 1 1 10 10 10 10 1 1

slide-54
SLIDE 54

Page 14 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Consider weights

Multiple Switches: One Flow

A C E G B D F Communication frequency: A→G: 1 5 5 5 5 1 1 10 10 10 10 1 1

slide-55
SLIDE 55

Page 14 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • Consider weights

Multiple Switches: One Flow

A C E G B D F Communication frequency: A→G: 1 5 5 5 5 1 1 10 10 10 10 1 1 How to formalize?

slide-56
SLIDE 56
  • Challenge:

Multiple Switches: One Flow

Page 15 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

slide-57
SLIDE 57
  • Challenge:
  • Proper matchings

Multiple Switches: One Flow

Page 15 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

slide-58
SLIDE 58
  • Challenge:
  • Proper matchings
  • Polynomial algorithm

Multiple Switches: One Flow

Page 15 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

slide-59
SLIDE 59
  • Challenge:
  • Proper matchings
  • Polynomial algorithm
  • Idea: Use flow algorithms

Multiple Switches: One Flow

Page 15 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

slide-60
SLIDE 60
  • Challenge:
  • Proper matchings
  • Polynomial algorithm
  • Idea: Use flow algorithms
  • Min-cost integral flow is polynomial

Multiple Switches: One Flow

Page 15 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

slide-61
SLIDE 61
  • Challenge:
  • Proper matchings
  • Polynomial algorithm
  • Idea: Use flow algorithms
  • Min-cost integral flow is polynomial

Multiple Switches: One Flow

Page 15 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

A capacity =1

slide-62
SLIDE 62
  • Challenge:
  • Proper matchings
  • Polynomial algorithm
  • Idea: Use flow algorithms
  • Min-cost integral flow is polynomial

Multiple Switches: One Flow

Page 15 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

A capacity =1

*some small strings attached

slide-63
SLIDE 63
  • Challenge:
  • Proper matchings
  • Polynomial algorithm
  • Idea: Use flow algorithms
  • Min-cost integral flow is polynomial

Multiple Switches: One Flow

Page 15 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

A capacity =1

*some small strings attached

Unidirectionality

slide-64
SLIDE 64
  • Challenge:
  • Proper matchings
  • Polynomial algorithm
  • Idea: Use flow algorithms
  • Min-cost integral flow is polynomial

Multiple Switches: One Flow

Page 15 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

A capacity =1

*some small strings attached

Unidirectionality

slide-65
SLIDE 65
  • Challenge:
  • Proper matchings
  • Polynomial algorithm
  • Idea: Use flow algorithms
  • Min-cost integral flow is polynomial

Multiple Switches: One Flow

Page 15 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

A capacity =1

*some small strings attached

Unidirectionality

slide-66
SLIDE 66
  • Challenge:
  • Proper matchings
  • Polynomial algorithm
  • Idea: Use flow algorithms
  • Min-cost integral flow is polynomial

Multiple Switches: One Flow

Page 15 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

A capacity =1

*some small strings attached

Unidirectionality

slide-67
SLIDE 67
  • Challenge:
  • Proper matchings
  • Polynomial algorithm
  • Idea: Use flow algorithms
  • Min-cost integral flow is polynomial

Multiple Switches: One Flow

Page 15 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

A capacity =1

*some small strings attached

Unidirectionality

slide-68
SLIDE 68
  • Challenge:
  • Proper matchings
  • Polynomial algorithm
  • Idea: Use flow algorithms
  • Min-cost integral flow is polynomial

Multiple Switches: One Flow

Page 15 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

A capacity =1

*some small strings attached

Unidirectionality

  • Same conceptual idea
slide-69
SLIDE 69
  • Challenge:
  • Proper matchings
  • Polynomial algorithm
  • Idea: Use flow algorithms
  • Min-cost integral flow is polynomial

Multiple Switches: One Flow

Page 15 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

A capacity =1

*some small strings attached

Unidirectionality

  • Same conceptual idea

A Aout Ain

slide-70
SLIDE 70

Page 16 Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures 23 July 2018

  • one reconfigurable switch
  • segregated: Easy. Not optimal.
  • not seg.: NP-hard. Improves solutions.
  • multiple reconfigurable switches
  • multiple flows: NP-hard
  • just one flow: Easy.
  • Next steps
  • approximation algorithms
  • special topologies

Summary and Outlook

slide-71
SLIDE 71

Klaus-T. Foerster (U. Vienna), Manya Ghobadi (Microsoft Research), Stefan Schmid (U. Vienna)

Characterizing the Algorithmic Complexity of Reconfigurable Data Center Architectures

23 July 2018, IEEE/ACM ANCS 2018 Thank you! 