New Variants of Self-Stabilization

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

Stefan Schmid & Christian Scheideler Dept. of Computer Science
Chapter 6 - Convergence in the Presence of Faults1-1 Chapter 6 Self-Stabilization Self-Stabilization Shlomi Dolev MIT Press, 2000 Shlomi Dolev, All Rights.
Chapter 7 - Local Stabilization1 Chapter 7: roadmap 7.1 Super stabilization 7.2 Self-Stabilizing Fault-Containing Algorithms 7.3 Error-Detection Codes.
Teaser - Introduction to Distributed Computing
Brewer’s Conjecture and the Feasibility of Consistent, Available, Partition-Tolerant Web Services Authored by: Seth Gilbert and Nancy Lynch Presented by:
Snap-stabilizing Committee Coordination Borzoo Bonakdarpour Stephane Devismes Franck Petit IEEE International Parallel and Distributed Processing Symposium.
Leader Election Let G = (V,E) define the network topology. Each process i has a variable L(i) that defines the leader.  i,j  V  i,j are non-faulty.
Snap-Stabilization in Message-Passing Systems Sylvie Delaët (LRI) Stéphane Devismes (CNRS, LRI) Mikhail Nesterenko (Kent State University) Sébastien Tixeuil.
Self Stabilizing Algorithms for Topology Management Presentation: Deniz Çokuslu.
Self-Stabilization in Distributed Systems Barath Raghavan Vikas Motwani Debashis Panigrahi.
Fast Leader (Full) Recovery despite Dynamic Faults Ajoy K. Datta Stéphane Devismes Lawrence L. Larmore Sébastien Tixeuil.
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS Fall 2011 Prof. Jennifer Welch CSCE 668 Self Stabilization 1.
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.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
CPSC 668Self Stabilization1 CPSC 668 Distributed Algorithms and Systems Spring 2008 Prof. Jennifer Welch.
CS294, YelickSelf Stabilizing, p1 CS Self-Stabilizing Systems
Outline Max Flow Algorithm Model of Computation Proposed Algorithm Self Stabilization Contribution 1 A self-stabilizing algorithm for the maximum flow.
Self-Stabilization An Introduction Aly Farahat Ph.D. Student Automatic Software Design Lab Computer Science Department Michigan Technological University.
Chapter 3 - Motivating Self-Stabilization3-1 Chapter 3 Self-Stabilization Self-Stabilization Shlomi Dolev MIT Press, 2000 Shlomi Dolev, All Rights Reserved.
On Probabilistic Snap-Stabilization Karine Altisen Stéphane Devismes University of Grenoble.
Selected topics in distributed computing Shmuel Zaks
Andreas Larsson, Philippas Tsigas SIROCCO Self-stabilizing (k,r)-Clustering in Clock Rate-limited Systems.
On Probabilistic Snap-Stabilization Karine Altisen Stéphane Devismes University of Grenoble.
Fault-containment in Weakly Stabilizing Systems Anurag Dasgupta Sukumar Ghosh Xin Xiao University of Iowa.
Snap-Stabilizing PIF and Useless Computations Alain Cournier, Stéphane Devismes, and Vincent Villain ICPADS’2006, July , Minneapolis (USA)
Parallel Distributed Programming Introduction.
Franck Petit INRIA, LIP Lab. Univ. / ENS of Lyon France Optimal Probabilistic Ring Exploration by Semi-Synchronous Oblivious Robots Joint work with Stéphane.
Fault-containment in Weakly Stabilizing Systems Anurag Dasgupta Sukumar Ghosh Xin Xiao University of Iowa.
The Complexity of Distributed Algorithms. Common measures Space complexity How much space is needed per process to run an algorithm? (measured in terms.
A Self-Stabilizing O(n)-Round k-Clustering Algorithm Stéphane Devismes, VERIMAG.
Dissecting Self-* Properties Andrew Berns & Sukumar Ghosh University of Iowa.
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)
CS 425/ECE 428/CSE424 Distributed Systems (Fall 2009) Lecture 9 Consensus I Section Klara Nahrstedt.
Weak vs. Self vs. Probabilistic Stabilization Stéphane Devismes (CNRS, LRI, France) Sébastien Tixeuil (LIP6-CNRS & INRIA, France) Masafumi Yamashita (Kyushu.
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.
Snap-Stabilization in Message-Passing Systems Sylvie Delaët (LRI) Stéphane Devismes (CNRS, LRI) Mikhail Nesterenko (Kent State University) Sébastien Tixeuil.
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.
Distributed Error- Confinement Shay Kutten (Technion) with Boaz Patt-Shamir (Tel Aviv U.) Yossi Azar (Tel Aviv U.)
CIS 825 Review session. P1: Assume that processes are arranged in a ring topology. Consider the following modification of the Lamport’s mutual exclusion.
Self-stabilizing (f,g)-Alliances with Safe Convergence Fabienne Carrier Ajoy K. Datta Stéphane Devismes Lawrence L. Larmore Yvan Rivierre.
Snap-Stabilizing Depth-First Search on Arbitrary Networks Alain Cournier, Stéphane Devismes, Franck Petit, and Vincent Villain OPODIS 2004, December
Around Self-Stabilization Part 2: Strengthened Forms of Self-Stabilization Stéphane Devismes Post-Doc CNRS at the LRI (Paris VII)
Model and complexity Many measures Space complexity Time complexity
第1部: 自己安定の緩和 すてふぁん どぅゔぃむ ポスドク パリ第11大学 LRI CNRS あどばいざ: せばすちゃ てぃくそい
Evaluating and Optimizing Stabilizing Dining Philosophers
Analysis of Link Reversal Routing Algorithms
Outline Distributed Mutual Exclusion Distributed Deadlock Detection
Atomicity, Non-determinism, Fairness
Parallel and Distributed Algorithms
Student: Fang Hui Supervisor: Teo Yong Meng
CS60002: Distributed Systems
A Snap-Stabilizing DFS with a Lower Space Requirement
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
Robust Stabilizing Leader Election
Distributed Error- Confinement
Algorithms for Extracting Timeliness Graphs
Introduction to Self-Stabilization
Corona Robust Low Atomicity Peer-To-Peer Systems
Snap-Stabilization in Message-Passing Systems
Presentation transcript:

New Variants of Self-Stabilization Stéphane Devismes

Retraite REGAL 2017, Cap Hornu Roadmap Probabilistic Snap-Stabilization [Altisen & Devismes, TCS, 2017] Gradual Stabilization [Altisen et al, EUROPAR’2016] Retraite REGAL 2017, Cap Hornu

Retraite REGAL 2017, Cap Hornu Roadmap Probabilistic Snap-Stabilization [Altisen & Devismes, TCS, 2017] Gradual Stabilization [Altisen et al, EUROPAR’2016] Retraite REGAL 2017, Cap Hornu

Self-Stabilization [Dijkstra,74] Retraite REGAL 2017, Cap Hornu

Self-Stabilization [Dijkstra,74] Transient faults: Location: node or link Duration: finite Frequency: low e.g., memory corruptions, message losses, message corruptions Retraite REGAL 2017, Cap Hornu

Self-Stabilization [Dijkstra,74] Retraite REGAL 2017, Cap Hornu

Self-Stabilization [Dijkstra,74] Retraite REGAL 2017, Cap Hornu

Self-Stabilization [Dijkstra,74] Retraite REGAL 2017, Cap Hornu

Self-Stabilization [Dijkstra,74] Retraite REGAL 2017, Cap Hornu

Self-Stabilization [Dijkstra,74] Retraite REGAL 2017, Cap Hornu

Self-Stabilization [Dijkstra,74] Recover after any number of transient faults Retraite REGAL 2017, Cap Hornu

Retraite REGAL 2017, Cap Hornu Advantages Tolerate any finite number of transient faults Lightweight Low overhead No initialization Self-organization in wireless sensor network Tolerate (detectable) topological changes Self-stabilizing algorithms can be easily composed Retraite REGAL 2017, Cap Hornu

Drawbacks of Self-Stabilization Temporary Loss of Safety No local detection of stabilization Permanent local checks Endlessly repeat computations Impossibility Results Retraite REGAL 2017, Cap Hornu

Drawbacks of Self-Stabilization Temporary Loss of Safety No local detection of stabilization Permanent local checks Endlessly repeat computations Impossibility Results Retraite REGAL 2017, Cap Hornu

Temporary Loss of Safety Goal: Minimize the stabilization time Retraite REGAL 2017, Cap Hornu

Temporary Loss of Safety Stabilization time usually in Ω(D) rounds [Tixeuil & Genolini, 2002] Retraite REGAL 2017, Cap Hornu

Self-Stabilization: endless repetitions of finite task executions Transient faults Retraite REGAL 2017, Cap Hornu

Self-Stabilization: endless repetitions of finite task executions Transient faults Finite (generally unbounded) number of times Retraite REGAL 2017, Cap Hornu

(Deterministic) Snap-Stabilization [Bui et al, 1999] Resume a correct behavior since the first started task after the end of faults Transient faults First start Retraite REGAL 2017, Cap Hornu

(Deterministic) Snap-Stabilization [Bui et al, 1999] Strengthened form of self-stabilization Snap-Stabilization ⇒ Self-Stabilization Lot of solutions are available, but only in Identified, or Rooted networks What about anonymous networks ? Retraite REGAL 2017, Cap Hornu

(Deterministic) Snap-Stabilization [Bui et al, 1999] Most of classical problems even have no deterministic self-stabilizing solutions, e.g., Token passing Leader Election Several weakened forms of self-stabilization have been introduced to circumvent these impossibility results, e.g., Weak-stabilization [Gouda, 2001] K-stabilization [Beauquier et al, 1998] Probabilistic self-stabilization [Herman, 1990] Retraite REGAL 2017, Cap Hornu

(Deterministic) Snap-Stabilization [Bui et al, 1999] Most of classical problems even have no deterministic self-stabilizing solutions, e.g., Token passing Leader Election Several weakened forms of self-stabilization have been introduced to circumvent these impossibility results, e.g., Weak-stabilization [Gouda, 2001] K-stabilization [Beauquier et al, 1998] Probabilistic self-stabilization [Herman, 1990] Retraite REGAL 2017, Cap Hornu

Deterministic vs. Probabilistic Self-Stabilization Deterministic Self-stabilization Deterministic convergence: Starting from any configuration, the system converges to a legitimate configuration within finite time Probabilistic Self-stabilization Probabilistic convergence: Starting from any configuration, the system converges to a legitimate configuration within almost surely finite time (Las Vegas Approach) Retraite REGAL 2017, Cap Hornu

Retraite REGAL 2017, Cap Hornu Contribution (1/2) Probabilistic Snap-stabilization Weakened form of snap-stabilization Not comparable to self-stabilization Ideas We relax the definition of snap-stabilization without altering its strong safety guarantees to address anonymous networks Retraite REGAL 2017, Cap Hornu

Definition For every task started after the faults (i.e., starting from an arbitrary configuration) The safety part of the specification is satisfied However, the liveness part of the specification is only almost surely ensured (Las Vegas approach) Transient faults The task is executed safely, but it terminates in almost surely finite time Retraite REGAL 2017, Cap Hornu

Retraite REGAL 2017, Cap Hornu Contribution (2/2) 2 probabilistic snap-stabilizing protocols for the guaranteed service leader election in anonymous networks using the locally shared memory model where each process knows a value B s.t. B < n ≤ 2B The first one assumes a synchronous scheduler The second one assumes an asynchronous scheduler This problem has no deterministic self- or snap- stabilizing solution Retraite REGAL 2017, Cap Hornu

Definition of the Problem processes P1 P2 P3 P4 P5 time Retraite REGAL 2017, Cap Hornu

Definition of the Problem processes ? P1 ? P2 ? P3 ? P4 Upon a request A process initiates the question “Am I the leader of the network ?” ? P5 time Retraite REGAL 2017, Cap Hornu

Definition of the problem The task consists in computing the answer (yes/no) processes ? yes P1 ? no P2 ? no P3 ? no P4 ? no P5 time Retraite REGAL 2017, Cap Hornu

Definition of the problem Each process always receives the same answer to each of its request processes ? ? ? yes yes yes P1 ? no ? no P2 ? no ? no P3 ? no ? no P4 ? no ? no ? no P5 time Retraite REGAL 2017, Cap Hornu

Definition of the problem Exactly one process always receives yes processes ? ? ? yes yes yes P1 ? no ? no P2 ? no ? no P3 ? no ? no P4 ? no ? no ? no P5 time Retraite REGAL 2017, Cap Hornu

Retraite REGAL 2017, Cap Hornu Complexity We proposed 2 probabilistic snap-stabilizing protocols for the guaranteed service leader election in anonymous networks where each process knows a value B s.t. B < n ≤ 2B The first one assumes a synchronous scheduler, and its expected time complexity is in O(n) The second one assumes an asynchronous scheduler, and its expected time complexity is in O(n2) These two expected times can be reduced to O(D) and O(Dn), respectively, if processes have the knowledge of the diameter D of the network. Retraite REGAL 2017, Cap Hornu

Retraite REGAL 2017, Cap Hornu Generalization Guaranteed service leader election → guaranteed service naming: we can mimic the behavior of an identified network and emulate the transformer proposed in [Cournier et al, TCS’2016] CCL: In the locally shared memory model, almost all (non-stabilizing) algorithm  can be, semi-automatically, turned into probabilistic snap-stabilizing algorithm working in anonymous networks. Perspective: The transformer is heavy! Need of dedicated solutions with reasonable complexities Retraite REGAL 2017, Cap Hornu

Retraite REGAL 2017, Cap Hornu Roadmap Probabilistic Snap-Stabilization [Altisen & Devismes, TCS, 2017] Gradual Stabilization [Altisen et al, EUROPAR’2016] Retraite REGAL 2017, Cap Hornu

Retraite REGAL 2017, Cap Hornu Related Work Self-Stab + Safe Convergence [Kakugawa & Masuzawa, IPDPS’06] Super-Stabilization [Dolev & Herman, CJTCS’97] Retraite REGAL 2017, Cap Hornu

Retraite REGAL 2017, Cap Hornu Related Work Self-Stab + Safe Convergence [Kakugawa & Masuzawa, IPDPS’06] Super-Stabilization [Dolev & Herman, CJTCS’97] Retraite REGAL 2017, Cap Hornu

Back to Self-Stabilization Retraite REGAL 2017, Cap Hornu

Back to Self-Stabilization No safety guarantee Retraite REGAL 2017, Cap Hornu

Back to Self-Stabilization Ω(D) Retraite REGAL 2017, Cap Hornu

Back to Self-Stabilization Are all illegitimate configurations identically bad ? Retraite REGAL 2017, Cap Hornu

Back to Self-Stabilization Are all illegitimate configurations identically bad ? Of course, NO ! Retraite REGAL 2017, Cap Hornu

Self-Stabilization + Safe Convergence Really bad No so bad good Retraite REGAL 2017, Cap Hornu

Self-Stabilization + Safe Convergence Quick convergence time Retraite REGAL 2017, Cap Hornu

Self-Stabilization + Safe Convergence Optimal LC ⊆ feasable LC Set of feasable LC: CLOSED Set of optimal LC: CLOSED Quick convergence to a feasable LC (O(1) expected) Convergence to an optimal LC Retraite REGAL 2017, Cap Hornu

Retraite REGAL 2017, Cap Hornu Related Work Self-Stab + Safe Convergence [Kakugawa & Masuzawa, IPDPS’06] Super-Stabilization [Dolev & Herman, CJTCS’97] Retraite REGAL 2017, Cap Hornu

Retraite REGAL 2017, Cap Hornu Super-Stabilization Transient faults Single topological change Configurations of the system time Stabilization time Superstabilization time Retraite REGAL 2017, Cap Hornu

Super-Stabilization Quick convergence time Transient faults Single topological change Quick convergence time Configurations of the system time Stabilization time Superstabilization time Retraite REGAL 2017, Cap Hornu

Retraite REGAL 2017, Cap Hornu Super-Stabilization Transient faults Single topological change Passage predicate Configurations of the system time Stabilization time Superstabilization time Retraite REGAL 2017, Cap Hornu

Gradual Stabilization Transient faults 𝜏 𝜚-dynamic steps Quality of the specification Configurations of the system T1 time Stabilization time T T2 T3 Retraite REGAL 2017, Cap Hornu T4 ≤ T

Case Study: Unison in Anonymous Networks 3 variants of the problem Strong Unison Weak Unison Partial Unison Each process has a local (logical) clock ∈ {0…𝛼-1} Same liveness: every process increments its clock infinitely often But the safety is different Retraite REGAL 2017, Cap Hornu

Retraite REGAL 2017, Cap Hornu Safety 1 2 Strong Weak Partial 1 2 3 1 2 3 ? Retraite REGAL 2017, Cap Hornu

Retraite REGAL 2017, Cap Hornu Contribution Transient faults 1 𝜚-dynamic step Immediate (Passage predicate) Partial Quality of the specification Configurations of the system Weak Strong 1 round time Stabilization time Dn rounds Retraite REGAL 2017, Cap Hornu Dn rounds

Retraite REGAL 2017, Cap Hornu 𝜚-dynamic step? The network remains Connected (necessary) 𝛼 > 3 ⇒ the network is Under Local Control (ULC) ULC ULC 1 2 3 1 2 3 ? ? ? ? Retraite REGAL 2017, Cap Hornu

Retraite REGAL 2017, Cap Hornu ULC necessary ? 𝛼 < 4 : NO 𝛼 = 4: Maybe (we have pathological cases) 𝛼 = 5: Maybe (we have pathological cases) 𝛼 > 5: YES Retraite REGAL 2017, Cap Hornu

Gradual Stabilization: Perspectives First attempt 𝜚 > 1 ? Other (dynamic) problem A good alternative to super-stabilization Retraite REGAL 2017, Cap Hornu

Retraite REGAL 2017, Cap Hornu References [AD2017j] Karine Altisen, Stéphane Devismes, On probabilistic snap-stabilization, Theoretical Computer Science, Volume 688, 2017, Pages 49-76, ISSN 0304-3975. [ADDP16c] Karine Altisen, Stéphane Devismes, Anaïs Durand, and Franck Petit. Gradual Stabilization under T-Dynamics. Euro-Par 2016, 22nd International European Conference on Parallel and Distributed Computing. Pages 588-602, Grenoble (France), 22-26 August 2016. Retraite REGAL 2017, Cap Hornu

Retraite REGAL 2017, Cap Hornu Thank you! Retraite REGAL 2017, Cap Hornu