CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.

Slides:



Advertisements
Similar presentations
* Distributed Algorithms in Multi-channel Wireless Ad Hoc Networks under the SINR Model Dongxiao Yu Department of Computer Science The University of Hong.
Advertisements

Distributed Leader Election Algorithms in Synchronous Ring Networks
Lecture 8: Asynchronous Network Algorithms
Chapter 15 Basic Asynchronous Network Algorithms
Lecture 7: Synchronous Network Algorithms
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS Fall 2011 Prof. Jennifer Welch CSCE 668 Self Stabilization 1.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Broadcasting in UDG Radio Networks with Unknown Topology Yuval Emek, Leszek Gąsieniec, Erez Kantor, Andrzej Pelc, David Peleg, Chang Su, Weizmann Liverpool.
Broadcasting Protocol for an Amorphous Computer Lukáš Petrů MFF UK, Prague Jiří Wiedermann ICS AS CR.
CPSC 668Set 10: Consensus with Byzantine Failures1 CPSC 668 Distributed Algorithms and Systems Fall 2009 Prof. Jennifer Welch.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
CPSC 668Set 5: Synchronous LE in Rings1 CPSC 668 Distributed Algorithms and Systems Spring 2008 Prof. Jennifer Welch.
Regional Consecutive Leader Election In Mobile Ad-Hoc Networks Hyun Chul Chung*, Peter Robinson**, Jennifer L. Welch* * Texas A&M.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 21st Lecture Christian Schindelhauer.
Fast Distributed Algorithm for Convergecast in Ad Hoc Geometric Radio Networks Alex Kesselman, Darek Kowalski MPI Informatik.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
CPSC 668Set 4: Asynchronous Lower Bound for LE in Rings1 CPSC 668 Distributed Algorithms and Systems Fall 2009 Prof. Jennifer Welch.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Ad Hoc and Sensor Networks – Roger Wattenhofer –7/1Ad Hoc and Sensor Networks – Roger Wattenhofer – MAC Theory Chapter 7 TexPoint fonts used in EMF. Read.
CPSC 668Set 2: Basic Graph Algorithms1 CPSC 668 Distributed Algorithms and Systems Spring 2008 Prof. Jennifer Welch.
CPSC 668Set 3: Leader Election in Rings1 CPSC 668 Distributed Algorithms and Systems Spring 2008 Prof. Jennifer Welch.
Chapter 4 - Self-Stabilizing Algorithms for Model Conservation4-1 Chapter 4: roadmap 4.1 Token Passing: Converting a Central Daemon to read/write 4.2 Data-Link.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Distributed Coloring in Õ(  log n) Bit Rounds COST 293 GRAAL and.
CPSC 668Set 10: Consensus with Byzantine Failures1 CPSC 668 Distributed Algorithms and Systems Fall 2006 Prof. Jennifer Welch.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
CPSC 668Self Stabilization1 CPSC 668 Distributed Algorithms and Systems Spring 2008 Prof. Jennifer Welch.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
CPSC 411, Fall 2008: Set 2 1 CPSC 311 Analysis of Algorithms Sorting Lower Bound Prof. Jennifer Welch Fall 2009.
Dariusz Kowalski University of Connecticut & Warsaw University Andrzej Pelc University of Quebec en Outaouais Broadcasting in Undirected Ad hoc Radio Networks.
Distributed systems Module 2 -Distributed algorithms Teaching unit 1 – Basic techniques Ernesto Damiani University of Bozen Lesson 2 – Distributed Systems.
Distributed MST for Constant Diameter Graphs Zvi Lotker & Boaz Patt-Shamir & David Peleg.
Adaptiveness vs. obliviousness and randomization vs. determinism Dariusz Kowalski University of Connecticut & Warsaw University Andrzej Pelc University.
Maximal Independent Set Distributed Algorithms for Multi-Agent Networks Instructor: K. Sinan YILDIRIM.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Johannes PODC 2009 –1 Coloring Unstructured Wireless Multi-Hop Networks Johannes Schneider Roger Wattenhofer TexPoint fonts used in EMF. Read.
Dynamic Clustering for Acoustic Target Tracking in Wireless Sensor Network Wei-Peng Chen, Jennifer C. Hou, Lui Sha.
Distributed Coloring Discrete Mathematics and Algorithms Seminar Melih Onus November
ACSS 2006, T. Radzik1 Communication Algorithms for Ad-hoc Radio Networks Tomasz Radzik Kings Collage London.
1 Constant Density Spanners for Wireless Ad-Hoc Networks Discrete Mathematics and Algorithms Seminar Melih Onus April
Computer Science and Engineering Parallel and Distributed Processing CSE 8380 February 10, 2005 Session 9.
04/06/2016Applied Algorithmics - week101 Dynamic vs. Static Networks  Ideally, we would like distributed algorithms to be: dynamic, i.e., be able to.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
1 Leader Election in Rings. 2 A Ring Network Sense of direction left right.
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS Fall 2011 Prof. Jennifer Welch CSCE 668 Set 5: Synchronous LE in Rings 1.
DISTRIBUTED ALGORITHMS Spring 2014 Prof. Jennifer Welch Set 2: Basic Graph Algorithms 1.
Vertex Coloring Distributed Algorithms for Multi-Agent Networks
CSCE 411H Design and Analysis of Algorithms Set 10: Lower Bounds Prof. Evdokia Nikolova* Spring 2013 CSCE 411H, Spring 2013: Set 10 1 * Slides adapted.
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS Spring 2014 Prof. Jennifer Welch CSCE 668 Set 3: Leader Election in Rings 1.
Andrea CLEMENTI Radio Networks The Model Broadcast.
1 Fault-Tolerant Consensus. 2 Communication Model Complete graph Synchronous, network.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
Randomized Algorithms for Distributed Agreement Problems Peter Robinson.
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
Ad Hoc Radio Networks Radio Network is a collection of transmitter-receiver devices (denoted as notes). Each node can transmit data to nodes which exist.
CPSC 411 Design and Analysis of Algorithms
Deterministic Leader Election in Multi-Hop Beeping Networks
Medium Access Control (MAC) Sub-layer
Lecture 9: Asynchronous Network Algorithms
TexPoint fonts used in EMF.
Fault-tolerant Consensus in Directed Networks Lewis Tseng Boston College Oct. 13, 2017 (joint work with Nitin H. Vaidya)
Lecture 8: Synchronous Network Algorithms
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
CPSC 411 Design and Analysis of Algorithms
Leader Election Ch. 3, 4.1, 15.1, 15.2 Chien-Liang Fok 4/29/2019
Presentation transcript:

CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch

Discrete Algs for Mobile Wireless Sys2 Lecture 13  Topic: More Broadcast in General Networks  Sources: Bar-Yehuda, Goldreich, Itai. Time complexity of broadcast. Bar-Yehuda, Goldreich, Itai. Efficient emulation of single-hop radio network on multi-hop radio network. Kowalski, Pelc. Time of deterministic broadcasting. MIT Fall 2008 slides

Discrete Algs for Mobile Wireless Sys3 [BGI 2]  Use their randomized Decay and Broadcast algorithms to solve other problems: Emulate an algorithm designed for single-hop networks with collision detection, in an arbitrary network without collision detection. Each round expands to O( log(  ) (D + sqrt(D log(N/  )) + log(N/  ) ) ) rounds, succeeds with probability  1- . So the entire emulation works with high probability. Apply this to run a known single-hop leader election algorithm [Willard] in a multi-hop network.

Discrete Algs for Mobile Wireless Sys4 The Two Models  Multi-hop: Same as the [BGI1] weak collision model: Arbitrary connected undirected graph, synchronous rounds. In each round, processor chooses whether to send or receive. Weak collision behavior (may receive a message).  Single-hop: Complete graph, synchronous rounds. Reliable collision detection, (0,m,c)

Discrete Algs for Mobile Wireless Sys5 Emulating a Single Round  Three synchronized phases: Propagation:  All nodes that want to send choose random tags and Broadcast their messages.  Every node remembers first received message (initiator remembers its own).  Different nodes may remember different messages. Collision detection:  If > 1 initiators, two neighbors end up with different tags.  Nodes compare tags with neighbors, bit by bit.  For each bit, use Decay: all nodes having 1 transmit, all with 0 receive.  If any node actually receives a message, detects a collision. Notification:  Each node that detected a collision Broadcasts a “collision” message.

Discrete Algs for Mobile Wireless Sys6 Behavior of Single-Round Emulation  Properties of Decay and Broadcast imply: If there is a single initiator, WHP everyone receives the message. Otherwise, WHP everyone detects a conflict.

Discrete Algs for Mobile Wireless Sys7 Emulating an Entire Algorithm  Emulate round-by-round, using the single- round emulation.  Must choose  appropriately.  Apply this to Willard’s Ethernet algorithm for leader election, to run it in a multi-hop network.

Discrete Algs for Mobile Wireless Sys8 [Kowalski, Pelc]  Assumes the strong collision model: collision is indistinguishable from idle  Show that [BGI1] deterministic lower bound is incorrect, with a special case O(log n) algorithm.  Sublinear (in n) time deterministic algorithms for all graphs of small diameter D = o(log log n)  Deterministic lower bound of Ω(n 1/4 ); again claim exponential gap between randomized and deterministic complexity.

Discrete Algs for Mobile Wireless Sys9 0 sink, n n Layer 1Layer 2Layer 0 S Graphs from [BGI1] Lower Bound  For sink to receive message, must ensure eventually exactly one node in S transmits  For weaker collision model, [BGI1] showed  (n) rounds necessary  What about for stronger collision model?  Show O(log n) algorithm…

Discrete Algs for Mobile Wireless Sys10 High Level Idea  Emulate collision detection capability at the source  Use the "collision detection" to choose one node in S to communicate with the sink  Algorithm uses subroutine Echo(i,A) i is the id of one node in Layer 1 A is a set of ids of nodes in Layer 1

Discrete Algs for Mobile Wireless Sys11 Echo Subroutine Code:  Step 1: Every node in A transmits its id.  Step 2: Every node in A U { i } transmits its id. Behavior:  Case 1: Message received in Step 1 but not in Step 2 A has 1 node, and its id is known to the source.  Case 2: Message received in Step 2 but not in Step 1 A is empty.  Case 3: No message received in either step. A has at least 2 nodes.

Discrete Algs for Mobile Wireless Sys12 Binary Selection Broadcast  Phase 0: Source transmits message and the lowest id i of its neighbors (i = 1).  Phase 1: Node with id 1 transmits the source message and its degree. If degree is 2, then 1 in S. Therefore, sink receives the message. DONE! If degree is 1, then continue…

Discrete Algs for Mobile Wireless Sys13 Binary Selection Broadcast  Do binary search on the range of ids in Layer 1, looking for a segment containing exactly 1 node in S Suppose n = …12 >1 Done Done 5…6 >1 0 9…10 1 Done 13…14 > Done 7…7 > Done 3…3 > Done 11…11 > Done 15…15 >1 0 Done …16 Done 1

Discrete Algs for Mobile Wireless Sys14 Binary Selection Broadcast  Phase 3, 4, …: Step 1: source transmits a range R = {x, …, y} of ids; initially R = {1,2,... n/2} Steps 2 and 3: nodes in Layer 1 execute ECHO(1, R∩S). Case 1: R∩S has one node. DONE! Case 2: R∩S is empty. In Step 1 of next phase source transmits R = {y+1,... y+(y-x+1)/2}. Case 3: R∩S has > 1 node. In Step 1 of next phase source transmits R = {x,..., (y+x-1)/2}.

Discrete Algs for Mobile Wireless Sys15 o(n) Algorithm for D = o(log log n)  Complicated algorithm, uses many techniques

Discrete Algs for Mobile Wireless Sys16  (n 1/4 ) Lower Bound  Similar to  (n) lower bound for the weaker collision model  Uses same class of graphs (with three layers)  Given any algorithm, construct the set S (nodes in Layer 1 that are connected to the sink) so that lots of time must elapse until the sink gets the message

Discrete Algs for Mobile Wireless Sys17 Discussion  What is the impact of these results?