Geographic and Diversity Routing in Mesh Networks

Similar documents
Geographic Routing in Simulation: GPSR

CE693: Adv. Computer Networking

ECE 598HH: Special Topics in Wireless Networks and Mobile Systems

CS 268: Computer Networking. Taking Advantage of Broadcast

Challenges in Geographic Routing: Sparse Networks, Obstacles, and Traffic Provisioning

Making Friends with Broadcast. Administrivia

Routing in Sensor Networks

15-441: Computer Networking. Lecture 24: Ad-Hoc Wireless Networks

Wireless Mesh Networks

Mobile Routing : Computer Networking. Overview. How to Handle Mobile Nodes? Mobile IP Ad-hoc network routing Assigned reading

Class Introduction. COS 463: Wireless Networks Lecture 1 Kyle Jamieson. [Parts adapted from H. Hassanieh, P. Steenkiste]

CS551 Ad-hoc Routing

Wireless Internet Routing. Learning from Deployments Link Metrics

Geographical routing 1

DYNAMIC DATA ROUTING IN MANET USING POSITION BASED OPPORTUNISTIC ROUTING PROTOCOL

Energy-Efficient Forwarding Strategies for Geographic Routing in Lossy Wireless Sensor Networks

15-441: Computer Networking. Wireless Networking

References. Forwarding. Introduction...

Chapter 11 Chapter 6

Lecture 13: Routing in multihop wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 3, Monday

DISCOVERING OPTIMUM FORWARDER LIST IN MULTICAST WIRELESS SENSOR NETWORK

Ad Hoc Networks: Issues and Routing

Simulations of the quadrilateral-based localization

Qos Parameters Estimation in MANET Using Position Based Opportunistic Routing Protocol

Routing in Wireless Mesh Networks. Feb. 22, 2006

QoS-Enabled Video Streaming in Wireless Sensor Networks

BGP. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Mobile Advanced Networks. Position-based routing geometric, geographic, location-based. Navid Nikaein Mobile Communication Department

TinySec: A Link Layer Security Architecture for Wireless Sensor Networks. Presented by Paul Ruggieri

Architecture and Evaluation of an Unplanned b Mesh Network

Secure Routing in Wireless Sensor Networks: Attacks and Countermeasures

Lecture 26: Interconnects. James C. Hoe Department of ECE Carnegie Mellon University

Lecture 6: Vehicular Computing and Networking. Cristian Borcea Department of Computer Science NJIT

Content. 1. Introduction. 2. The Ad-hoc On-Demand Distance Vector Algorithm. 3. Simulation and Results. 4. Future Work. 5.

Kapitel 5: Mobile Ad Hoc Networks. Characteristics. Applications of Ad Hoc Networks. Wireless Communication. Wireless communication networks types

CHAPTER 2 WIRELESS SENSOR NETWORKS AND NEED OF TOPOLOGY CONTROL

Data Communication. Guaranteed Delivery Based on Memorization

The Open System Interconnect model

(General article) Position Based Routing Technique: Greedy Perimeter Stateless Routing for Wireless Networks

LECTURE 9. Ad hoc Networks and Routing

Interference avoidance in wireless multi-hop networks 1

GPSR: Greedy Perimeter Stateless Routing for Wireless Networks

High-Throughput Multicast Routing Metrics in Wireless Mesh Networks

Ad Hoc Networks: Introduction

Routing in Ad Hoc Wireless Networks PROF. MICHAEL TSAI / DR. KATE LIN 2014/05/14

Wireless (Internet) Routing. Opportunistic Routing, Network Coding, TCP over Wireless

Link Estimation and Tree Routing

Outline. Wireless Ad Hoc & Sensor Networks (Wireless Sensor Networks III) Localisation and Positioning. Localisation and Positioning properties

CDMA-Based MAC Protocol for Wireless Ad Hoc Networks

We noticed that the trouble is due to face routing. Can we ignore the real coordinates and use virtual coordinates for routing?

Lecture (08, 09) Routing in Switched Networks

Networking Sensors, I

Motivation and Basics Flat networks Hierarchy by dominating sets Hierarchy by clustering Adaptive node activity. Topology Control

Performance of Various Routing Protocols in Mobile Ad Hoc Networks-A Survey

R2D2: Rendezvous Regions for Data Discovery Karim Seada 1, Ahmed Helmy 2

Table of Contents. 1. Introduction. 2. Geographic Routing. 2.1 Routing Mechanisms. 2.2 Destination Location. 2.3 Location Inaccuracy. 3.

Subject: Adhoc Networks

Face Routing with Guaranteed Message Delivery in Wireless Ad-hoc Networks. Xiaoyang Guan

Receiver Based Multicasting Protocol for Wireless Sensor Networks

On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

Energy Aware and Anonymous Location Based Efficient Routing Protocol

Energy-Efficient Self-Organization for Wireless Sensor Networks

Routing protocols in WSN

Final Exam: Mobile Networking (Part II of the course Réseaux et mobilité )

Routing Protocols in MANETs

On-Demand Routing in Wireless Ad-Hoc Networks with Wide Levels of Network Density

Location Awareness in Ad Hoc Wireless Mobile Neworks

Performance Estimation on Opportunistic Routing Protocol based on Reliability Analysis

An efficient implementation of the greedy forwarding strategy

Challenge: high throughput despite loss. Roofnet has >30% loss probability. 4 Computer Networks Course (15-744), CMU, 2012.

DYNAMIC SEARCH TECHNIQUE USED FOR IMPROVING PASSIVE SOURCE ROUTING PROTOCOL IN MANET

SUMMERY, CONCLUSIONS AND FUTURE WORK

Link Layer II: MACA and MACAW

Location-aware In-Network Monitoring in Wireless Sensor Networks

EFFICIENT DATA TRANSMISSION AND SECURE COMMUNICATION IN VANETS USING NODE-PRIORITY AND CERTIFICATE REVOCATION MECHANISM

J. A. Drew Hamilton, Jr., Ph.D. Director, Information Assurance Laboratory and Associate Professor Computer Science & Software Engineering

WSN Routing Protocols

Approximately Uniform Random Sampling in Sensor Networks

More wireless: Sensor networks and TCP on mobile hosts

ROUTING ALGORITHMS Part 1: Data centric and hierarchical protocols

Geo-Routing. Chapter 2. Ad Hoc and Sensor Networks Roger Wattenhofer

A closer look at network structure:

15-441: Computer Networking

Lecture 8 Wireless Sensor Networks: Overview

Information Brokerage

CSE 461 Routing. Routing. Focus: Distance-vector and link-state Shortest path routing Key properties of schemes

Geographic Routing Without Location Information. AP, Sylvia, Ion, Scott and Christos

IEEE s ESS Mesh Networking

Fig. 2: Architecture of sensor node

Chapter 5 Ad Hoc Wireless Network. Jang Ping Sheu

Design and Performance Evaluation of a New Spatial Reuse FireWire Protocol. Master s thesis defense by Vijay Chandramohan

CS 229 Final Report: Location Based Adaptive Routing Protocol(LBAR) using Reinforcement Learning

An Energy-aware Greedy Perimeter Stateless Routing Protocol for Mobile Ad hoc Networks

PROJECT REPORT VIRTUAL COORDINATE GENERATOR AND ROUTING SIMULATION TOOL FOR WIRELESS SENSOR NETWORKS IN 2 AND 3-DIMENSIONAL NETWORK SPACE

Interdomain Routing Design for MobilityFirst

Wireless Challenges : Computer Networking. Overview. Routing to Mobile Nodes. Lecture 25: Wireless Networking

CHAPTER 5 MULTICAST GEOGRAPHY BASED ROUTING IN AD HOC NETWORKS

WP-PD Wirepas Mesh Overview

Networking Sensors, II

Addressing and Routing

Transcription:

Geographic and Diversity Routing in Mesh Networks COS 463: Wireless Networks Lecture 7 Kyle Jamieson [Parts adapted from B. Karp, S. Biswas, S. Katti]

Course Contents 1. Wireless From the Transport Layer Downwards Transport over wireless, link layer, medium access, routing 2. Overcoming Bit Errors Error Detection/correction, convolutional & Rateless codes 3. An Introduction to the Wireless Channel Noise, Multipath Propagation, radio spectrum 4. Practical/Advanced Wireless Physical Layer concepts OFDM, channel estimation, MIMO etc. 5. Boutique topics Visible light communication, low power, Wi-Fi localization 2

Today 1. Geographic (Location-Based) Mesh Routing Greedy Perimeter Stateless Routing: GPSR Cross-link Detection Protocol: CLDP 2. Diversity Mesh Routing ExOR (Roofnet) Network Coding 3

Context: Ad hoc Routing 1990s: availability of off-the-shelf Wi-Fi cards, laptops 1994: First papers on DSDV and DSR routing spark interest in routing on mobile wireless (ad hoc) networks 2000: GPSR 2000: Estrin et al., Berkeley Smart Dust sparks interest in wireless sensor networks 4

Original Motivation (2000): Rooftop Networks Potentially lower-cost alternative to cellular architecture (no backhaul to every base station) 5

Motivation (2010+): Sensornets Many sensors, widely dispersed Sensor: radio, transducer(s), CPU, storage, battery Multiple wireless hops, forwarding sensor-to-sensor to a base station What communication primitives will thousand- or million-node sensornets need? 6

The Routing Problem Each router has unique ID D Packets stamped with destination ID Router must choose next hop for received packet Routers communicate to accumulate state for use in forwarding decisions Evaluation metrics: Minimize: Routing protocol message cost Maximize: Data delivery success rate Minimize: Route length (hops) Minimize: Per-router state?? S 7

Scalability in Sensor Networks Resource constraints drive metrics: State per node: minimize Energy consumed: minimize Bandwidth consumed: minimize System scale in nodes: maximize Operation success rate: maximize 8

Scaling Routing LS: Push full topology map to all routers, O(# links) state DV: Push distances across network, O(# nodes) state Dynamic Source Routing (DSR): Flood queries on-demand to learn source routes Cache replies, O(# nodes) state Internet routing scales because of hierarchy & IP prefix aggregation; but not easily applicable in sensornets Can we achieve per-node routing state independent of # nodes? 9

Greedy Perimeter Stateless Routing (GPSR) Central idea: Machines know their geographic locations, route using location Packet destination field = location of destination Assume some node location registration/lookup system to support host-centric addressing Node s state concerns only one-hop neighbors: Low per-node state: O(density) Low routing protocol overhead: state pushed only one hop 10

Assumptions Nodes all know their own locations Bi-directional radio links (unidirectional links may be excluded) Network nodes placed roughly in a plane Fixed, uniform radio transmitter power Unit Graph Connectivity: Node connected to all others in a fixed radio range, and none outside this range 11

Greedy Forwarding Nodes learn immediate neighbors positions from beaconing/piggybacking on data packets Locally optimal, greedy next hop choice: Neighbor geographically nearest to destination x y D Neighbor must be strictly closer to avoid loops 12

Greedy Forwarding Failure Greedy forwarding not always possible! Consider: D v z void w y x How can we circumnavigate voids, relying only on one-hop neighborhood information? 13

Traversing a face Well-known graph traversal: right-hand rule y z x Traverses the interior of a closed polygon in clockwise edge order 14

Planar vs. Non-planar Graphs On graphs with edges that cross (non-planar graphs), right-hand rule may not tour enclosed face boundary How to remove crossing edges without partitioning graph? And using only single-hop neighbors positions? 15

Planarized Graphs Relative Neighborhood Graph (RNG) and Gabriel Graph (GG) Unit graph connectivity assumption u w? v u w? v RNG GG 16

Planarized Graphs Full Graph Gabriel Graph Subgraph (GG) Relative Neighborhood Subgraph (RNG) 17

Perimeter Mode Forwarding D x Traverse face closer to D along xd by right-hand rule, until crossing xd at a point that is closer to D Face change: Repeat with next-closer face, and so on 18

Full Greedy Perimeter Stateless Routing All packets begin in greedy mode Greedy mode uses full graph Upon greedy failure, node marks its location in packet, marks packet in perimeter mode Perimeter mode packets follow planar graph traversal: Forward along successively closer faces by right-hand rule, until reaching destination Packets return to greedy mode upon reaching node closer to destination than perimeter mode entry point 19

GPSR: Making it Real GPSR for Berkeley mote sensors 3750 lines of nesc code Deployed on Mica 2 dot mote testbeds 23-node, 50-node subsets of 100-node network in office building (office walls; 433 MHz) Delivery success workload: 50 packets between all node pairs, serially 20

50-Node Testbed, Soda Hall GAME OVER Only 68.2% of node pairs connected!! What s going on here?! 21

Planar, but Partitioned Output of GPSR s Distributed GG (arrows denote unidirectional links) 22

Assumptions Redux Bi-directional radio links (unidirectional links may be excluded) Network nodes placed roughly in a plane Unit Graph: Node always connected to all nodes within a fixed radio range, and none outside this range Fixed, uniform radio transmitter power Absorption, reflections, interference, antenna orientation differences, lead to non-unit graphs 23

Planarization Pathologies w w u? x v u? v Partitioned RNG RNG w/unidirectional Link 24

Face Routing Failure (Non-Planar) D p S Crossing links may cause face routing to fail 25

Cross-Link Detection Protocol (CLDP): Assumptions and Goals Assumptions, revised: Nodes know their own positions in 2D coordinate system Connected graph Bidirectional links No assumption whatsoever about structure of graph Seek a planarization algorithm that: never partitions graph always produces a routable graph; one on which GPSR routing never fails (may contain crossings!) 26

CLDP Sketch Nodes explicitly probe each of their own candidate links to detect crossings by other links Probe packet follows right-hand rule; carries locations of candidate link endpoints Probe packet records first crossing link it sees en route One of two crossing links eliminated when probe returns to originator Originator may mark candidate link unroutable OR Request remote crossing link be marked unroutable Probe packets only traverse routable links 27

CLDP: A Simple Example A B (B, C) crosses (D, A)! C crossings of (D, A)? All links initially marked routable Detected crossings result in transitions to unroutable (by D, or by B or C) In a dense wireless network, most perimeters short (3 hops); most probes traverse short paths D 28

CLDP and Cul-de-sacs Cul-de-sacs give rise to links that cannot be eliminated without partitioning graph Not all {edges, crossings} can be eliminated! A B A (B, C) crosses (D, A), but cannot be removed! B (B, C) crosses (D, A), but (B, cannot C), (D, be A) cannot removed! be removed! C D Routable graphs produced by CLDP may contain crossings, but these crossings never cause GPSR to fail C D 29

Summary: CLDP Protocol Link removable when a probe traverses either the link being probed (or its cross-link) in only one direction If link L probed, crossing link L found: both L and L removable: remove L L removable, L not removable: remove L L not removable, L removable: remove L neither L nor L removable: remove no link Given a static, connected graph, CLDP produces a graph on which GPSR succeeds for all node pairs 30

Meanwhile, back in the testbed GG CLDP 31

CLDP: Packet Delivery Success Rate (200 Nodes; 200 Obstacles) 32

Geographic Routing: Conclusions Resource constraints, failures, scale of deployment make design of sensornet systems hard Geography a useful primitive for building sensor network applications (e.g., spatial queries) Any-to-any routing, with GPSR and CLDP O(density) state per node, correct on all networks Geographic routing an example of the difference between paper designs and building real systems! 33

Today 1. Geographic (Location-Based) Mesh Routing 2. Diversity Mesh Routing ExOR (Roofnet) Network Coding 34

Initial approach: Traditional routing packet A packet B packet src dst C Identifies a route, forward over those links Abstracts radio to look like a wired link 35

But radios aren t wires A B 123456 5 6 src dst Every packet is broadcast Reception is probabilistic C 36

ExOR: exploiting probabilistic broadcast packet A B packet src dst Decide who forwards after reception Goal: only closest receiver should forward Challenge: agree efficiently, avoiding duplicate xmits C 37

Why ExOR might increase throughput? (1) src N1 N2 N3 N4 N5 dst 75% 50% 25% Throughput @ 1 / # transmissions Best traditional route is over the 50% hops: 3( 1 / 0.5 ) = 6 tx ExOR exploits lucky long receptions ExOR recovers unlucky short receptions 38

Why ExOR might increase throughput (2) N1 src 25% 25% 25% 25% N2 N3 100% 100% 100% 100% dst N4 Traditional routing: 1 / 0.25 + 1 = 5 tx ExOR: 1 /(1 (1 0.25) 4 ) + 1 2.5 transmissions Diversity of links, paths in mesh networks 39

ExOR packet batching src tx: 100 @ 9 N1 rx: 99 88 tx: @ 8 N2 rx: 57 85 tx: 57-23 @ 24 N3 N4 rx: 23 53 tx: 23 rx: 40 0 tx: 0 dst rx: 22 0 Finding the closest receiver involves coordination overhead Want to avoid paying this overhead once per packet Idea: Send batches of packets to amortize overhead Node closest to the destination sends first Other nodes listen, send just the remaining packets in turn Repeat schedule until destination has whole batch 40

The forwarder list establishes transmit order src N2 N4 dst N1 N3 priority: low medium high One node sends at a time, highest priority first Source includes a forwarder list in ExOR header The forwarder list is sorted by path ETX metric to dst Link ETX: Expected number of transmissions required Nodes periodically flood link ETX measurements Path ETX is weighted shortest path (Dijkstra s algorithm) 41

Batch maps track who received what tx: {2, 4} batch map: {1àN3, {1àN2, 2àN2, 4àN2, 4àN2} 6àN3} src N2 N4 dst N1 N3 tx: {1, 6} batch map: {1àN3, 6àN3} Nodes include a batch map in every data packet header For each packet, batch map gives highest priority node known to have received a copy of that packet Nodes suppress packets higher priority node received Allows source to receive acknowledgement 42

Completion If node s batch map indicates higher priority node has received > 90% of the batch, it remains quiet Removes excessive overhead due to straggler packets that get unlucky due to wireless conditions ExOR routing itself only guarantees > 90% delivery Destination requests remaining < 10% packets via traditional routing 43

Transmission timeline priority: high dest N24 N20 N18 N11 N8 N17 low src N13 N5 src N5 0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 Time (sec) N13 N17 N8 N11 N18 N20 N24 dest priority: low medium high 44

ExOR uses more links in parallel Traditional: 3 forwarders, 4 links ExOR: 7 forwarders, 18 links 45

ExOR moves packets farther 58% of Traditional routing transmissions Fraction of Transmissions 0.6 0.2 0.1 0 ExOR Traditional Routing 0 100 200 300 400 500 600 700 800 900 1000 Distance (meters) 25% of ExOR transmissions ExOR average: 422 meters/tx Traditional: 205 meters/tx 46

Today 1. Geographic (Location-Based) Mesh Routing 2. Diversity Mesh Routing ExOR (Roofnet) Network Coding 47

Network Coding ExOR uses a global scheduler Requires coordination: Every node knows who received what Only one node transmits at a time, others listen Network Coding Idea: Nodes do not relay received packets verbatim Instead combine several packets together to send in one single transmission 48

Random Linear Codes P 1 P2 R1 α P1+ ß P2 src dst P 1 P2 R2 γ P1+ δ P2 Each router forwards random linear combinations of packets Randomness makes duplicates unlikely No scheduler; No coordination Simple, better exploits spatial reuse 49

Network Coding: Multicast example P1 P2 P3 P4 src dst1 dst2 dst3 P1 P2 P3 P4 P1 P2 P3 P4 P1 P2 P3 P4 Without coding à source retransmits all 4 packets 50

Network Coding: Multicast Example P1 P2 P3 P4 Random combinations 8 P1+5 P2+ P3+3 P4 src 7 P1+3 P2+6 P3+ P4 dst1 dst2 dst3 P1 P2 P3 P4 P1 P2 P3 P4 P1 P2 P3 P4 With random coding à 2 packets are sufficient 51

Choice of Coding Matters Goal: P1àA P2,P3àC P4àD B s Output Queue P4 P3 P2 P1 C P4 P1 C s Packet Pool P2 A P4 P3 A s Packet Pool B Bad coding decision: A & D cannot decode, C can t decode P3! = P1 + P2 D D s Packet Pool P3 P1 52

Choice of Coding Matters Goal: P1àA P2,P3àC P4àD B s Output Queue P4 P3 P2 P1 C P4 P1 C s Packet Pool P3 P1 A B = P1 + P3 P4 P3 A s Packet Pool Better coding decision, A & C can decode. D D s Packet Pool P3 P1 53

Choice of Coding Matters Goal: P1àA P2,P3àC P4àD B s Output Queue P4 P3 P2 P1 C P4 P1 C s Packet Pool P3 P1 A B = P1 + P3 + P4 P4 P3 A s Packet Pool Best coding decision, A, C & D can decode! D P4 D s Packet Pool P3 P1 54

Network coding: Caveats Practical throughput gains over ExOR / traditional routing: With static nodes Traffic quantities need to be large enough Delay increases (batching) Opposing flows need to exist in some traffic topologies 55

Thursday Topic: [463 Part II: Overcoming Bit Errors] Detecting and Correcting Errors Friday Precept: Work on Lab 2 56