Snap-Stabilization in Message-Passing Systems Sylvie Delaët (LRI) Stéphane Devismes (CNRS, LRI) Mikhail Nesterenko (Kent State University) Sébastien Tixeuil.

Slides:



Advertisements
Similar presentations
Self-Stabilizing End-to-End Communication in Bounded Capacity, Omitting, Duplicating and non-FIFO Dynamic Networks Shlomi Dolev 1, Ariel Hanemann 1, Elad.
Advertisements

Impossibility of Distributed Consensus with One Faulty Process
N-Consensus is the Second Strongest Object for N+1 Processes Eli Gafni UCLA Petr Kuznetsov Max Planck Institute for Software Systems.
Chapter 6 - Convergence in the Presence of Faults1-1 Chapter 6 Self-Stabilization Self-Stabilization Shlomi Dolev MIT Press, 2000 Shlomi Dolev, All Rights.
Snap-stabilizing Committee Coordination Borzoo Bonakdarpour Stephane Devismes Franck Petit IEEE International Parallel and Distributed Processing Symposium.
Distributed Computing 8. Impossibility of consensus Shmuel Zaks ©
Snap-Stabilization in Message-Passing Systems Sylvie Delaët (LRI) Stéphane Devismes (CNRS, LRI) Mikhail Nesterenko (Kent State University) Sébastien Tixeuil.
Snap-Stabilizing Detection of Cutsets Alain Cournier, Stéphane Devismes, and Vincent Villain HIPC’2005, December , Goa (India)
Fast Leader (Full) Recovery despite Dynamic Faults Ajoy K. Datta Stéphane Devismes Lawrence L. Larmore Sébastien Tixeuil.
Linearizing Peer-to-Peer Systems with Oracles by Rizal Mohd Nor Mikhail Nesterenko Sébastien Tixeuil SSS 2013 Nov 13-16, 2013.
Distributed Computing 8. Impossibility of consensus Shmuel Zaks ©
Stéphane Devismes VERIMAG UMR 5104 Univ. Joseph Fourier Grenoble, France Optimal Exploration of Small Rings Talk by Franck Petit, Univ. Pierre et Marie.
Introduction to Self-Stabilization Stéphane Devismes.
From Self- to Snap- Stabilization Alain Cournier, Stéphane Devismes, and Vincent Villain SSS’2006, November 17-19, Dallas (USA)
Self-Stabilization: An approach for Fault-Tolerance in Distributed Systems Stéphane Devismes 16/12/2013MAROC'2013.
Information Dissemination in Highly Dynamic Graphs Regina O’Dell Roger Wattenhofer.
 Idit Keidar, Principles of Reliable Distributed Systems, Technion EE, Spring Principles of Reliable Distributed Systems Lecture 7: Failure Detectors.
Concurrency CS 510: Programming Languages David Walker.
CS294, YelickSelf Stabilizing, p1 CS Self-Stabilizing Systems
Distributed systems Module 2 -Distributed algorithms Teaching unit 1 – Basic techniques Ernesto Damiani University of Bozen Lesson 4 – Consensus and reliable.
Distributed systems Module 2 -Distributed algorithms Teaching unit 1 – Basic techniques Ernesto Damiani University of Bozen Lesson 2 – Distributed Systems.
 Idit Keidar, Principles of Reliable Distributed Systems, Technion EE, Spring Principles of Reliable Distributed Systems Lecture 6: Impossibility.
Chapter 4 Self-Stabilization Self-Stabilization Shlomi Dolev MIT Press, 2000 Draft of October 2003 Shlomi Dolev, All Rights Reserved ©
CIS 720 Distributed algorithms. “Paint on the forehead” problem Each of you can see other’s forehead but not your own. I announce “some of you have paint.
On Probabilistic Snap-Stabilization Karine Altisen Stéphane Devismes University of Grenoble.
Selected topics in distributed computing Shmuel Zaks
Formal Model for Simulations Instructor: DR. Lê Anh Ngọc Presented by – Group 6: 1. Nguyễn Sơn Hùng 2. Lê Văn Hùng 3. Nguyễn Xuân Hậu 4. Nguyễn Xuân Tùng.
1 A Mutual Exclusion Algorithm for Ad Hoc Mobile networks Presentation by Sanjeev Verma For COEN th Nov, 2003 J. E. Walter, J. L. Welch and N. Vaidya.
Comparison-Based System- Level Fault Diagnosis in Ad Hoc Networks Stefano Chessa, Paolo Santi Reliable Distributed Systems, Proceedings. 20 th IEEE.
On Probabilistic Snap-Stabilization Karine Altisen Stéphane Devismes University of Grenoble.
Distributed Algorithms – 2g1513 Lecture 9 – by Ali Ghodsi Fault-Tolerance in Distributed Systems.
Snap-Stabilizing PIF and Useless Computations Alain Cournier, Stéphane Devismes, and Vincent Villain ICPADS’2006, July , Minneapolis (USA)
Franck Petit INRIA, LIP Lab. Univ. / ENS of Lyon France Optimal Probabilistic Ring Exploration by Semi-Synchronous Oblivious Robots Joint work with Stéphane.
A Self-Stabilizing O(n)-Round k-Clustering Algorithm Stéphane Devismes, VERIMAG.
6.852: Distributed Algorithms Spring, 2008 Class 25-1.
Self-Stabilizing K-out-of-L Exclusion on Tree Networks Stéphane Devismes, VERIMAG Joint work with: – Ajoy K. Datta (Univ. Of Nevada) – Florian Horn (LIAFA)
Self-Stabilizing K-out-of-L Exclusion on Tree Networks Stéphane Devismes, VERIMAG Joint work with: – Ajoy K. Datta (Univ. Of Nevada) – Florian Horn (LIAFA)
Approximation of δ-Timeliness Carole Delporte-Gallet, LIAFA UMR 7089, Paris VII Stéphane Devismes, VERIMAG UMR 5104, Grenoble I Hugues Fauconnier, LIAFA.
Weak vs. Self vs. Probabilistic Stabilization Stéphane Devismes (CNRS, LRI, France) Sébastien Tixeuil (LIP6-CNRS & INRIA, France) Masafumi Yamashita (Kyushu.
Physical clock synchronization Question 1. Why is physical clock synchronization important? Question 2. With the price of atomic clocks or GPS coming down,
Self-Stabilizing Philosophers with Generic Conflicts Praveen Danturi Mikhail Nesterenko Sébastien Tixeuil Eighth International Symposium on Stabilization,
ITEC452 Distributed Computing Lecture 6 Mutual Exclusion Hwajung Lee.
Several sets of slides by Prof. Jennifer Welch will be used in this course. The slides are mostly identical to her slides, with some minor changes. Set.
1 Eventual Leader Election in Evolving Mobile Networks Luciana Arantes 1, Fabiola Greve 2, Véronique Simon 1, and Pierre Sens 1 1 Université de Paris 6.
Anish Arora Ohio State University Mikhail Nesterenko Kent State University Local Tolerance to Unbounded Byzantine Faults.
CS 542: Topics in Distributed Systems Self-Stabilization.
Sorting on Skip Chains Ajoy K. Datta, Lawrence L. Larmore, and Stéphane Devismes.
1 Fault tolerance in distributed systems n Motivation n robust and stabilizing algorithms n failure models n robust algorithms u decision problems u impossibility.
Fault tolerance and related issues in distributed computing Shmuel Zaks GSSI - Feb
Self-Stabilizing Algorithm with Safe Convergence building an (f,g)-Alliance Fabienne Carrier Ajoy K. Datta Stéphane Devismes Lawrence L. Larmore Yvan Rivierre.
Fault tolerance and related issues in distributed computing Shmuel Zaks GSSI - Feb
Snap-Stabilization in Message-Passing Systems Sylvie Delaët (LRI) Stéphane Devismes (CNRS, LRI) Mikhail Nesterenko (Kent State University) Sébastien Tixeuil.
Superstabilizing Protocols for Dynamic Distributed Systems Authors: Shlomi Dolev, Ted Herman Presented by: Vikas Motwani CSE 291: Wireless Sensor Networks.
Self-stabilizing (f,g)-Alliances with Safe Convergence Fabienne Carrier Ajoy K. Datta Stéphane Devismes Lawrence L. Larmore Yvan Rivierre.
Hwajung Lee. Mutual Exclusion CS p0 p1 p2 p3 Some applications are:  Resource sharing  Avoiding concurrent update on shared data  Controlling the.
Snap-Stabilizing Depth-First Search on Arbitrary Networks Alain Cournier, Stéphane Devismes, Franck Petit, and Vincent Villain OPODIS 2004, December
Introduction to distributed systems description relation to practice variables and communication primitives instructions states, actions and programs synchrony.
Around Self-Stabilization Part 2: Strengthened Forms of Self-Stabilization Stéphane Devismes Post-Doc CNRS at the LRI (Paris VII)
第1部: 自己安定の緩和 すてふぁん どぅゔぃむ ポスドク パリ第11大学 LRI CNRS あどばいざ: せばすちゃ てぃくそい
Evaluating and Optimizing Stabilizing Dining Philosophers
New Variants of Self-Stabilization
A Snap-Stabilizing DFS with a Lower Space Requirement
Robust Stabilizing Leader Election
Physical clock synchronization
Algorithms for Extracting Timeliness Graphs
ITEC452 Distributed Computing Lecture 7 Mutual Exclusion
Introduction to Self-Stabilization
Corona Robust Low Atomicity Peer-To-Peer Systems
Snap-Stabilization in Message-Passing Systems
Distributed Systems and Concurrency: Synchronization in Distributed Systems Majeed Kassis.
Presentation transcript:

Snap-Stabilization in Message-Passing Systems Sylvie Delaët (LRI) Stéphane Devismes (CNRS, LRI) Mikhail Nesterenko (Kent State University) Sébastien Tixeuil (LIP6)

02/04/2008Orsay, réunion SOGEA2 Message-Passing Model Network bidirectionnal and fully-connected Communications by messages Links asynchronous, fair, and FIFO Ids on processes Transient faults m1m1 m2m2 m3m3 m3m3 mama mbmb mama mbmb 1234

02/04/2008Orsay, réunion SOGEA3 Stabilizing Protocols Self-Stabilization [Dijkstra, 1974] time Transient Faults Convergence c1c1 c3c3 c2c2 c5c5 c4c4 c6c6 c7c7 Arbitrary initial state uncorrect behavior correct behavior

02/04/2008Orsay, réunion SOGEA4 Stabilizing Protocols Snap-Stabilization [Bui et al, 1999] time Transient Faults c1c1 c3c3 c2c2 c5c5 c4c4 c6c6 c7c7 Arbitrary initial state uncorrect behavior correct behavior

02/04/2008Orsay, réunion SOGEA5 Related Works in message-passing (reliable communication in self-stabilization) [Gouda & Multari, 1991]  Deterministic + Unbounded Capacity => Unbounded Counter  Deterministic + Bounded Capacity => Bounded Counter [Afek & Brown, 1993]  Probabilistic + Unbounded Capacity + Bounded Counter ? ?

02/04/2008Orsay, réunion SOGEA6 Related Works in message-passing (self-stabilization) [Varghese, 1993]  Deterministic + Bounded Capacity [Katz & Perry, 1993]  Unbounded Capacity, deterministic, infinite counter [Delaët et al]  Unbounded Capacity, deterministic, finite memory  Silent tasks

02/04/2008Orsay, réunion SOGEA7 Related Works (snap-stabilization) Nothing in the Message-Passing Model Only in State Model:  Locally Shared Memory  Composite Atomicity [Cournier et al, 2003]

Snap-Stabilization in Message-Passing Systems

02/04/2008Orsay, réunion SOGEA9 Case 1: unbounded capacity links Impossible for safety-distributed specifications

02/04/2008Orsay, réunion SOGEA10 B A Safety-distributed specification p q Example : Mutual Exclusion

02/04/2008Orsay, réunion SOGEA11 A Safety-distributed specification p spsp m1m1 m2m2 m3m3 m4m4 m5m5 B q sqsq m’ 1 m’ 2 m’ 3 m’ 4

02/04/2008Orsay, réunion SOGEA12 A Safety-distributed specification p spsp m1m1 m2m2 m3m3 m4m4 m5m5 B q sqsq m’ 1 m’ 2 m’ 3 m’ 4

02/04/2008Orsay, réunion SOGEA13 Case 2: bounded capacity links Problem to solve: Reliable Communication Starting from any configuration, if Tintin sends a question to Captain Haddock, then: Tintin eventually receives good answers Tintin takes only the good answers into account ? ?

02/04/2008Orsay, réunion SOGEA14 Case 2: bounded capacity links Case Study: Single-Message Capacity 0 or 1 message

02/04/2008Orsay, réunion SOGEA15 Case 2: bounded capacity links Sequence number State  {0,1,2,3,4} p q State p State q 0 NeigState p NeigState q ? ?? 0 1 Until State p = 4 ?

02/04/2008Orsay, réunion SOGEA16 Case 2: bounded capacity links Pathological Case: p q State p State q 0 NeigState p NeigState q ? 1?

02/04/2008Orsay, réunion SOGEA17 Generalizations Arbitrary Bounded Capacity  2xC max +3 values p q C max values 1 value

02/04/2008Orsay, réunion SOGEA18 Generalizations PIF in fully-connected network m m m AmAm AmAm AmAm

02/04/2008Orsay, réunion SOGEA19 Application Mutual Exclusion in a fully-connected & identified network using the PIF

02/04/2008Orsay, réunion SOGEA20 Mutual Exclusion Specification:  Any process that requests the CS enters in the CS in finite time (Liveness)  If a requesting process enters in the CS, then it executes the CS alone (Safety) N.b. Some non-requesting processes may be initially in the CS

02/04/2008Orsay, réunion SOGEA21 Principles (1/3) Let L be the process with the smallest ID L decides using Value L which is authorized to access the CS 1.if Value L = 0, then L is authorized 2.if Value L = i, then the i th neighbor of L is authorized When a process learns that it is authorized by L to access the CS: 1.It ensures that no other process can execute the CS 2.It executes the CS, if it requests it 3.It notifies L when it terminates Step 2 (so that L increments Value L )

02/04/2008Orsay, réunion SOGEA22 Principles (2/3) Each process sequentially executes 4 phases infinitely often A requesting process p can enter in the CS only after executing Phases 1 to 4 consecutively  The CS is in Phase 4

02/04/2008Orsay, réunion SOGEA23 Principles (3/3) For a process p: Phase 1: p evaluates the IDs using a PIF Phase 2: p asks if Value q = p to each other process q (PIF) Phase 3: If Winner(p) then p broadcasts EXIT to every other process (PIF) Phase 4: If Winner(p) then CS; If p≠L, then p broadcasts EXITCS (PIF), else p increments Value p (upon reception of EXITCS, L increments Value L )

02/04/2008Orsay, réunion SOGEA24 Conclusion Snap-Stabilization in message-passing is no more an open question

02/04/2008Orsay, réunion SOGEA25 Extensions Apply snap-stabilization in message-passing to:  Other topologies (tree, arbitrary topology)  Other problems  Other failure patterns Space requirement

Thank you