Presentation is loading. Please wait.

Presentation is loading. Please wait.

David Culler Fall 2003 University of California, Berkeley

Similar presentations


Presentation on theme: "David Culler Fall 2003 University of California, Berkeley"— Presentation transcript:

1 David Culler Fall 2003 University of California, Berkeley
CS294-1 Deeply Embedded Networks Broadcast / Dissemination Sept 18, 2003 David Culler Fall 2003 University of California, Berkeley Thank you Tag team: software / tinyos part, Kris hardware/smart dust part Hopefully let you play with the toys so you don’t get too anxious before lunch

2 BCAST: Fundamental building block
Command Wake-up Form routing tree Discover route Source-destination discovery (DSR, AODV) Exploration in directed diffusion Time-synch Constructed from underlying local broadcast (cell) 11/12/2018 CS294-1 F03

3 Flooding Simple Epidemic Algorithm Schema Command, dissemination
if (new bcast msg) then take local action retransmit modified request Command, dissemination Build spanning tree record parent Naturally adapts to available connectivity Minimal state and protocol overhead => surprising complexity in this simple mechanism 11/12/2018 CS294-1 F03

4 Network Discovery: Radio Cells
11/12/2018 CS294-1 F03

5 Network Discovery 11/12/2018 CS294-1 F03

6 Controlled Empirical Study
Experimental Setup 13x13 grid of nodes separation 2ft flat open surface Identical length antennas, pointing vertically upwards. Fresh batteries on all nodes Identical orientation of all nodes The region was clean of external noise sources. Range of signal strength settings Log many runs 11/12/2018 CS294-1 F03

7 Example “epidemic” tree formation
11/12/2018 CS294-1 F03

8 Final Tree 11/12/2018 CS294-1 F03

9 Open Territory => Many Children
Example: Level 1 11/12/2018 CS294-1 F03

10 Open Territory => Many Children
Example: Level 2 – variation in distance 11/12/2018 CS294-1 F03

11 Open Territory => Many Children
Example: Level 3 – long links 11/12/2018 CS294-1 F03

12 Power Laws ? Most nodes have very small degree (ave = .92)
Some have degree = 15% of the population Few large clusters account for most of the edges 11/12/2018 CS294-1 F03

13 Understanding Connectivity
16 transmit power settings For each transmit power setting, each node transmits 20 packets. Receivers log successfully received packets. Nodes transmit one after the other in a token-ring fashion No collisions. Define “range”: radius where 75% of enclosed nodes receive 75% of packets Often good nodes at a distance probability of reception from center node vs xmit strength 11/12/2018 CS294-1 F03

14 Sensitivity Hardware platform? MAC? 11/12/2018 CS294-1 F03

15 Broadcast Storm Redundant broadcasts Contention Collisions
Transmission when all nbrs have the message Contention After a transmission, many neighbors likely to rebroadcast at nearly same time Highly correlated behavior Collisions Node is likely to hear multiple conflicting transmissions Storm paper cites lack of RTS/CTS, but is more fundamental => everyone need not transmit Reduce redundancy. Will also reduce contention and collision 11/12/2018 CS294-1 F03

16 Collisions Nodes out of range may have overlapping cells
hidden terminal effect Collisions => these nodes hear neither ‘parent’ become stragglers As the tree propagates folds back on itself rebounds from the edge picking up these stragglers. Seen in many experiments Mathematically complex because behavior is not independent beyond singe cell 11/12/2018 CS294-1 F03

17 SPIN version of problems
Implosion Node hears same msg from many neighbors Overlap Two transmitting nodes may have large intersection of neighbors Resource blindness Some nodes may have to do more than others Favor energy-rich nodes when winowing redundancy Coming from IP multicast perspective 11/12/2018 CS294-1 F03

18 Estimating Redundancy
Geometric overlap At best an additional 41% area Decreasing yield with number of neighbors msgs Estimation of contention Potential contention Delay can always take prob. Of contention to zero Collisions No RTS/CTS to help Observes that MACs don’t pay enough attention one-to-many case 11/12/2018 CS294-1 F03

19 Selective Retransmission Schemes
Probabilistic Retransmission Fixed prob. What would be the right choice? Counter When hear msg, start random delay If hear C msgs during wait, don’t retransmit Distance If nearest node from which msg is heard is less than some threshold, don’t retransmit Location If portion of cell not covered by transmitting neighbors is less than some threshold, don’t retransmit Cluster-based Partition graph into cluster heads, gateways, and members Members don’t transmit 11/12/2018 CS294-1 F03

20 Ni findings: Probabilistic Squelch
What is the expected degree of each configuration? 100 in nxn => ~40/n (except n=1) Is “latency” meaningful when reachability is low How many neighbors transmit? Savings versus nodes per cell Reducing contention trims latency tail 11/12/2018 CS294-1 F03

21 Are random-placement graphs reasonable?
11/12/2018 CS294-1 F03

22 P = Prob(exists unbounded connected component)
Percolation of Random Graphs λ P λ2 1 λc λ1 P = Prob(exists unbounded connected component) Ed Gilbert (1961) 11/12/2018 CS294-1 F03

23 Example l=0.3 l=0.4 = …[Quintanilla, Torquato, Ziff, J. Physics A, 2000] lc r2 11/12/2018 CS294-1 F03

24 A different connectivity model
Presence of long links dramatically change overlap estimate Changes the percolation point too. 11/12/2018 CS294-1 F03

25 CNP for the standard connection model (disc) Shifting and squeezing
Squishing and squashing 11/12/2018 CS294-1 F03 MASSIMO FRANCESCHETTI

26 Asymmetric Links Asymmetric Link: 10%-25% of links are asymmetric
>65% successful reception in one direction <25% successful reception in the other direction 10%-25% of links are asymmetric Many long links are asymmetric in large field it is likely that someone far away can hear you what does this mean for protocol design? OK for broadcast, not for tree build 11/12/2018 CS294-1 F03

27 Counter Scheme At reasonable degree, (16 in 5x5) need C=4 and only save ~10% Delay improves latency Delay may be more fundamental than squelch But Ni uses single delay, independent of nbhd 11/12/2018 CS294-1 F03

28 Distance and location Modest Savings at reasonable degree. 11/12/2018
CS294-1 F03

29 Flooding vs Gossip In gossip protocols, at each step pick a random neighbor Assumes an underlying connectivity graph Typically used when graph is full connected E.g., ip Much slower propagation 11/12/2018 CS294-1 F03

30 SPIN Assume data much larger than protocol message 3-phase handshake
600 bytes vs 16 3-phase handshake ADV – advertise new data Send to indicate have data to xmit REQ – request for data Response saying go ahead Data If all nbrs have data, no req comes back If one req’s, others snoop data and squelch own request 11/12/2018 CS294-1 F03

31 Spin Example 11/12/2018 CS294-1 F03

32 Delay Upon receiving ADV, If receive REQ What if links not symmetric?
If not already received data or ADV set random timer When expires, if still no data, send REQ If receive REQ Cancel own REQ What if links not symmetric? If not enough energy to finish, don’t REQ Spin-RL Set timeout on req and retry till get Limit resend rate 11/12/2018 CS294-1 F03

33 Study Lossless No contention! 11/12/2018 CS294-1 F03

34 With Loss (and contention)
11/12/2018 CS294-1 F03

35 Traffic ADV(i) is fundamentally no different from data(i)
SPIN does nothing to eliminate redundancy in ADV Does introduce delay to reduce collision and contention Loss is fundamental since hidden nodes are prevasive 11/12/2018 CS294-1 F03

36 Generalizing from one graph?
11/12/2018 CS294-1 F03

37 Adaptive BCAST rate Upon first msg of epoch Upon expiration of delay
Start random delay If new msg arrives during delay Filter message (eg., discard if signal strength below threshold) If passes filter, Utilize message Start new delay Upon expiration of delay Complete local processing E.g., pick lowest depth node with strongest signal as parent Retransmit Delay is proportion to cell density Wait till ngbrs go quiet before transmit Approx uniform transmissions per unit area, regardless of node density Exploit long links when appropriate 11/12/2018 CS294-1 F03

38 Example Tree 11/12/2018 CS294-1 F03

39 Is this a good broadcast tree?
Only internal nodes retransmit? How much will you eliminate? Graph analysis of spatially constrained trees 11/12/2018 CS294-1 F03

40 What more to ensure reliability
Retransmit till neighbors get it Must maintain underlying connectivity graph Ambient repair 11/12/2018 CS294-1 F03

41 questions Methodology for evaluating bcast
Data Size, one-time, repetitive Net Scale, density variation Underlying mac, radio Reliability, convergence What is the right way to do it? 11/12/2018 CS294-1 F03


Download ppt "David Culler Fall 2003 University of California, Berkeley"

Similar presentations


Ads by Google