Bigamy Eli Gafni UCLA GETCO 2010. Outline Models, tasks, and solvability What is SM? r/w w.f. asynch computability Sperner Lemma as a consequence of the.

Slides:



Advertisements
Similar presentations
Topology in Distributed Computing: A Primer 1 / 16 Sergey Velder SPbSU ITMO.
Advertisements

N-Consensus is the Second Strongest Object for N+1 Processes Eli Gafni UCLA Petr Kuznetsov Max Planck Institute for Software Systems.
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.
Is 1 different from 12? Eli Gafni UCLA Eli Gafni UCLA.
1/44 A simple Test For the Consecutive Ones Property.
CPSC 668Set 18: Wait-Free Simulations Beyond Registers1 CPSC 668 Distributed Algorithms and Systems Fall 2006 Prof. Jennifer Welch.
Complexity class NP Is the class of languages that can be verified by a polynomial-time algorithm. L = { x in {0,1}* | there exists a certificate y with.
Properties of SLUR Formulae Ondřej Čepek, Petr Kučera, Václav Vlček Charles University in Prague SOFSEM 2012 January 23, 2012.
1 Nir Shavit Tel-Aviv University and Sun Microsystems Labs (Joint work with Maurice Herlihy of Brown University) © Herlihy and Shavit 2004 The Topological.
R/W Reductions Eli Gafni UCLA Disc Godel Celebration 10/4/04.
R/W Reductions Eli Gafni UCLA ICDCN06 12/30. Outline Tasks and r/w impossible task: –2 cons –3 cons NP-completeness R/W reduction “Weakest Unsolvable.
CPSC 668Set 10: Consensus with Byzantine Failures1 CPSC 668 Distributed Algorithms and Systems Fall 2009 Prof. Jennifer Welch.
Advanced Topics in Algorithms and Data Structures Page 1 Parallel merging through partitioning The partitioning strategy consists of: Breaking up the given.
Distributed Algorithms: Asynch R/W SM Computability Eli Gafni, UCLA Summer Course, CRI, Haifa U, Israel.
Chapter 7. Deadlocks.
CPSC 668Set 16: Distributed Shared Memory1 CPSC 668 Distributed Algorithms and Systems Fall 2006 Prof. Jennifer Welch.
Group-Solvability The Ultimate Wait-Freedom Eli Gafni UCLA DISC /4/04.
CPSC 668Set 10: Consensus with Byzantine Failures1 CPSC 668 Distributed Algorithms and Systems Fall 2006 Prof. Jennifer Welch.
1 Fault-Tolerant Consensus. 2 Failures in Distributed Systems Link failure: A link fails and remains inactive; the network may get partitioned Crash:
Parallel Merging Advanced Algorithms & Data Structures Lecture Theme 15 Prof. Dr. Th. Ottmann Summer Semester 2006.
Deriving an Algorithm for the Weak Symmetry Breaking Task Armando Castañeda Sergio Rajsbaum Universidad Nacional Autónoma de México.
Type Inference David Walker CS 510, Fall Criticisms of Typed Languages Types overly constrain functions & data polymorphism makes typed constructs.
Type Inference II David Walker COS 441. Type Inference Goal: Given unannotated program, find its type or report it does not type check Overview: generate.
© Sergio Rajsbaum; DISC/GETCO 2004 Introduction to the Gödel Prize Session Sergio Rajsbaum Math Institute UNAM, Mexico.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 22 Instructor: Paul Beame.
SOFTWARE DESIGN (SWD) Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Efficient Partition Trees Jiri Matousek Presented By Benny Schlesinger Omer Tavori 1.
Manifold Protocols TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A AA Companion slides for Distributed Computing.
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
1 © P. Kouznetsov A Note on Set Agreement with Omission Failures Rachid Guerraoui, Petr Kouznetsov, Bastian Pochon Distributed Programming Laboratory Swiss.
A Level Computing#BristolMet Session Objectives U2#S9 MUST identify operators and operands SHOULD describe different types of operator COULD Create an.
CS4231 Parallel and Distributed Algorithms AY 2006/2007 Semester 2 Lecture 3 (26/01/2006) Instructor: Haifeng YU.
Lecture 6 Algorithm Analysis Arne Kutzner Hanyang University / Seoul Korea.
Chap. 7 Genome Rearrangements Introduction to Computational Molecular Biology Chap ~
Sieve of Eratosthenes by Fola Olagbemi. Outline What is the sieve of Eratosthenes? Algorithm used Parallelizing the algorithm Data decomposition options.
Type Inference II David Walker COS 441. Type Inference Goal: Given unannotated program, find its type or report it does not type check Overview: generate.
Data Structures R e c u r s i o n. Recursive Thinking Recursion is a problem-solving approach that can be used to generate simple solutions to certain.
Memory Allocation of Multi programming using Permutation Graph By Bhavani Duggineni.
Program Design. The design process How do you go about writing a program? –It’s like many other things in life Understand the problem to be solved Develop.
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS Fall 2011 Prof. Jennifer Welch CSCE 668 Set 16: Distributed Shared Memory 1.
6.853: Topics in Algorithmic Game Theory Fall 2011 Constantinos Daskalakis Lecture 8.
CMPSC 16 Problem Solving with Computers I Spring 2014 Instructor: Tevfik Bultan Lecture 4: Introduction to C: Control Flow.
6.853: Topics in Algorithmic Game Theory Fall 2011 Constantinos Daskalakis Lecture 9.
Chapter 12 Theory of Computation Introduction to CS 1 st Semester, 2014 Sanghyun Park.
1 © R. Guerraoui Set-Agreement (Generalizing Consensus) R. Guerraoui.
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
Distributed Algorithms (22903)
Lecture Outline for Recurrences
Algebraic Topology and Distributed Computing part two
Solvability of Colorless Tasks in Different Models
Wait-Free Computability for General Tasks
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
Distributed Algorithms (22903)
Multi-Way Search Trees
Simulations and Reductions
Combinatorial Topology and Distributed Computing
Algebraic Topology and Decidability in Distributed Computing
Renaming and Oriented Manifolds
Rodolfo Conde Joint work with Sergio Rajsbaum Instituto de Matemáticas
SOFTWARE DESIGN (SWD) Instructor: Dr. Hany H. Ammar
Algebraic Topology and Distributed Computing part three
Distributed Algorithms (22903)
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
Distributed Algorithms (22903)
Combinatorial Topology and Distributed Computing
Combinatorial Topology and Distributed Computing
Rocky K. C. Chang September 11, 2018
Chapter 3: Simplicial Homology Instructor: Yusu Wang
Locality In Distributed Graph Algorithms
Presentation transcript:

Bigamy Eli Gafni UCLA GETCO 2010

Outline Models, tasks, and solvability What is SM? r/w w.f. asynch computability Sperner Lemma as a consequence of the impossibility of set consensus Impossibility of 0-1 coloring 1111… Simple algorithmic reduction of t-resiliency to wait-free (characterizing t-resiliency) – Consensus contingent on a resolver t-resiliency by r/w reduction Algorithmic Asynch Computability

(Inputless) Tasks Point to set map from a chromatic simplex to a chromatic labeled complex that preserve dimension and colors Eg two proc cons between p0 and p1 p0p1 p0p1p0 0011

Tasks cont’d A task is ``invoked’’ by a proc and returns a value to the invoker. If just p0 invoked, the task will return 0 If just p1 invoked, the task will return 1 If both invoked, it will either return 0 to both or 1 to both

A model A task whose labels also identify a single consistent participating set for each label To make 2 cons a task we have 4 outputs – ((P0,0,p0),(p1,0,{p0,p1})) – ((P1,1,p1),(p0,1,{p0,p1})) – ((P0,0,{p0,p1}),(p1,0,{p0,p1})) – ((P1,1,{p0,p1}),(p0,1,{p0,p1})) coloroutput Participating set

A model cont’ed A task/model solves a task if when iterating the model/task enough times to get a task A then there exists a chromatic simplicial map ``boundary preserving’’ from A to the task. SM wait-free model/task is the immediate snaps task

What is SM? The task implemented operationally as follows: All interleaving of w(i), followed by any permutation of of r(i,j) j=1,…,n An r(I,j) ``reads’’ j for pi iff w(i) precedes it. pi returns all the ids it read What is the (succinct) ``spec’’ of the possible simplexes returned?

SM spec There must be at least one proc who returns all (the proc to write last). Take all the procs that return the set n and eliminate their ids from smaller returned sets, ie move their write up in the sequence… Continue inductively. The returned sets left is an ``immediate snapshot’’ simplex SM is a ``fat’’ immediate snapshot n iterations of SM/task maps to immediate snapshot

Set Cons Task (n) If a set P, |P|=k<n invoke the task each proc returns an id from P |P|=n one of the ids is not returned by anybody.

Sperner Lemma Sperner coloring of a subdivided simplex: Each 0-face distinct color. A vertex gets the color of one of the 0-faces carrying it Lemma: Any Sperner coloring forces a fully colored n-simplex

Asynch Computability Any r/w w.f. algorithm for set cons implies a Sperner coloring of a chromatic subdivided simplex Any Sperner coloring of a chromaic subdivided simplex without fully colored simplex implies a r/w w.f. algorithm for set cons Conclusion: Sperner holds for chromatic subdivided simplexes Will later show a property that holds only for chromatic, so general Sperner is not ``automatic’’

General Sperner from Chromatic Sperner Let A be a subdivided simplex and let A be Sperner colored, then there exists a refinement r(A) of A which is chromatic and moreover, If A has no fully colored simplex so does r(A). This is not a ``disguised derivation’’ of Sperner as no ``combinatorics’’ were relied on.

Impossibility of …task Want to prove the following Lemma: A 0-1 coloring of a chromatic subdivided simplex such that each boundary simplex has at least one vertex colored 0, forces a mono-chromatic full simplex Want to prove the Lemma from the impossibility of set cons.

Proof The counter of the lemma implies a r/w w.f. algorithm on n procs such that of n processors at least one returns 0 and at least one returns 1. A proc that return 0 now chooses it name, at proc that returns 1 writes it in SM and reads and return a participating id that did not write it returned 1. The first to write 1 will not be returned by anybody = set cons.

R/W Reduction What’s a researcher in Distributed Algorithms to do after the discovery of the connection to topology? – Take topo 101 in order to remain ``viable’’? Analogue thing occurred with NP-completeness. Some do ``algorithms’’ some do ``complexity’’ and suddenly a big implication from complexity on algorithm: – NP-completeness reduction Here: Do r/w reductions Characterization of t-resilient by reduction to w.f.:

t-resiliency Model/Task implementation: – w(i) followed by any permutation of r(i,j) j=1,…,n – Interleave on I – T-resiliency: The first read is preceded by at least n-t w’s No ``fat’’ ``t-resilient immediate snapshot’’! Can be shown: 2 iterations of immediate snaps with ``views’’ that ``see’’ less than n-t removed Will show equivalent to: Wait once until see n-t then proceed w.f.

t-res by r/w reduction Consensus contingent on a ``resolver’’ – If all propose same all output same – Else if resolver is alive all output its value – Epsilon ¼ agreement – If not ? Then output else wait for resolver 01 0?0? 1?1?

t-res cont For simplicity t=1 Wait until n-1, or n In Round Robin service the ``reads’’ by resolver consensus, with the resolver for he code of pi is pi If stuck with no output then from there on al agree on the ``reads’’ until the stuck is resolved and jumps to another code.