1 / 71

On Fault Tolerance in Wireless Ad Hoc Networks

Explore fault tolerance in wireless ad hoc networks using virtual infrastructure, focusing on coordination, consensus, and dynamic environments. Learn about challenges and solutions in this cutting-edge research.

lindadsmith
Download Presentation

On Fault Tolerance in Wireless Ad Hoc Networks

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. On Fault Tolerance in Wireless Ad Hoc Networks Seth Gilbert Nancy Lynch Celebration, 2008

  2. Nancy Lynch 2002-2008 1997 1994 Late 1980’s??

  3. FLP: Impossibility of distributed consensus with one faulty process Consistency Fault tolerance DLS: Consensus in the Presence of Partial Synchrony Simulation Relations, Invariant-based Arguments Replication Timing LT: An Introduction to Input / Output Automata 2008 Formal Methods 2004 2000 1996 1992 1988 1984 • Increasingly complex, increasingly dyamic: • Group communication / membership • Publish / Subscribe • Peer-to-peer systems • Wireless ad hoc networks 1980

  4. The Virtual Infrastructure Project

  5. Papers: GeoQuorums: Implementing Atomic Memory in Mobile Ad Hoc Networks, DGLSW, DISC’03, DC’05 Virtual Mobile Nodes for Mobile Ad Hoc Networks,DGLSSW, DISC’03 Consensus and Collision Detectors in Wireless Ad Hoc Networks, CDGNN, PODC’05, DC’08 Timed Virtual Stationary Automata for Mobile Networks, DGLLN, Allerton’05, OPODIS’05 Autonomous Virtual Mobile Nodes, DGSSW, DIALM-POMC’05 A Middleware Framework for Robust Applications in Wireless Ad Hoc Networks, CDGN, Allerton’05 Reconciling the theory and practice of unreliable wireless broadcast, CDGLNN, ADSN’05 Self-Stabilizing Mobile Node Location Management and Message Routing, DLLN, SSS’05 Motion Coordination Using Virtual Nodes, LMN, CDC’05 The Virtual Node Layer: A Programming Abstraction for Wireless Sensor Networks, BGLNNS, WWWSNA’07 A Virtual Node-Based Tracking Algorithm for Mobile Networks, NL, ICDCS’07 Self-stabilization and Virtual Node Layer Emulations, NL, SSS’07 Secret Swarm Unit: Reactive k-Secret Sharing,DLY, IndoCrypt’07 Virtual Infrastructure for Collision-Prone Wireless Networks, CGL, PODC’08 Theses: Virtual Infrastructure for Wireless Ad Hoc Networks, G, PhD 2007 Air Traffic Control Using Virtual Stationary Automata, B, MEng 2007 Simulation and Evaluation of the Reactive Virtual Node Layer, S, MEng 2008 Virtual Stationary Timed Automata for Mobile Networks, N, PhD 2008 In Progress: Self-Stabilizing Robot Formations over Unreliable Networks, GLMN Using Virtual Infrastructure to Adapt Wireline Protocols to MANET, W Virtual Infrastructure Routing for Mobile Ad Hoc Networks, DN The Virtual Infrastructure Project

  6. Scenarios: • Sensor networks • Social networks • Coordination Wireless Ad Hoc Networks

  7. Scenarios: • Sensor networks • Social networks • Coordinated applications Wireless Ad Hoc Networks • environmental monitoring • intrusion detection • border monitoring • fire detection

  8. Scenarios: • Sensor networks • Social networks • Coordinated applications Wireless Ad Hoc Networks • messaging • conferences / events • HikingNet • TrafficNet

  9. Scenarios: • Sensor networks • Social networks • Coordination Wireless Ad Hoc Networks • emergency response & military • firefighting • police response • terrorism

  10. Scenarios: • Sensor networks • Social networks • Coordination Wireless Ad Hoc Networks

  11. Wireless ad hoc networks are really hard to use. • Unreliable communication • Unknown availability • Noise • Lost Messages • Collisions • Unknown topology • Fault prone • Dynamic • Unknown participants

  12. Fixed Infrastructure • Deploy: • Base stations • Cell towers • Servers • Problems: • Too expensive • Not feasible

  13. Virtual Infrastructure

  14. Network Layers Application Service Service Middleware Wireless Ad Hoc Network

  15. Network Layers Application Routing Tracking Virtual Infrastructure Wireless Ad Hoc Network

  16. Building Virtual Infrastructure

  17. Building Virtual Infrastructure Leader / backup Leader sends & receives messages for the virtual node Each participant is a replica. Replicas execute a consistency protocol

  18. Today’s Questions • What is virtual infrastructure? • What can you do with it? • Dynamic distributed coordination. • Air traffic control • Does it really work? • Two simulation studies: routing and address allocation.

  19. Dynamic Distributed Coordination • Challenging problem: • Highly dynamic environment • Unreliable network • Safety-critical applications • Ideal for Virtual Infrastructure solution: • Static overlay • Simpler, verifiable algorithms • Fate-sharing

  20. ˇ

  21. Dynamic Distributed Coordination • Note: • Number of (non-failed) robots unknown. • Location of other robots unknown. • Pattern may change over time.

  22. Dynamic Distributed Coordination In each round: All robots stop. All robots send location info. Coordinators exchange info. In each round: Coordinators calculate. Coordinators send out targets. Robots move to target.

  23. Dynamic Distributed Coordination Rule 1: If only 1 robot, keep it.

  24. Dynamic Distributed Coordination Rule 2: If not on the curve and no neighbors on the curve: distribute evenly all but one.

  25. Dynamic Distributed Coordination Rule 3: If not on the curve: distribute among less populated neighbors on the curve.

  26. Dynamic Distributed Coordination Rule 4: If on the curve: distribute among less dense neighbors on the curve.

  27. Dynamic Distributed Coordination Rule 4: If on the curve: distribute among less dense neighbors on the curve.

  28. Dynamic Distributed Coordination Rule 5: Distribute robots evenly on the curve in each region.

  29. Dynamic Distributed Coordination Step 1: Eventually, robots cease moving from regions “off the curve” to regions “on the curve”. Step 2: If neighbor g is the most dense neighbor of u after time t, then u is less dense than g after time t+1. Step 3: Eventually, robots remain always in the same region.

  30. Dynamic Distributed Coordination What happens when something goes wrong? Too many lost messages Too much churn INCONSISTENT REPLICAS Option 1: Design for the very, very worst case. Option 2: Design a system that can recover from faults.

  31. Emulating Virtual Infrastructure Leader Election: • Heartbeats, timeouts • Resolve leader competitions Replica Consistency: • Leader sends “checksums” of the state. • If out-of-synch, then re-join.

  32. Building Virtual Infrastructure Assume that: • A is a self-stabilizing algorithm. • A is designed for the virtual infrastructure abstraction. • A is executed with the emulator. • The system begins in an arbitrary (corrupt) state. Then if the system is eventually well-behaved: • From some point on, the state of A is as if it had really executed on a fixed infrastructure.

  33. Dynamic Distributed Coordination • Coordination algorithm is self-stabilizing. • In each round, all state is recalculated. • Underlying virtual infrastructure emulation is self-stabilizing. • Implications: • Converges to changing curve. • Recovers from network instability, lost messages, etc.

  34. Dynamic Distributed Coordination Tina Nolte Virtual Stationary Timed Automata for Mobile Networks PhD 2008

  35. Dynamic Distributed Coordination Free Flight • No flight plan, no control towers! • Each pilot chooses a route independently. • More efficient: • Adapt to wind currents. • Avoid turbulence / bad weather.

  36. Dynamic Distributed Coordination Goal: Free Flight • Each pilot chooses a route independently. • More efficient: • Adapt to wind currents. • Avoid turbulence / bad weather. In the USA, minimum separation: 3 miles lateral distance OR 1000 feet altitude

  37. Dynamic Distributed Coordination Matthew D. Brown Air Traffic Control Using Virtual Stationary Automata MEng, 2008

  38. Today’s Questions • What is virtual infrastructure? • What can you do with it? • Dynamic distributed coordination. • Does it really work? • Two simulation studies.

  39. Study #1 Study #2 • Routing / Geocast • Custom-built simulator (python) • Simple communication model • Address allocation (i.e., DHCP) • ns2 simulator • 802.11 MAC layer Simulating Virtual Infrastructure

  40. GeoCast Source Destination

  41. GeoCast Source Destination

  42. geocast geocast Location Service Target hash(id, 1) hash(id, 2)

  43. geocast Location Service Target hash(id, 1) hash(id, 2) Source

  44. Routing • Two step process: • Lookup destination location. • Geocast message to destination’s region.

  45. 250 m 400 m 400 m Simulation Setup • Number of devices: • 25 / 50 / 100 • Velocity: • 0-20 meters / second • Mobility model: • Random waypoint • Pause time: 100-900s • Simulation time: • 1000 seconds

  46. 250 m 400 m 400 m Simulation Setup • GeoCast: • 10 send/receive pairs • 1 msg every 5 secs • Routing • 10 send/receive pairs • 1 msg every 0.5 secs • 15 second simulation

  47. Mobility and Density 100% 100 devices 50 devices 80% Percent of Time Non-Failed 25 devices 60% 40% 20% 200 400 600 800 Pause Time When density is sufficient, virtual nodes work.

  48. 10 8 Leadership Changes per Region 6 4 2 100 devices 200 400 600 800 Pause Time Leadership Changes There is continuous turn-over in the leader.

  49. 0.5 Heartbeat 0.4 Messages per Region per second 0.3 0.1 0.05 Join 0.01 Leader 200 400 600 800 Pause Time Message Overhead Most overhead is heartbeats. (Overhead is negligible.)

More Related