Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile...

39
1 Adapted from Ni et al Wireless Networking & Mobile Computing ECE 299.02 Spring 2007 Ian Wong

Transcript of Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile...

Page 1: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

1Adapted from Ni et al

Wireless Networking & Mobile Computing

ECE 299.02 Spring 2007

Ian Wong

Page 2: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

2

The Broadcast Storm Problem in aMobile Ad-Hoc Network

Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu

Page 3: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

3

Background

Page 4: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

4Adapted from Ni et al

What are we looking at?

Mobile Ad-hoc networks No dedicated servers/base stations for the entire

network Units can move freely Utilizes CSMA without CD

Page 5: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

5

If you don’t know where they are…

What do you do?

Page 6: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

6Adapted from Ni et al

Broadcast!

Page 7: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

7Adapted from Ni et al

Broadcast!

Hi!!!

Page 8: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

8Adapted from Ni et al

Broadcast!

Page 9: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

9Adapted from Ni et al

So, what’s the problem?

Wireless CSMA inherently without CD, so atransmitter cannot inherently be aware ofcollisions

Broadcasts are spontaneous They happen whenever they need to

Broadcasts aren’t reliable A RTS/CTS and even an ACK are too much to ask

for!

Page 10: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

10

We’ve lost our reliable transport!

Page 11: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

11Adapted from Ni et al

How would it happen?

In a very nice, linear system…itworks…

Page 12: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

12Adapted from Ni et al

But…?

Seven transmissions when only threeare required!It’s like a flood! Hence….flooding!

Page 13: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

13Adapted from Ni et al

So, the problem ends up being…

Redundant rebroadcasts Propagating (rebroadcasting) an old packet to a

node is pointless! Increased contention

Spending time propagating an old packet consumesunnecessary bandwidth

Increased collisions Without backoff mechanisms and RTS/CTS,

collisions occur more frequently

Page 14: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

14Adapted from Ni et al

So, about rebroadcasts…

They can be expensive! Use with caution!

• Where INTC(d) is the intersection area, where d є {0,r}

If d = r, then πr2 – INTC(r) ≈ 0.61πr2

Maximal improvement of at most 61% Average Improvements

• ≈ 0.41πr2 for the first• ≈ 0.19πr2 for the second• < 0.05πr2 for the fifth…

Page 15: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

15

Besides sheer area, once we’ve heardthe first broadcast…

Page 16: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

16Adapted from Ni et al

…who’s the first to speak?An analysis of Contention The probability of contention can be

calculated by:

In the simplest case, when two receive thesame broadcast, the chance of contention is≈ 59% This probability increases with increasing local

density

Page 17: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

17Adapted from Ni et al

…Can you hear me now? Collisions!

CSMA/CA backs off if the carrier is busy But,

Overly quiet channels may lead many nodes toexpend their backoff and transmit at the sametime

No RTS/CTS dialogue precludes forewarning Without CD (collision detection), the host will

waste bandwidth until packet transmissioncompletes

Page 18: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

18

So, given these problems…

…how could we solve them?

Page 19: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

19

What if…

…only a few need to yell?

An exercise in probability…

Page 20: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

20Adapted from Ni et al

A Probabilistic Approach

What does it mean? Always yelling once you’ve heard something

• Probability of P = 1 Maybe yelling once you’ve heard something

• Probability of P < 1

Assumptions Assumes that the topology of the network is fairly

dense, or that the probabilities are selected basedon the network topology

Page 21: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

21

So, since it’s probabilistic…

…what are the chances that it’ll beeffective?

Page 22: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

22Adapted from Ni et al

First…what is effective?

Performance metrics Reachability

• Total # of reachable nodes/# of initially reachable nodes

Saved ReBroadcast• SRB = (r-t)/r

Average latency• tlast rebroadcast – tfirst broadcast

Page 23: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

23

Now that we’ve got metrics…

…how does our theory fare?

Page 24: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

24Adapted from Ni et al

Analysis of Probabilistic Propagation

SRB decreases by ~(1-P) as P increases Broadcast latency increases as P increases, but more

sparse networks complete broadcasting faster Why?

Page 25: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

25

One Mississippi, Two Mississippi…

Using Counters!

Page 26: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

26Adapted from Ni et al

Counting sheep…

Why count? Similar to deterministic probability

How do we do it? After hearing a message for the first time, start a

counter and count the number of overheardrepeats

If after a random backoff the number of countsdoes not exceed threshold, rebroadcast themessage

If the number of repeats exceeds the thresholdbefore the time has elapsed, then do notpropagate the message

Page 27: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

27Adapted from Ni et al

I count one sheep, two sheep,…

High RE in C ≥ 3 SRB decreases with decreasing density

Why? 27% to 67% savings for higher density maps

Low latency

Page 28: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

28

Why transmit purely at random…

…when you can transmit only if yougain an advantage?

Page 29: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

29Adapted from Ni et al

Leveraging distances!

Instead of simply counting, let’s improvethat…why not look at additional coverage? Define minimum amount of extra coverage

calculated by πr2 – INTC(r)• Define a minimum distance D that provides at least a

certain amount of additional coverage Out of all overheard transmissions, determine the

distance dmin to the closest node. If distance dmin < D, don’t transmit… If distance dmin > D, propagate!

Page 30: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

30Adapted from Ni et al

Do levers work?

Ds selected as effective comparisons for Counter schemes Equally high RE as counter SRB significantly lower (10% to 37%) Higher latency

If counter and distance are so similar, why all these issues? At higher data rates, SRB and RE drops. Why?

Page 31: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

31

More area?

Is there a better way to estimateextra coverage?

Page 32: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

32Adapted from Ni et al

Location, location, location!

Given that we know relative distances, whatabout absolute distances? Acquire the location of broadcasting hosts to

precisely estimate coverage• Use external positioning devices, like GPS

Improves Distance-based topology Recalculate effective area when you hear each new

retransmission

Page 33: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

33Adapted from Ni et al

Absolute location locates absolutely…butdoes it help absolutely…?

High RE High SRB Lowest latency of four statistical/geometrical

methods

Page 34: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

34

Aside from statistics and geometry…

…how else can you maximize yourthroughput?

Page 35: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

35Adapted from Ni et al

Clusters

Go on…make little groups and talk to who’saround you… Each host knows who’s around it One card, low draw to see who gets to be the local

cluster head Local heads draw between one another to figure

out who is a global head How does this help?

Only the cluster heads need to retransmit to thecluster

Gateways need to retransmit between clusterheads

Members just sit and listen

Page 36: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

36Adapted from Ni et al

This ain’t no cluster…

Highest consistent SRB Lowest latency Significant drop in RE at low densities

Page 37: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

37Adapted from Ni et al

So…

One problem. Five approaches… V(aries), H(igh), M(edium), L(ow)

EffectivenessRE SRB Latency

Probabilistic V V M Counting H M L Distance H L M Location H H L Clustering V H L

Page 38: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

38Adapted from Ni et al

Not just probabilistic, but better!

Gossiping (Probabilistic Flooding) Difference from ideal situations and packet

collision issues due to phase transitions – smallchanges can cause large changes [3]

Hypergossiping [2] Partition nodes

• Efficient intra-partition forwarding• Retransmit an adequate subset of messages on partition

joins Adapt gossiping probability to node density to

reduce broadcast storms

Page 39: Wireless Networking & Mobile Computing€¦ · Ian Wong. 2 The Broadcast Storm Problem in a Mobile Ad-Hoc Network Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. 3 Background.

39Adapted from Ni et al

References[1] Sze-Yao Ni, Yu-Chee Tseng, Yuh-Shyan Chen, Jang-Ping Sheu. The Broadcast

Storm Problem in a Mobile Ad-Hoc Network[2] Abdelmajid Khelil, Pedro Jose Marron, Christian Becker, Kurt Rothermel

Hypergossiping: A Generalized Broadcast Strategy for Mobile Ad HocNetworks

[3] Yoav Sasson David Cavin Andr´e Schiper. Probabilistic Broadcast for Flooding inWireless Mobile Ad hoc Networks