a data-first architecture for unstructured wireless networks

53
A Data-First Architecture for Unstructured Wireless Networks Michael Meisel Ph.D. Dissertation ProspectusOctober 12, 20

Upload: andren

Post on 12-Jan-2016

43 views

Category:

Documents


0 download

DESCRIPTION

A Data-First Architecture for Unstructured Wireless Networks. Michael Meisel. Ph.D. Dissertation ProspectusOctober 12, 2010. Unstructured Wireless Networks. Multi-hop No controlled mobility Topology can be highly dynamic Can be connected or disconnected - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: A Data-First Architecture for Unstructured Wireless Networks

A Data-First Architecturefor Unstructured Wireless Networks

Michael Meisel

Ph.D. Dissertation ProspectusOctober 12, 2010

Page 2: A Data-First Architecture for Unstructured Wireless Networks

2

Unstructured Wireless Networks

•Multi-hop

•No controlled mobility

•Topology can be highly dynamic

•Can be connected or disconnected

•Examples: MANETs, VANETs, disruption-tolerant networks, combinations thereof

Page 3: A Data-First Architecture for Unstructured Wireless Networks

3

Goals

•One architecture that will work on any unstructured network

•Follow the Named Data Networking (NDN) philosophy

•Data first: delivery based on “what”, not “where”

•Get rid of holdovers from the wired domain

Page 4: A Data-First Architecture for Unstructured Wireless Networks

4

Current Paradigm

•Provide data delivery from source to destination node

•Treat connected and disconnected networks separately

Page 5: A Data-First Architecture for Unstructured Wireless Networks

5

Connected or Disconnected?

Page 6: A Data-First Architecture for Unstructured Wireless Networks

6

Current Approaches

Page 7: A Data-First Architecture for Unstructured Wireless Networks

7

Connected Nets: The Wired Approach

1. Each node is assigned an IP address

2. Applications communicate using destination IPs

3. The routing protocol finds a single best path from source to destination

4. At each hop along the path, the sender determines which single node (based on step 3) is allowed to forward the data

Page 8: A Data-First Architecture for Unstructured Wireless Networks

8

Issues with The Wired Approach

•IP addresses lose their meaning, aggregatability in mobile nets

•Applications care about data, not location

•Finding, maintaining hop-by-hop paths is expensive

•Pre-determined paths don’t take advantage of the broadcast nature of wireless

Page 9: A Data-First Architecture for Unstructured Wireless Networks

9

Alternative: Opportunistic Routing

•Improvements:

•Takes advantage of the broadcast nature of wireless

•Shortcomings:

•Focused on stationary mesh networks

•Still dependent on IP addressing, location-based delivery

•Examples: ExOR [1], MORE [2][1] S. Biswas and R. Morris. ExOR: opportunistic multi-hop routing for wireless networks. ACM SIGCOMM Computer Communication Review, 35(4):144, 2005.[2] S. Chachulski, M. Jennings, S. Katti, and D. Katabi. Trading structure for randomness in wireless opportunistic routing. In SIGCOMM ’07, pages 169–180. ACM, 2007.

Page 10: A Data-First Architecture for Unstructured Wireless Networks

10

Disconnected Network Routing

•Improvements:

•Can take advantage of the broadcast nature of wireless

•No IP addressing

•Shortcomings:

•Inefficient for connected networks (or network segments)

•Examples: Epidemic routing [3], Spray and Wait [4][3] A. Vahdat and D. Becker. Epidemic routing for partially-connected ad hoc networks. Technical Report CS-2000-06, Duke University, 2000.[4] T. Spyropoulos, K. Psounis, and C. S. Raghavendra. Spray and wait: an efficient routing scheme for intermittently connected mobile networks. In WDTN: SIGCOMM Workshop on Delay-Tolerant Networking, 2005.

Page 11: A Data-First Architecture for Unstructured Wireless Networks

11

Named Data Networking (NDN)

Page 12: A Data-First Architecture for Unstructured Wireless Networks

12

NDN Architecture

• Routing/forwarding is based on data names instead of node addresses

Page 13: A Data-First Architecture for Unstructured Wireless Networks

13

NDN Communication

•(Optional Step 0: Use a routing protocol to announce names)

•Step 1: An application sends an Interest packet containing a request for data by name. It can be flooded or routed.

•Step 2: Any node that has the data can send a Data packet back towards the source of the Interest. Intermediate nodes cache the data.

•Future Interests for the same name can be serviced by caches

Page 14: A Data-First Architecture for Unstructured Wireless Networks

14

22

Interest

ucla/home

Requester

Responderucla/home

Assume we flood Interests.Assume we flood Interests.

Page 15: A Data-First Architecture for Unstructured Wireless Networks

15

Requester

Responder

22

By forwarding the Interests, the intermediate nodes have established a path from responder to requester.

By forwarding the Interests, the intermediate nodes have established a path from responder to requester.

Page 16: A Data-First Architecture for Unstructured Wireless Networks

16

Requester

Responder

22

Data

ucla/home

The nodes that forward the data also cache it.The nodes that forward the data also cache it.

Page 17: A Data-First Architecture for Unstructured Wireless Networks

17

22

Interest

ucla/home

Requesterucla/home

Suppose another node requests the same data name.

Suppose another node requests the same data name.

Page 18: A Data-First Architecture for Unstructured Wireless Networks

18

22

Data

ucla/home

Requesterucla/home

Responder

Responder

Its immediate neighbors have cached the appropriate data, so they can respond.

Its immediate neighbors have cached the appropriate data, so they can respond.

Page 19: A Data-First Architecture for Unstructured Wireless Networks

19

NDN Advantages for Unstructured Nets

•Applications can communicate based on data names only, no need to worry about location

•Unlike IP addresses, data names are always meaningful

•Built-in caching for disconnected networks

•Can interoperate with wired NDN infrastructure

Page 20: A Data-First Architecture for Unstructured Wireless Networks

20

Listen First, Broadcast Later (LFBL)

Page 21: A Data-First Architecture for Unstructured Wireless Networks

21

What is LFBL?

•A forwarding protocol for connected wireless networks

•A proof-of-concept for NDN in multi-hop wireless networks

Page 22: A Data-First Architecture for Unstructured Wireless Networks

22

LFBL Goals

•Name-based communication at the application layer

•Broadcast-only communication at the MAC layer

•No control packets

•Use the best available path on the fly

•No path selection in advance

Page 23: A Data-First Architecture for Unstructured Wireless Networks

23

Communication

•At first, requests are flooded

•Requests contain the desired name

•Any number of responders may respond with a data packet

•Responses take the best available path back to the requester

•Further requests for the same name take the best available path to the responder(s)

Page 24: A Data-First Architecture for Unstructured Wireless Networks

24

Broadcast-Only Forwarding

•Forwarding decisions must be made by the receiver

•Step 1: Determine if I am eligible to forward the packet. If so:

•Step 2: Listen to see if another node closer to the intended destination forwards the packet. If not:

•Step 3: Forward the packet

Page 25: A Data-First Architecture for Unstructured Wireless Networks

25

Follow-up Questions

•How does a receiver know if it’s eligible to forward?

•How long should a receiver listen, waiting for someone else to forward?

Page 26: A Data-First Architecture for Unstructured Wireless Networks

26

Distances and Eligibility

•The network shares a single distance metric

•(Could be: hop count, receive power, geo distance...)

•In every packet, senders broadcast their distance to the requester and/or responder

•Nodes track their distance to active endpoints

•Only nodes closer to the destination are eligible forwarders

Page 27: A Data-First Architecture for Unstructured Wireless Networks

27

Listening Periods

•Eligible forwarders choose their listening period based on the network’s delay metric

•Tells the node how long to wait before forwarding

•Only forward if a closer node does not forward before the listening period is over

Page 28: A Data-First Architecture for Unstructured Wireless Networks

28

C

B

S

A

E

F

D

R

R broadcasts a request,all nodes forward, record their distance from R

R broadcasts a request,all nodes forward, record their distance from R

d(F,R) = 3

d(E,R) = 3d(B,R) = 8

d(A,R) = 10

d(C,R) = 10

d(S,R) = 14

d(D,R) = 16

Page 29: A Data-First Architecture for Unstructured Wireless Networks

29

S R

S broadcasts a response.D will never forward.A, B, or C may forward... after some delay.

S broadcasts a response.D will never forward.A, B, or C may forward... after some delay.

d(S,R) = 14

C

B

A

E

F

D

d(B,R) = 8

d(A,R) = 10

d(C,R) = 10

d(D,R) = 1616 > 14ineligible

Page 30: A Data-First Architecture for Unstructured Wireless Networks

30

R

The delay depends on the network’s delay metric.

The delay depends on the network’s delay metric.

d(S,R) = 14

C

B

A

E

F

D

d(B,R) = 8

d(A,R) = 10

d(C,R) = 10

wait = ?

wait = ?

wait = ?

S

Page 31: A Data-First Architecture for Unstructured Wireless Networks

31

R

Simplest delay metric: random.Simplest delay metric: random.

E

F

D

C

B

A

S

wait = random()

wait = random()

wait = random()

Page 32: A Data-First Architecture for Unstructured Wireless Networks

32

R

But the receivers have some useful information: their own distance to R and S’s distance to R.

But the receivers have some useful information: their own distance to R and S’s distance to R.

d(S,R) = 14E

F

D

C

B

A

S

d(B,R) = 8

d(A,R) = 10

d(C,R) = 10

Page 33: A Data-First Architecture for Unstructured Wireless Networks

33

S R

distance traversed from S = 5d(C,R) = 10

d(S,C,R) = 5+10 = 15wait ∝ 15-14

d(S,R) = 14

C

B

A

E

F

D

C can calculate its listening period by comparing S’s claimed distance to R with its own prediction, assuming the packet were to travel through C. Its listening period will be proportional to the difference.

C can calculate its listening period by comparing S’s claimed distance to R with its own prediction, assuming the packet were to travel through C. Its listening period will be proportional to the difference.

5

Page 34: A Data-First Architecture for Unstructured Wireless Networks

34

S R

Suppose all neighbors received the packet.B will forward immediately.

Suppose all neighbors received the packet.B will forward immediately.

C

B

A

E

F

D

distance traversed from S = 6d(C,R) = 8d(S,R) = 6+8 = 14wait ∝ 14-14

wait ∝ 1(same as C)

wait ∝ 1

Page 35: A Data-First Architecture for Unstructured Wireless Networks

35

S R

A and C hear B before their listening period ends, so they do not forward.

A and C hear B before their listening period ends, so they do not forward.

C

B

A

E

F

D

Page 36: A Data-First Architecture for Unstructured Wireless Networks

36

S R

Suppose B moved away.Suppose B moved away.

C

B

A

E

F

D

B

Page 37: A Data-First Architecture for Unstructured Wireless Networks

37

S R

A and C will forward the packet instead, once their listening period is over.

A and C will forward the packet instead, once their listening period is over.

C

A

E

F

D

B

wait ∝ 1

wait ∝ 1

Page 38: A Data-First Architecture for Unstructured Wireless Networks

38

S R

C

B

A

E

F

D

wait ∝ 1

wait ∝ 1

But A and C will try to forward at the same time, resulting in a collision!

But A and C will try to forward at the same time, resulting in a collision!

Page 39: A Data-First Architecture for Unstructured Wireless Networks

39

R

C

A

F

D

x = random()wait += x

y = random()wait += y

S

E

Simple solution: include a random factor as well.Suppose y < x.C will forward first, A will overhear and not forward.

Simple solution: include a random factor as well.Suppose y < x.C will forward first, A will overhear and not forward.

B

Page 40: A Data-First Architecture for Unstructured Wireless Networks

40

Preliminary Handling of Stale State

•Distances will become stale, discard old ones

•Track variance in distance change

•Make nodes with greater variance have longer listening periods

•Allows us to implicitly prefer more stable paths

Page 41: A Data-First Architecture for Unstructured Wireless Networks

41

LFBL Simulation Results

Page 42: A Data-First Architecture for Unstructured Wireless Networks

42

Simulation Setup

•QualNet simulator

•100 nodes

•1500 x 1500 meter area

•Random waypoint using steady-state initialization [5]

•Bidirectional traffic; one request-response every 100 ms; multiple node pairs

[5] W. Navidi and T. Camp. Stationary distributions for the random waypoint mobility model. Mobile Computing, IEEE Transactions on, 3(1):99 – 108, Jan 2004.

Page 43: A Data-First Architecture for Unstructured Wireless Networks

43

Evaluation Metrics

•Roundtrip time: Time from request sent to response received

•Response ratio: Responses received over requests sent

•Overhead: Percent of bytes transmitted not in direct service of data delivery

•Path length: Average length of all paths used for successful data delivery

•Total data transferred: Total number of bytes successfully received at all endpoints (requesters and responders)

Page 44: A Data-First Architecture for Unstructured Wireless Networks

44

Distance and Delay Metric Comparison

Page 45: A Data-First Architecture for Unstructured Wireless Networks

45

Percent of Nodes Mobile

Page 46: A Data-First Architecture for Unstructured Wireless Networks

46

Percent of Nodes Mobile

Page 47: A Data-First Architecture for Unstructured Wireless Networks

47

Name-Based Forwarding

Page 48: A Data-First Architecture for Unstructured Wireless Networks

48

Problems with Stale State

Request Interval (seconds)

Page 49: A Data-First Architecture for Unstructured Wireless Networks

49

Dissertation Goals

Page 50: A Data-First Architecture for Unstructured Wireless Networks

50

Goal 1: Caching Support

•Purpose:

•Can improve performance in connected networks

•Necessary to support disconnected networks

•Challenges:

•Will require significant changes to how LFBL deals with names

•Selection of cache replacement algorithm

Page 51: A Data-First Architecture for Unstructured Wireless Networks

51

Goal 2: Better Handle Stale State

•Purpose:

•More reliable delivery, less flooding

•Challenges:

•Mitigating the effects of stale state

•Detecting delivery problems due to staleness quickly

Page 52: A Data-First Architecture for Unstructured Wireless Networks

52

Goal 3: Disconnected Network Support

•Purpose:

•Unify connected and disconnected networks

•The NDN architecture already provides caching

•Challenges:

•NDN should work for disconnected networks/DTNs in theory, but has not been tried in practice

•Any protocol adjustments necessary for disconnected networks must still work in connected networks

Page 53: A Data-First Architecture for Unstructured Wireless Networks

53

Timeline

•November 2010: Initial caching support

•December 2010: Various stale state handling techniques

•January 2011: Simulation and evaluation; understand behavior in connected and disconnected networks

•February 2011: Iteration on and selection of techniques developed above

•March 2011: Final results and dissertation ready