GPSR: Greedy Perimeter Stateless Routing For Wireless Networks
GPSR: Greedy Perimeter Stateless Routing For Wireless Networks
GPSR: Greedy Perimeter Stateless Routing For Wireless Networks
B. Karp, H. T. Kung
Borrowed some slides from Richard Yangs
Motivation
A sensor net consists of hundreds or thousands of
nodes
Scalability is the issue Existing ad hoc net protocols, e.g., DSR, AODV, ZRP, require nodes to cache e2e route information Dynamic topology changes Mobility
Reduce caching overhead Hierarchical routing is usually based on well defined, rarely changing administrative boundaries Geographic routing
Use location for routing
Scalability metrics
Routing protocol msg cost
How
Assumptions
Every node knows its location
Positioning
destination
Closest to D
- Find neighbors who are the closer to the destination - Forward the packet to the neighbor closest to the destination
5
Benefits of GF
A node only needs to remember the location
interior node has a neighbor in every 2/3 angular sector, GF will always succeed
7
edges of a void
Pick the next anticlockwise edge Traditionally used to get out of a maze
8
For convex subdivision, right hand rule is equivalent to traversing the face with the crossing edges removed.
z u
w
x
x originates a packet to u
10
z u
w
x
Make
Remove
12
13
Gabriel Graph
An edge (u,v) exists between vertices
w is present within the circle whose diameter is uv. w u, v, d2(u,v) < [d2(u,w) + d2(v,w)] Not empty remove uv
14
RNG
GG
GG
15
edge on the minimum spanning tree of the original graph is not removed Proof by contradiction: Assume (u,v) is such an edge but removed in RNG
w
v
16
Examples
Full graph
200 nodes
GG subset
RNG subset
17
all nodes maintain a single-hop neighbor table Use RNG or GG to make the graph planar
At source:
mode = greedy
Intermediate node:
if (mode == greedy) { greedy forwarding; if (fail) mode = perimeter; } if (mode == perimeter) { if (have left local maxima) mode = greedy; else (right-hand rule); }
18
GPSR
greedy fails
Greedy Forwarding
Perimeter Forwarding
19
Implementation Issues
Graph planarization RNG & GG planarization depend on having the current location info of a nodes neighbors Mobility may cause problems Re-planarize when a node enters or leaves the radio range
Also, assumes a circular radio transmission model In general, it could be harder & more expensive than it sounds
20
What if a node only moves in the radio range? To avoid this problem, the graph should be re-planarize for every beacon msg
Performance evaluation
Simulation in ns-2
21
sending nodes & 30 flows About 20 neighbors for each node very dense CBR (2Kbps)
Nominal radio range: 250m (802.11 WaveLan
radio) Each simulation takes 900 seconds Take an average of the six different randomly generated motion patterns
22
23
24
Related Work
Geographic and Energy Aware Routing
Consider remaining energy in addition to geographic location to avoid quickly draining energy of the node closest to the destination
the packet forwarding probability to each neighbor based on its location, residual energy, and link reliability
25
Beacon vector routing, NSDI 2005 Beacons know their locations Forward a packet towards the beacon A Scalable Location Service for Geographic Ad Hoc
Routing, MobiCom 00
Landmark routing Paul F. Tsuchiya. Landmark routing: Architecture, algorithms and issues. Technical Report MTR-87W00174, MITRE Corporation, September 1987. Classic work with many follow-ups
26
Questions?
27