350 likes | 507 Views
Routing Algorithms using Random Walks with Tabu Lists. Karine Altisen & Stéphane Devismes Joint work with Antoine Gerbaud , Pascal Lafourcade , and Clément Ponsonnet. ARESA 2. Disclaimer. Today, we will speak about probabilities But, we are not specialists ….
E N D
Routing Algorithms using Random Walks with Tabu Lists KarineAltisen & Stéphane Devismes Joint work with Antoine Gerbaud, Pascal Lafourcade, and ClémentPonsonnet ARESA 2
Disclaimer • Today, we will speak about probabilities • But, we are not specialists … Meeting Synchrone
Wireless Sensor Network (WSN) Sensor(s) Processor Radio Battery Meeting Synchrone
Routing Meeting Synchrone
Application Meeting Synchrone
Setting • One sink/Multi source • Connected • Identified • Reliable • Asynchronous • Spontaneous requests 8 4 7 3 5 9 1 6 2 Meeting Synchrone
Random Walk 8 4 7 3 5 9 1 Rand(9,8,6,4,3) Rand(1,7,5,6,2) 6 Rand(7,9,2) 2 Rand(1,9,6) Meeting Synchrone
Probability Laws • Uniform (RW) • Let v,u two neighbors, vu • Problem: hitting time = O(N3) Meeting Synchrone
Probability Laws • Biased (Yamashita et al) (RWLD) • Let v,u two neighbors, vu • standardize frequencies of visits, for all nodes • hitting time = O(N2) Meeting Synchrone
RW vs. RWLD Meeting Synchrone
Routing by Random Walk • Pros • Message length • Tight local computation and memory • No need of overlay • Load of the network • … • Cons • Hitting time • (average number of hops to reach the sink) • O(N3) (RW) and O(N2) (RWLD) Meeting Synchrone
Random Walk with Tabu Lists • Add memory to help random walks • Avoid cycles • Store hints about previous choices • ≤k where k is small • Good trade-off ? Meeting Synchrone
Where ? • Messages • Store IDs of visited nodes • Visit new nodes first • Nodes • One list per destination • Store message ID • Detect cycles • cycle detections: visits Meeting Synchrone
Full ? (Update policy) • FIFO policy • Rand policy Meeting Synchrone
FIFO Policy • Update(e,L) e Meeting Synchrone
Rand Policy • Update(e,L) Rand Meeting Synchrone
Sum up • Probability law: RW / RWLD • Tabu Lists Location: node / message • Tabu List size • Update policies: FIFO / Rand Meeting Synchrone
Tabu List in Messages (TLM) 8 4 7 3 5 9 [9,5] [2,9] 1 Rand(8,6,4,3) = 3 [1,2] [2,9] Rand(7,5,6)=5 6 Rand(7,9,2)=2 2 [1] [1] [1,2] Rand(9,6) = 9 Meeting Synchrone
Tabu List & Counters in Nodes (TLCN)(1/2) 1 (12,1) (12,1) (23,8) (23,8) 12 1 (23,8) 1 2 (12,1) (23,8) Meeting Synchrone 2 1 1
Tabu List & Counters in Nodes (TLCN)(2/2) • Next destination ? Meeting Synchrone
Experimentations (settings) • Sinalgo (JAVA) • Graphs: UDG, connected, one sink/multi-source, uniform distribution • 100 messages per sources • Data generation: [400..600] • Transmission time: [40..50] • List sizes: • TLM: 1 & 15 • TLCN: 15 • Random Walk: RWLD • Update: FIFO & Rand Meeting Synchrone
Hitting time (1/2) Meeting Synchrone
Hitting time (2/2) Meeting Synchrone
Volume, e.g., sum |messages| Meeting Synchrone
Convergence of TLCN Meeting Synchrone
Sum up Meeting Synchrone
Analysis Meeting Synchrone
NSC for TLM • NSC: update rule finite average hitting time “If the list is full and the current node is not in the list, then the probability of removing the oldest element is positive” FIFO and Rand match the NSC Meeting Synchrone
RW+TLM vs. RW (1/2) • |List| ≥ 3, there exist graphs where RW is better than RW+TLM • Ex. for 4 … Meeting Synchrone
RW+TLM vs. RW (2/2) • |List| = 1,2, RW+TLM is always better than RW 2 3 9 7 4 1 RW+TLM RW Meeting Synchrone
RWLD+TLM vs. RWLD (1/2) • For all size, there exist graphs where RWLD is better than RWLD+TLM • |List| ≥ 3, as previously • 2, to be done ! • 1: Meeting Synchrone
RWLD+TLM vs. RWLD (2/2) • Conjecture: In random graphs, RWLD+TLM is always better than RWLD Meeting Synchrone
RW+TLM 1,2 vs. RWLD (2/2) • There exist graphs where RWLD is better than RW+TLM Meeting Synchrone
TLCN • Is the hitting time finite ? In case ∞+asynchronous, no Sink 1 ∞ Source Meeting Synchrone
Thank you Meeting Synchrone