Hard-Potato Routing Costas Busch, Maurice Herlihy, and Roger - - PowerPoint PPT Presentation

hard potato routing
SMART_READER_LITE
LIVE PREVIEW

Hard-Potato Routing Costas Busch, Maurice Herlihy, and Roger - - PowerPoint PPT Presentation

Hard-Potato Routing Costas Busch, Maurice Herlihy, and Roger Wattenhofer Brown University 1 Hard-Potato Routing 2 Hard-Potato Routing 3 Hard-Potato Routing 4 Hard-Potato Routing n x n Mesh synchronous one message / link one-shot


slide-1
SLIDE 1

1

Hard-Potato Routing

Costas Busch, Maurice Herlihy, and Roger Wattenhofer Brown University

slide-2
SLIDE 2

2

Hard-Potato Routing

slide-3
SLIDE 3

3

Hard-Potato Routing

slide-4
SLIDE 4

4

Hard-Potato Routing

slide-5
SLIDE 5

5

Hard-Potato Routing

n x n Mesh synchronous

  • ne message / link
  • ne-shot problem
slide-6
SLIDE 6

6

Hot-Potato Routing

slide-7
SLIDE 7

7

Hot-Potato Routing

no buffers local decisions

slide-8
SLIDE 8

8

Hot-Potato Routing

no buffers local decisions simple hardware (optical networks)

slide-9
SLIDE 9

9

Hot-Potato Routing: Conflicts

slide-10
SLIDE 10

10

Hot-Potato Routing: Conflicts

  • ne message / link

no buffers

slide-11
SLIDE 11

11

Hot-Potato Routing: Conflicts

  • ne message / link

no buffers deflection!

slide-12
SLIDE 12

12

Hot-Potato Routing: Greedy

slide-13
SLIDE 13

13

Hot-Potato Routing: Greedy

Message prefers “good” link when there is no conflict. + simple + adaptive + very well in practice [Maxemchuk 89]

slide-14
SLIDE 14

14

Hot-Potato Routing: New?

Hot-Potato Routing [Baran 64] Mesh-like Hot-Potato Routing [Feige and Raghavan 92] [Kaklamanis, Krizanc, Rao 93] [Kaufmann, Lauer, Schroder 94] [Newman and Schuster 95] [Spirakis and Triantafillou 97] [Ben-Dor, Halevi, Schuster 98] [BHW 00]

slide-15
SLIDE 15

15

Hard-Potato Routing: New? Hot Hard !

All papers tuned for permutation or random destinaton. This paper is about “hard” (“many-to-one”) routing. [Ben-Aroya, Eilam, Schuster 95] [Borodin, Rabani, Schieber 97] [Ben-Aroya, Newman, Schuster 97] [Ben-Dor, Halevi, Schuster 98] If n2 messages are injected, they need O(n2) time. We have the first algorithm that does better…

slide-16
SLIDE 16

16

Lower Bound: Bandwidth

W = max # messages # links

slide-17
SLIDE 17

17

Lower Bound: Distance

D = max distance

slide-18
SLIDE 18

18

Our Result: log3n-competitive

Lower Bound L = W(D+W) Our Algorithm needs O(L log3n) to route all messages with high probability. Remarks: L = W(n) Distributed algorithm (local decisions only). L does not have to be known in advance. Greedy.

slide-19
SLIDE 19

19

General Problem

Usual stubborn approach (often 1-bend path) does not work.

slide-20
SLIDE 20

20

Our Algorithm

Messages have priorities running high (excited) normal low ?

slide-21
SLIDE 21

21

Our Algorithm

Messages have priorities running high (excited) normal low deflection running with probability p!

slide-22
SLIDE 22

22

Our Algorithm: running

slide-23
SLIDE 23

23

Our Algorithm: running

slide-24
SLIDE 24

24

Time Analysis: Intuition

Running messages that want to take the

  • pposite link always

have priority. Therefore a running message can only be interrupted when “starting” or “turning”. ? ? ? What’s the probability?

slide-25
SLIDE 25

25

Time Analysis: Intuition

Short answer: Depends on traffic. There are two extremes of traffic that can interfere: “local” and “global”. And there is the special case

  • f “starters”.

?

slide-26
SLIDE 26

26

Time Analysis: Local Traffic

From the bandwidth lower bound we know that at most O(L) messages go into these two rectangles. ☺ ? Example: Interfering message is only one bend away…

slide-27
SLIDE 27

27

Time Analysis: Global Traffic

Possible destinations are much more! Up to O(n L)… But the interfering message also has made a lot of random choices! Traffic is the same. ☺ ? Example: Interfering message is still many bends away…

slide-28
SLIDE 28

28

Time Analysis: Start running

We make worst-case assumptions on the position

  • f possible conflicting

messages. Conflicting messages only have one chance to start running. ? But before a message starts running it has to throw a coin. ☺

slide-29
SLIDE 29

29

Time Analysis: Probabilities

If we knew L we could set p so that a message manages to run home with constant probability. Since we do not know it, we let p change over time so that for a large enough window p is in the right order that we still have constant probability to run home. time p p(t) = c log t t

slide-30
SLIDE 30

30

Our Result: log3n-competitive

Lower Bound L = W(D+W) Our Algorithm needs O(L log3n) to route all messages with high probability. Remarks: L = W(n) Distributed algorithm (local decisions only). L does not have to be known in advance. Greedy.

slide-31
SLIDE 31

31

Future Work

  • More Dimensions
  • Arbitrary Network Topologies
  • Dynamic Analysis ()
  • “Easy” Problems where L = o(n)
slide-32
SLIDE 32

32

Time Analysis: Details

In interval [c’ L log3 n + 2n, 3 c’ L log3 n] a message is absorbed with high probability (1-1/n3). Therefore, all messages are absorbed in the same interval with probability 1-1/n. p(t) = c log t t