texpoint fonts used in emf

56
ETH Zurich – Distributed Computing Group Stephan Holzer 1 ETH Zurich – Distributed Computing – www.disco.ethz.ch Stephan Holzer Yvonne Anne Pignolet Jasmin Smula Roger Wattenhofer Information Exchange on Multiple Channels

Upload: yetta

Post on 22-Feb-2016

39 views

Category:

Documents


0 download

DESCRIPTION

Time-Optimal Information Exchange on Multiple Channels. TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box .: A A A A A A A A A A. Time-Optimal Information Exchange on Multiple Channels. n:= # nodes. Problem :. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 1ETH Zurich – Distributed Computing – www.disco.ethz.ch

Stephan HolzerYvonne Anne Pignolet

Jasmin SmulaRoger Wattenhofer

Time-Optimal Information Exchange

on Multiple Channels

Page 2: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 2

Problem:

Time-Optimal Information Exchange on Multiple Channels

n:= # nodes

Page 3: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 3

Problem:

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # information Have information

Disseminate to all!?

Page 4: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 4

Problem:

Time-Optimal Information Exchange on Multiple Channels

Disseminate to all!?

Page 5: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 5

Problem:

Time-Optimal Information Exchange on Multiple Channels

Disseminate to all!?Easy: O(n)

Faster?

Page 6: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 6

Problem:

Time-Optimal Information Exchange on Multiple Channels

n:= # nodes

1

23

4

5

n

Unique IDs 1…n

Page 7: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 7

I can:

send / receive

reach each node

Time-Optimal Information Exchange on Multiple Channels

Page 8: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 8

I can:

send / receive

?reach each node

Time-Optimal Information Exchange on Multiple Channels

Page 9: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 9

Time-Optimal Information Exchange on Multiple Channels

no collision detection

I can:

send / receive

reach each node

Page 10: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 10

switch channels

no collision detection

I can:

send / receive

reach each node

101 Mhz117 Mhz132 Mhz …

Time-Optimal Information Exchange on Multiple Channels

synchronus

Page 11: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 11

switch channels

no collision detection

I can:

send / receive

reach each node

complexitycomputation: freeradio: time 1

Time-Optimal Information Exchange on Multiple Channels

synchronus

Page 12: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 12

One Information / log n bits per message

O(1)

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # information

=> Ω( k )

Page 13: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 13

=> Ω( k )

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # information

+ log n[Kushilevitz, Mansour SIAM JComp 1998]

one channel ?𝜣 (𝒌)

Multi channel

Page 14: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 14

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # information

TREE

What can I do?

Page 15: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 15

4 7

8

3

1

2

5 6

9

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # information

10 11 12

TREE

13 14 15

16

Communicate in parallelon different channels

Page 16: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 16

4

8

2

9

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # information

TREE

Communicate in parallelon different channels

Page 17: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 17

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # information

TREE

Page 18: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 18

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # information

TREE

Page 19: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 19

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # information

TREE

Page 20: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 20

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # information

TREE

Page 21: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 21

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # information

TREE

Page 22: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 22

TREE

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # information

O( k + log n)

Page 23: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 23

Time-Optimal Information Exchange on Multiple Channels

What if k < log n?n:= # nodesk:= # information

O( k ) if k > log n

n channels TREE

Page 24: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 24

Time-Optimal Information Exchange on Multiple Channels

What if k < log n?n:= # nodesk:= # information

Page 25: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 25

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Page 26: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 26

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Balls into Bins

Page 27: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 27

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Balls into Bins

ID=1…2k

Page 28: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 28

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Balls into Bins

ID=1…2k

Page 29: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 29

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Balls into Bins

Listens on channel 1Listens on channel 2Listens on channel 3Listens on channel 4

Send on random channel 1…2

ID=1…2k

k

Page 30: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 30

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Balls into Bins

Listens on channel 1Listens on channel 2Listens on channel 3Listens on channel 4

ID=1…2k

Send on random channel 1…2k

Page 31: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 31

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Balls into Bins

Pr no collisionID=1…2k

Page 32: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 32

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

ID=1…2k

Balls into Bins

Pr no collisionTREE

Page 33: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 33

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

ID=1…2k

Balls into Bins

Pr no collisionTREE

Page 34: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 34

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

ID=1…2k

Balls into Bins

Pr no collisionRepeat k times

Page 35: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 35

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

ID=1…2k

Balls into Bins

Pr [no collision] > 1- If

O( k ) if TREE

What if ?

Repeat k times

k2 channels

Page 36: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 36

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Unique SubsetTime: O( k )

What if ?

𝑆𝑖𝑧𝑒 : √𝑛 log𝑛

Page 37: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 37

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Unique Subset

𝑆𝑖𝑧𝑒 : √𝑛 log𝑛

Page 38: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 38

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Unique Subset

𝑆𝑖𝑧𝑒 : √𝑛 log𝑛

Page 39: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 39

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Unique Subset

Send on random channel }.

𝑆𝑖𝑧𝑒 : √𝑛 log𝑛

Page 40: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 40

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Unique Subset

𝑆𝑖𝑧𝑒 : √𝑛 log𝑛

Send on random channel }.Send on random channel .

Page 41: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 41

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Unique Subset

Not too big …Not too small …Just right!

𝑆𝑖𝑧𝑒 : √𝑛 log𝑛

Send on random channel }.Send on random channel .

Pr[at most half messages collide]1-

Page 42: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 42

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Unique Subset

Channel 3

Example: 3 channels

Channel 1

{1}{2 }{3 }{1,2}{1,3 }{2,3 }

Page 43: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 43

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Unique Subset

Channel 3

Example: 3 channels

Channel 1Send k times

{1}{2 }{3 }{1,2}{1,3 }{2,3 }

Page 44: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 44

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Unique Subset

Channel 3

Example: 3 channels

Channel 1Send k times

{1}{2 }{3 }{1,2}{1,3 }{2,3 }

Page 45: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 45

{1}{2 }{3 }{1,2}{1,3 }{2,3 }

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Unique Subset

Channel 3

Example: 3 channels

Channel 1Send k times

Page 46: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 46

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Unique Subset

Channel 3

Example: 3 channels

Channel 1

?

?

?

Send k times

{1}

{3 }

{1,3 }

Page 47: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 47

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Unique Subset

Channel 3

Example: 3 channels

Channel 1Send k times

{1,3 }

Page 48: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 48

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Unique Subset

Channel 3

Example: 3 channels

Channel 1Send k times

{1,3 }

Page 49: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 49

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Unique Subset

Channel 3

Example: 3 channels

Channel 1Send k times

{1,3 }

Page 50: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 50

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Unique Subset

Example: 3 channels

O( k )

{1,3 }

Pr[at most half messages collide]1-

Page 51: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 51

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Unique Subset

Example: 3 channels

O( k + k/2 + k/4 …

{1,3 }

Pr[at most half messages collide]1-

Page 52: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 52

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Unique Subset

Example: 3 channels

O( k )

channelsPr[at most half messages collide]1-

Pr[this works] 1-

Page 53: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 53

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known

Unique SubsetBalls into Bins

TREE

𝑘<√ log𝑛√ log𝑛≤𝑘<log𝑛log𝑛≤𝑘

Page 54: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 54

Time-Optimal Information Exchange on Multiple Channels

n:= # nodesk:= # informationAssume: k known unknown

Unique SubsetBalls into Bins

TREEn channels

channels

2 channelsk

n channelsFuture directions: deterministic

less channelslower bounds

𝑘<√ log𝑛√ log𝑛≤𝑘<log𝑛log𝑛≤𝑘

Page 55: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 55

in Summary … Detect / Disseminate Information!

Time-Optimal Information Exchange on Multiple Channels

101 Mhz117 Mhz132 Mhz …

𝜣 (𝒌){1,3 }

Page 56: TexPoint  fonts used in EMF

ETH Zurich – Distributed Computing Group Stephan Holzer 56ETH Zurich – Distributed Computing – www.disco.ethz.ch

Stephan HolzerYvonne Anne Pignolet

Jasmin SmulaRoger Wattenhofer

Thank You!Questions & Comments?