sensor networks
play

Sensor Networks Where Theory Meets Practice Roger Wattenhofer ETH - PowerPoint PPT Presentation

Sensor Networks Where Theory Meets Practice Roger Wattenhofer ETH Zurich Distributed Computing www.disco.ethz.ch Theory Meets Practice SenSys OSDI HotNets Multimedia Ubicomp PODC STOC Mobicom FOCS SIGCOMM ICALP SPAA SODA EC


  1. Sensor Networks Where Theory Meets Practice Roger Wattenhofer ETH Zurich – Distributed Computing – www.disco.ethz.ch

  2. Theory Meets Practice SenSys OSDI HotNets Multimedia Ubicomp PODC STOC Mobicom FOCS SIGCOMM ICALP SPAA SODA EC

  3. Wireless Communication?

  4. Capacity!

  5. Protocol Model Reception Range Interference Range

  6. 6

  7. Physical (SINR) Model

  8. Signal-To-Interference-Plus-Noise Ratio (SINR) Formula Received signal power from sender Power level of sender u Path-loss exponent Minimum signal- to-interference Noise ratio Distance between Received signal power from two nodes all other nodes (=interference)

  9. Example: Protocol vs. Physical Model C D B A 4m 1m 2m Assume a single frequency (and no fancy decoding techniques!) NO Protocol Model Is spatial reuse possible? YES With power control Let  =3,  =3, and N=10nW Transmission powers: P B = -15 dBm and P A = 1 dBm SINR of A at D: SINR of B at C:

  10. This works in practice … even with very simple hardware u 1 u 2 u 3 u 4 u 5 u 6 Time for transmitting 20‘000 packets: Speed-up is almost a factor 3 [Moscibroda, W, Weber, Hotnets 2006]

  11. Possible Application – Hotspots in WLAN Y X Z

  12. Possible Application – Hotspots in WLAN Y X Z

  13. The Capacity of a Network (How many concurrent wireless transmissions can you have)

  14. Convergecast Capacity in Wireless Sensor Networks [Moscibroda, W, 2006] [Giridhar, Kumar, 2005] Worst-Case Capacity Classic Capacity Max. rate in random, Max. rate in arbitrary, Topology uniform deployment worst-case deployment Model/Power  (1/𝑜)  (1/log 𝑜) Protocol Model Physical Model  (1/log 3 𝑜)  (1/log 𝑜) (power control) 15

  15. Capacity of a Network Real Capacity How much information can be transmitted in any network? Worst-Case Capacity Classic Capacity How much information can be How much information can be transmitted in nasty networks? transmitted in nice networks?

  16. Core Capacity Problems Given a set of arbitrary communication links One-Shot Problem Find the maximum size feasible subset of links O(1) approximations for uniform power [Goussevskaia, Halldorsson, W, 2009 & 2014] as well as arbitrary power [Kesselheim, 2011] Scheduling Problem Partition the links into fewest possible slots, to minimize time Open problem: Only 𝑃(log 𝑜) approximation using the one-shot subroutine

  17. The Capture Effect

  18. Receiving Different Senders

  19. “Layer” Abstraction -64 dBm Layer 4 Layer 3 -70 dBm -75 dBm Layer 2 Layer 1 -81 dBm [König, W, 2016]

  20. Constructive Interference

  21. Energy Efficiency?

  22. Clock Synchronization!

  23. Clock Synchronization Example: Dozer • Multi-hop sensor network with duty cycling • 10 years of network life-time, mean energy consumption: 0.066mW • High availability, reliability (99.999%) • Many different applications use Dozer: TinyNode, PermaSense, etc. [Burri, von Rickenbach, W, 2007]

  24. Problem: Physical Reality clock rate 1 + 𝜁 1 1 − 𝜁 t message delay

  25. Clock Synchronization in Theory? Given a communication network 1. Each node equipped with hardware clock with drift 2. Message delays with jitter worst-case (but constant) Goal: Synchronize Clocks (“Logical Clocks”) • Both global and local synchronization!

  26. Time Must Behave! • Time (logical clocks) should not be allowed to stand still or jump

  27. Local Skew Tree-based Algorithms Neighborhood Algorithms e.g. FTSP e.g. GTSP Bad local skew

  28. Synchronization Algorithms: An Example (“ A max ”) • Question: How to update the logical clock based on the messages from the neighbors? • Idea: Minimizing the skew to the fastest neighbor – Set clock to maximum clock value you know, forward new values immediately • First all messages are slow (1), then suddenly all messages are fast (0)! Fastest Hardware Clock Time is T Time is T Time is T … Clock value: Clock value: Clock value: Clock value: T-D T T-1 T-D+1 T T skew D

  29. Local Skew: Overview of Results Everybody‘s expectation, 10 years ago („solved“) Blocking All natural algorithms [Locher et al., DISC 2006] algorithm Lower bound of log D / loglog D [Fan & Lynch, PODC 2004] 1 log D √D D … Dynamic Networks! [Kuhn et al., SPAA 2009] Kappa algorithm [Lenzen et al., FOCS 2008] Dynamic Networks! Tight lower bound [Kuhn et al., PODC 2010] [Lenzen et al., PODC 2009] together [JACM 2010]

  30. Experimental Results for Global Skew FTSP PulseSync [Lenzen, Sommer, W, 2014]

  31. Experimental Results for Global Skew FTSP PulseSync [Lenzen, Sommer, W, 2014]

  32. Network Dynamics?

  33. Distributed Control!

  34. Complexity Theory Can a Computer Solve Problem P in Time t ?

  35. Distributed Complexity Theory Network Can a Computer Solve Problem P in Time t ?

  36. Network Distributed Complexity Theory Network Can a Computer Solve Problem P in Time t ?

  37. Distributed (Message-Passing) Algorithms • Nodes are agents with unique ID’s that can communicate with neighbors by sending messages. In each synchronous round, every node can send a (different) message to each neighbor. 17 11 69 10 7

  38. Distributed (Message-Passing) Algorithms • Nodes are agents with unique ID’s that can communicate with neighbors by sending messages. In each synchronous round, every node can send a (different) message to each neighbor. 17 11 69 10 7 • Distributed (Time) Complexity: How many rounds does problem take?

  39. An Example

  40. How Many Nodes in Network?

  41. How Many Nodes in Network?

  42. How Many Nodes in Network?

  43. How Many Nodes in Network?

  44. How Many Nodes in Network?

  45. How Many Nodes in Network? 1 1 1 1 1 1

  46. How Many Nodes in Network? 1 2 1 2 1 1 4 1 1

  47. How Many Nodes in Network? 1 2 1 2 1 1 4 10 1 1 With a simple flooding/echo process, a network can find the number of nodes in time 𝑃(𝐸) , where 𝐸 is the diameter (size) of the network.

  48. Diameter of Network? • Distance between two nodes = Number of hops of shortest path

  49. Diameter of Network? • Distance between two nodes = Number of hops of shortest path

  50. Diameter of Network? • Distance between two nodes = Number of hops of shortest path • Diameter of network = Maximum distance, between any two nodes

  51. Diameter of Network?

  52. Diameter of Network?

  53. Diameter of Network?

  54. Diameter of Network?

  55. Diameter of Network?

  56. Diameter of Network?

  57. Networks Cannot Compute Their Diameter in Sublinear Time! (even if diameter is just a small constant) Pair of rows connected neither left nor right? Communication complexity: Transmit Θ(𝑜 2 ) information over O(𝑜) edges  Ω(𝑜) time! [Frischknecht, Holzer, W, 2012]

  58. Distributed Complexity Classification log ∗ 𝑜 1 polylog 𝑜 𝐸 poly 𝑜 e.g., dominating MIS, approx. of diameter, MST, set approximation dominating set, verification of e.g. in planar graphs vertex cover, ... spanning tree, … various problems count, sum, in growth-bounded spanning tree, graphs ... e.g., [Kuhn, Moscibroda, W, 2016]

  59. Self- Applications Assembly e.g. Multi-Core Self- Stabilization Distributed Complexity Sublinear Algorithms Dynamic (e.g. Ad Hoc) Networks

  60. Self- Applications Assembly e.g. Multi-Core Self- Stabilization Distributed Complexity Sublinear Algorithms Dynamic (e.g. Ad Hoc) Networks

  61. Summary

  62. The Capture Effect

  63. Theory for sensor networks, what is it good for?! How many lines of pseudo code Can you implement on a sensor node? The best algorithm is often complex And will not do what one expects. Theory models made lots of progress Reality, however, they still don’t address. My advice: invest your research £££s in ... impossibility results and lower bounds!

  64. Thank You! Questions & Comments? Thanks to my co-authors, mostly Silvio Frischknecht Magnus Halldorsson Stephan Holzer Michael König Christoph Lenzen Thomas Moscibroda www.disco.ethz.ch Philipp Sommer

Recommend


More recommend