Title: Geometric Optics, Duality, and Congestion in Sensornets
1Geometric Optics, Duality,and Congestion in
Sensornets
- Christos H. Papadimitriou
- UC Berkeley
- christos
2Joint work with
- Dick Karp
- Lucian Popa
- Afshin Rostami
- Ion Stoica
3Sensornets
- Small nodes
- Communicating
- by wireless
- Power limitation
4The strange affinity betweenTheoretical CS and
Sensornets
- TCSs obsession with resource minimization finds
a customer - Open-ended scale
- Novel problems
- We were already working on the Internet
- Young field, fluid paradigms, open spirit
5Routing in sensornets
- IP envy
- Greedy routing (give the packet to your neighbor
who is closest to the destination) may get stuck - Fake coordinates help PRRSS03, PR05
- But greedy routing increases congestion
6In large networksGreedy routing ?
Straight-line routing
7Assume circular region,uniform distribution
- Routing affects
- congestion
- Average
- Maximum
8Calculating the congestion at r
ab c 2 (1 r 2 ) ???1 r 2 cos x dx
a
c
r
b
c
9Plotting the congestion
congestion
max 1 ave .46
1
r
1
10Average congestion
- .46 (the ave of straight-line routing)
- ? (the ave of any routing scheme)
- ? (the max of any routing scheme)
-
11Route to minimize max congestion?
?
1
?
.46
12Min max congestion Our results
congestion
1
curveball routing (max .56)
min max
r
1
13First attempt, metropolitan routing
- Follow circular arc
- Jump to target radius
- Finish by circular arc
- Optimize when to jump
Not a very good idea
14Fake coordinates
- Move to f(r)
- Intuitively, straight routes
- will curve in real space
- Optimum f?
- Assume f(r) ra
- Optimize a
f(r)
r
Not a very good idea
15Almost the right idea Airline routing
- Project to (northern)
- hemisphere
- Route by geodesic
- Intuitively, route will
- now avoid center
- Optimize z scale
Tokyo
N
Rabat
16Curveball routinga different projection works
better
17congestion
1
(max .56)
r
(simulation results validated on the Intel
testbed)
18The optimum?
- Infinite-dimensional linear programming!
- Consider all admissible paths between a and b
- Optimum routing scheme will choose one of them
- Subdivide the disc into infinitely many rings
- Each path burdens each ring by some fixed amount
of congestion
19Linear Programming!
min t Ax 1 Bx ? t x ? 0
Dual LP min ?? t ?? AT? BT? ? 0 ? ? 0
limit on congestion, one constraint per ring
speed of light in each ring
one variable per path, a continuum of variables
20Remember Snells law
c1
sin ?1
?1
sin ?2
c2
?2
21Characterization of the optimum
- Theorem There is a function ? 0,1 ? R
- such that the optimum routing scheme is a
shortest path routing when the speed of light at
radius r is ?(r). Furthermore, if ?(r) gt 0 then
the congestion at radius r is maximum.
22Primal-dual algorithm!
- Subdivide the disc into finitely many rings
- Start with any set of speeds of light
- Calculate shortest paths, compute congestion
- Decrease speed of light where congestion is high,
and repeat
23Experimentally, the optimum seems to be
1/?(r)
r
24Open problems
- Closed form of the optimum ?(r)?
- Are the optimum paths computable in a local way?
- Better practical algorithm than curveball?
- Extensions to other shapes and distributions?
25thank you!