37
Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

  • View
    215

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Adaptive Topology Discovery in Hybrid Wireless Networks

Ranveer ChandraCornell University

Joint work with Christof Fetzer and Karin Högstedt

AT&T Labs-Research

Page 2: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Problem Description

• Hybrid Wireless Network: – Ad hoc network with slow moving nodes– Presence of at least one relatively static node

• Nearly all the links are bidirectional

• A coordinator wants to know the topology of the network.– All the nodes– All the links

Page 3: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Hybrid Wireless Network

• Applications: Home, office networks, mesh networking

CoordinatorA

B

C

D

E

(A, D)(A, B)(B, D)(B, C)(D, E)(E, C)

Page 4: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Issues In Ad Hoc Networks

• Communication is expensive

• Unreliable links

• No a priori knowledge of neighbors

• Possibility of unidirectional links

• Links could become stale due to mobility

Page 5: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Outline of the Talk

• Introduction

• Basic protocol

• Enhancements for:– Unreliable broadcasts– Low mobility (low overhead)– High mobility (overhead depends on mobility)

• Performance

• Conclusion

Page 6: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Protocol Overview

• Diffusion Phase– Propagates request through network– Establishes neighborhood information– Builds tree structure

• Gathering Phase– Propagates neighborhood information back

along tree structure

Page 7: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Diffusion Phase

Acoord

D

B

C

Parent:Children:

Parent:Children:

Parent:Children:

Parent:Children:

Parent:Children:

Page 8: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Diffusion Phase

Acoord

D

B

C

Parent:Children:

Parent:Children:

Parent:Children:

Parent:Children:

Parent:Children:

coord

Page 9: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Diffusion Phase

Acoord

D

B

C

Parent:Children:

Parent:Children:

Parent:Children:

Parent:Children:

Parent: coordChildren:

coord

coord

coord

A

A

A

Page 10: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Diffusion Phase

Acoord

D

B

C

Parent:Children: A

Parent:Children:

Parent: AChildren:

Parent: AChildren:

Parent: coordChildren:

A

A

B

B

Page 11: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Diffusion Phase

Acoord

D

B

C

Parent:Children: A

Parent: BChildren:

Parent: AChildren:

Parent: AChildren:

Parent: coordChildren: B

B

D

B

Page 12: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Diffusion Phase

Acoord

D

B

C

Parent:Children: A

Parent: BChildren:

Parent: AChildren:

Parent: AChildren: D

Parent: coordChildren: B,

A

A

C

Page 13: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Gathering Phase

Acoord

D

B

C

LA: coord, B, C

dLA:

Lcoord: A

dLcoord:

LB: A, D

dLB:

LD: B, C

dLD:

LC: A, D

dLC:

Page 14: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Gathering Phase

Acoord

D

B

C

LDLC

LA: coord, B, C

dLA: LC

Lcoord: A

dLcoord:

LB: A, D

dLB: LD

LD: B, C

dLD:

LC: A, D

dLC:

Page 15: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Gathering Phase

Acoord

D

B

C

LB, LD

LA: coord, B, C

dLA: LB, LC, LD

Lcoord: A

dLcoord:

LB: A, D

dLB: LD

LD: B, C

dLD:

LC: A, D

dLC:

Page 16: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Gathering Phase

Acoord

D

B

C

LA: coord, B, C

dLA: LB, LC, LD

Lcoord: A LB: A, D

dLB: LD

LD: B, C

dLD:

LC: A, D

dLC:

LA, LB, LC, LD

dLcoord: LA, LB, LC, LD

Page 17: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Gathering Phase

C

E D

A

B

Problem:What if node B fails?How long should A wait?

?

Page 18: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Node Or Link Failures• Node sends its response if:

– it is a child, or– all its children have replied, or– it waited for (height - depth)*(b_time + u_time)

amount of time.

(height is the total height of the tree,

depth is the current distance to the root

b_time is the time to bcast a message to a nbr

u_time is the time to unicast a message to a nbr)

Page 19: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Bad Performance

Broadcasts in 802.11 are unreliable

Fraction of Links not Discovered

0

0.05

0.1

0.15

0.2

0.25

-10 dBm -6 dBm -4 dBm

Using GloMoSim:- 200m x 200m- 50 nodes- stationary

Page 20: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Robust Broadcast

• Modified RTS/CTS scheme for broadcasts

• Retry with back-off until parent ACKed

ACKBCAST

A

DB Cretry withbackoff

retry withbackoff

Page 21: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Bad Performance In Mobile Networks

Discovers nearly all links when nodes arestationary

Performance suffers in a mobile network

Page 22: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Building A Mesh

• Use the robustness of a mesh– A node can have multiple parents, max ‘k’

• Modified Algorithm:– On receiving the the first ‘k’ distinct

broadcasts, mark them as parents– Use distance from coordinator to avoid

loops– A node sends ‘k’ broadcasts if it has ‘k’

parents robustness

Page 23: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Diffusion Phase

Acoord

D

B

C

Parent:Children: A

Parent: B, CChildren:

Parent: AChildren:

Parent: AChildren: D

Parent: coordChildren: B,

A

A

C

Page 24: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Diffusion Phase

Acoord

D

B

C

Parent:Children: A

Parent: B, CChildren:

Parent: AChildren: D

Parent: AChildren: D

Parent: coordChildren: B,

B, C

B, C

C

Page 25: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Mesh Advantages

• Tolerates lossy links

• Tolerates unreliable nodes

• Handles mobility

A message from ‘A’reaches ‘S’ through3 different routes

A

S

Page 26: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Mesh Failures

What if links to all parents fail?

Send information along alternate paths

• If a node is unable to send to any parents, it enters Panic mode and broadcasts its message to all its nbrs.

Page 27: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Panic Mode

When a node receives a bcast from a node in panic mode,

• it removes sender from its list of parents, and• if message gives new information, and

– if its parent list is non-empty,• it proceeds as before

– if its parent list is empty,• it enters “Panic Mode” and bcasts to all nbrs

Page 28: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Panic Mode: Example

CB

FE

D

A

Note:B does not resendinfo from D if italready received it from E.

Page 29: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Optimized Algorithm: Performance

• Simulation Environment : GloMoSim– 200m x 200m area– 50 nodes– Random waypoint mobility model– 802.11 MAC protocol– Varying speeds and power of nodes– Assume bidirectional links

Page 30: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Links Discovered: -10dBmWithout Panic Mode

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

0 0.2 0.4 0.6 0.8 1 1.2 1.4

Speed(m/s)

Fra

cti

on

1-parent

2-parents

3-parents

4-parents

5-parents

Page 31: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Links Discovered: -10dBm

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

0 0.2 0.4 0.6 0.8 1 1.2 1.4

Speed(m/s)

Frac

tion

1-parent

2-parents

3-parents

4-parents

5-parents

With Panic Mode

Page 32: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Message Overhead: -10dBm

0

10

20

30

40

50

60

70

80

90

0 0.2 0.4 0.6 0.8 1 1.2 1.4

Speed(m/s)

#M

es

sa

ge

s 1-parent

2-parents

3-parents

4-parents

5-parents

Without Panic

Page 33: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Message Overhead: -10dBm

0

50

100

150

200

250

300

350

400

450

500

0 0.2 0.4 0.6 0.8 1 1.2 1.4

Speed(m/s)

#M

es

sa

ge

s 1-parent

2-parents

3-parents

4-parents

5-parents

With Panic Mode

Page 34: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Links Discovered: -4dBm

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 2.2

Speed(m/s)

Fra

cti

on 1-parent

2-parents

3-parents

4-parents

5-parents

With Panic Mode

Page 35: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Message Overhead: -4dBm

0

50

100

150

200

250

300

350

400

450

0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 2.2

Speed(m/s)

#M

es

sa

ge

s 1-parent

2-parents

3-parents

4-parents

5-parents

With Panic Mode

Page 36: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Conclusions• Algorithm

– Discovers all links & nodes in most slow moving networks

– O(N) message complexity in such networks– Adaptive: The robustness of the mesh is a parameter

of the algorithm

• Target scenario: – Not all nodes are moving… Some moving slowly,

most of them stationary O(N)

Page 37: Adaptive Topology Discovery in Hybrid Wireless Networks Ranveer Chandra Cornell University Joint work with Christof Fetzer and Karin Högstedt AT&T Labs-Research

Questions?