Bit Complexity of Breaking and Achieving Symmetry in Chains and Rings.

Slides:



Advertisements
Similar presentations
Leader Election Breaking the symmetry in a system.
Advertisements

Distributed Leader Election Algorithms in Synchronous Ring Networks
Impossibility of Distributed Consensus with One Faulty Process
Two absolute bounds for distributed bit complexity Yefim Dinitz, Noam Solomon, 2007 Presented by: Or Peri & Maya Shuster.
Lecture 8: Asynchronous Network Algorithms
Distributed Computing 1. Lower bound for leader election on a complete graph Shmuel Zaks ©
Routing in a Parallel Computer. A network of processors is represented by graph G=(V,E), where |V| = N. Each processor has unique ID between 1 and N.
Chapter 15 Basic Asynchronous Network Algorithms
Distributed Computing 8. Impossibility of consensus Shmuel Zaks ©
Sliding window protocol The sender continues the send action without receiving the acknowledgements of at most w messages (w > 0), w is called the window.
Distributed Algorithms – 2g1513 Lecture 10 – by Ali Ghodsi Fault-Tolerance in Asynchronous Networks.
Lecture 7: Synchronous Network Algorithms
Computer Science 425 Distributed Systems CS 425 / ECE 428 Consensus
Outline. Theorem For the two processor network, Bit C(Leader) = Bit C(MaxF) = 2[log 2 ((M + 2)/3.5)] and Bit C t (Leader) = Bit C t (MaxF) = 2[log 2 ((M.
Distributed Computing 8. Impossibility of consensus Shmuel Zaks ©
Byzantine Generals Problem: Solution using signed messages.
CPSC 668Set 10: Consensus with Byzantine Failures1 CPSC 668 Distributed Algorithms and Systems Fall 2009 Prof. Jennifer Welch.
1 Complexity of Network Synchronization Raeda Naamnieh.
CPSC 668Set 4: Asynchronous Lower Bound for LE in Rings1 CPSC 668 Distributed Algorithms and Systems Fall 2009 Prof. Jennifer Welch.
CPSC 668Set 3: Leader Election in Rings1 CPSC 668 Distributed Algorithms and Systems Spring 2008 Prof. Jennifer Welch.
CPSC 668Set 9: Fault Tolerant Consensus1 CPSC 668 Distributed Algorithms and Systems Fall 2006 Prof. Jennifer Welch.
CPSC 668Set 9: Fault Tolerant Consensus1 CPSC 668 Distributed Algorithms and Systems Spring 2008 Prof. Jennifer Welch.
CPSC 668Set 12: Causality1 CPSC 668 Distributed Algorithms and Systems Fall 2009 Prof. Jennifer Welch.
CPSC 668Set 10: Consensus with Byzantine Failures1 CPSC 668 Distributed Algorithms and Systems Fall 2006 Prof. Jennifer Welch.
Parallel Routing Bruce, Chiu-Wing Sham. Overview Background Routing in parallel computers Routing in hypercube network –Bit-fixing routing algorithm –Randomized.
1 Fault-Tolerant Consensus. 2 Failures in Distributed Systems Link failure: A link fails and remains inactive; the network may get partitioned Crash:
Distributed Algorithms (22903) Lecturer: Danny Hendler Global Computation in the presence of Link Failures.
A (nlog(n)) lower bound for leader election in a clique.
Derandomizing LOGSPACE Based on a paper by Russell Impagliazo, Noam Nissan and Avi Wigderson Presented by Amir Rosenfeld.
Distributed systems Module 2 -Distributed algorithms Teaching unit 1 – Basic techniques Ernesto Damiani University of Bozen Lesson 4 – Consensus and reliable.
The Byzantine Generals Strike Again Danny Dolev. Introduction We’ll build on the LSP presentation. Prove a necessary and sufficient condition on the network.
Systems of Distributed systems Module 2 - Distributed algorithms Teaching unit 2 – Properties of distributed algorithms Ernesto Damiani University of Bozen.
CS Dept, City Univ.1 The Complexity of Connectivity in Wireless Networks Presented by LUO Hongbo.
Distributed Algorithms 2014 Igor Zarivach A Distributed Algorithm for Minimum Weight Spanning Trees By Gallager, Humblet,Spira (GHS)
Distributed Consensus Reaching agreement is a fundamental problem in distributed computing. Some examples are Leader election / Mutual Exclusion Commit.
Equality Function Computation (How to make simple things complicated) Nitin Vaidya University of Illinois at Urbana-Champaign Joint work with Guanfeng.
Lecture #12 Distributed Algorithms (I) CS492 Special Topics in Computer Science: Distributed Algorithms and Systems.
Consensus and Its Impossibility in Asynchronous Systems.
Distributed Computing 3. Leader Election – lower bound for ring networks Shmuel Zaks ©
DISTRIBUTED ALGORITHMS AND SYSTEMS Spring 2014 Prof. Jennifer Welch Set 11: Asynchronous Consensus 1.
CS294, Yelick Consensus revisited, p1 CS Consensus Revisited
Lecture #14 Distributed Algorithms (II) CS492 Special Topics in Computer Science: Distributed Algorithms and Systems.
Distributed systems Consensus Prof R. Guerraoui Distributed Programming Laboratory.
Sliding window protocol The sender continues the send action without receiving the acknowledgements of at most w messages (w > 0), w is called the window.
Umans Complexity Theory Lectures Lecture 7b: Randomization in Communication Complexity.
Chap 15. Agreement. Problem Processes need to agree on a single bit No link failures A process can fail by crashing (no malicious behavior) Messages take.
Multiprocess Synchronization Algorithms ( ) Lecturer: Danny Hendler Global Computation.
Vertex Coloring Distributed Algorithms for Multi-Agent Networks
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS Spring 2014 Prof. Jennifer Welch CSCE 668 Set 3: Leader Election in Rings 1.
1 Fault tolerance in distributed systems n Motivation n robust and stabilizing algorithms n failure models n robust algorithms u decision problems u impossibility.
Alternating Bit Protocol S R ABP is a link layer protocol. Works on FIFO channels only. Guarantees reliable message delivery with a 1-bit sequence number.
Fault tolerance and related issues in distributed computing Shmuel Zaks GSSI - Feb
DISTRIBUTED ALGORITHMS Spring 2014 Prof. Jennifer Welch Set 9: Fault Tolerant Consensus 1.
Fault tolerance and related issues in distributed computing Shmuel Zaks GSSI - Feb
1 Fault-Tolerant Consensus. 2 Communication Model Complete graph Synchronous, network.
Fault tolerance and related issues in distributed computing Shmuel Zaks GSSI - Feb
Randomized Algorithms for Distributed Agreement Problems Peter Robinson.
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
Information Complexity Lower Bounds
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
Lecture 9: Asynchronous Network Algorithms
Alternating Bit Protocol
Distributed Consensus
Agreement Protocols CS60002: Distributed Systems
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
Presented by Jiossy Rami
Presentation transcript:

Bit Complexity of Breaking and Achieving Symmetry in Chains and Rings.

Introduction: Yao’s Problem (1979) What is the number of bits that two processors, A and B, have to communicate to each other in order to compute a function f(x,y) of their respective private inputs: x and y.

Yao’s Problem in the Distributed Computing Model Two identical, unnamed processor, each one provided with a value – its identity; the two processors have to find the larger identity.

The Distributed Computing Model Network of processors. Asynchronous communication. Failure free. Links are FIFO. Number of links denoted by.

The Distributed Computing Model (Continued) Processors have distinct ids from the set Distributed algorithm. Scheduler.

The Tasks Ahead Consensus : all processors must output the same bit. Leader : one processor outputs 1, the rest output 0. MaxF : the same as Leader, except that the processor to output 1 must be the one with the maximal id.

Bit and Message Complexity Message Complexity : the number of messages needed to send, in order to solve a task. Denoted MsgC(task). Bit Complexity : the number of bits needed to send, in order to solve a task. Denoted BitC(task).

Achieving symmetry with two processors Theorem In chain of two processors with,. Proof Each processor sends the parity of its id to the other processor, and both decide on the (say) OR of these bit.

Achieving symmetry with two processors (continued) Proof Lets partition the set of ids into 3 groups: according to the first bit: 0, 1 or nothing. Assume that We get that every decision is 0, which is a contradiction to our assumption.

Breaking symmetry with two processors Theorem In chain of two processors, Proof The two processors exchange their identities without the last bit; the larger abridged identity wins, and if they are equal, the identity with the unsent bit 1 wins.

Breaking symmetry with two processors (continued) Proof (lower bound)

Chains n + 1 processors are linked with n links. Easy case: Every processor in the chain has an id.

Consensus in a Chain A 2n algorithm is easy. Theorem (no proof) For a chain with n links the message complexity of Consensus is at least 2n.

Leader in a chain: General Case

Leader in a chain: Even Length Chain, a better result The idea: some of the messages can be discarded. The result:

Leader in a Chain: Hard Case In the easy case, every processor had an id. Here, only the two processors in the edge have ids. The idea: the edges sends their id in the network. The result: