The Trickle Algorithm
Analysis, Use, and Implementation
Philip Levis Computer Systems Lab Stanford University
The Trickle Algorithm Analysis, Use, and Implementation Philip - - PowerPoint PPT Presentation
The Trickle Algorithm Analysis, Use, and Implementation Philip Levis Computer Systems Lab Stanford University Trickle Summary An algorithm for establishing eventual consistency in a wireless network Establishes consistency quickly
Analysis, Use, and Implementation
Philip Levis Computer Systems Lab Stanford University
IETF 74
2
IETF 74
3
IETF 74
that are consistent with its own
4
IETF 74
5
IETF 74
6
tA1 tA2
time
tB1 tB2
tC1 tC2
B C
transmission suppressed transmission reception
A
IETF 74
7
tA1 tA2
time
tB1 tB2
tC1 tC2
B C
transmission suppressed transmission reception
A
IETF 74
8
tA1 tA2
time
tB1 tB2
tC1 tC2
B C
transmission suppressed transmission reception
A
IETF 74
9
tA1 tA2
time
tB1 tB2
tC1 tC2
B C
transmission suppressed transmission reception
A
IETF 74
10
tA1 tA2
time
tB1 tB2
tC1 tC2
B C
transmission suppressed transmission reception
A
IETF 74
11
tA1 tA2
time
tB1 tB2
tC1 tC2
B C
transmission suppressed transmission reception
A
IETF 74
12
tA1 tA2
time
tB1 tB2
tC1 tC2
B C
transmission suppressed transmission reception
A
IETF 74
13
tA1 tA2
time
tB1 tB2
tC1 tC2
B C
transmission suppressed transmission reception
A
IETF 74
(k=1)
1 2 4 8 16 32 64 128 256
Nodes
2 4 6 8 10 12 Transmissions/Interval 0% 20% 40% 60%
14
IETF 74
15
that one node has not heard n transmissions
communication rate
IETF 74
(exponential timers)
16
IETF 74
17
lower left corner
in seconds
IETF 74
(distance vector)
18
IETF 74
19
IETF 74
20
IETF 74
Polastre, Scott Shenker, Robert Szewczyk, and Alec Woo. "The Emergence of a Networking Primitive in Wireless Sensor Networks." In Communications of the ACM, Volume 51, Issue 7, July 2008.
Networks.” In Proceedings of the 6th International Conference on Embedded Networked Sensor Systems (SenSys), 2008.
Algorithm for Code Propagation and Maintenance in Wireless Sensor Networks." In Proceedings of the First USENIX/ACM Symposium on Networked Systems Design and Implementation (NSDI 2004).
Efficient Collection through Control and Data Plane Integration." Technical Report SING-08-02.
Best starting point.
21
IETF 74
22
IETF 74
23
IETF 74
24
5000 10000 15000 20000 25000 30000 35000 1 2 3 4 5 Time(hours) CTP MultiHopLQI
IETF 74
25