第1部: 自己安定の緩和 すてふぁん どぅゔぃむ ポスドク パリ第11大学 LRI CNRS あどばいざ: せばすちゃ てぃくそい

Slides:



Advertisements
Similar presentations
Impossibility of Distributed Consensus with One Faulty Process
Advertisements

Chapter 6 - Convergence in the Presence of Faults1-1 Chapter 6 Self-Stabilization Self-Stabilization Shlomi Dolev MIT Press, 2000 Shlomi Dolev, All Rights.
Teaser - Introduction to Distributed Computing
Snap-stabilizing Committee Coordination Borzoo Bonakdarpour Stephane Devismes Franck Petit IEEE International Parallel and Distributed Processing Symposium.
Distribution and Revocation of Cryptographic Keys in Sensor Networks Amrinder Singh Dept. of Computer Science Virginia Tech.
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 Distributed Systems Sukumar Ghosh Professor, Department of Computer Science University of Iowa.
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.
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS Fall 2011 Prof. Jennifer Welch CSCE 668 Self Stabilization 1.
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.
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 668Self Stabilization1 CPSC 668 Distributed Algorithms and Systems Spring 2008 Prof. Jennifer Welch.
LSRP: Local Stabilization in Shortest Path Routing Anish Arora Hongwei Zhang.
CS294, YelickSelf Stabilizing, p1 CS Self-Stabilizing Systems
EXPANDER GRAPHS Properties & Applications. Things to cover ! Definitions Properties Combinatorial, Spectral properties Constructions “Explicit” constructions.
Self-Stabilization An Introduction Aly Farahat Ph.D. Student Automatic Software Design Lab Computer Science Department Michigan Technological University.
1 Analysis of Link Reversal Routing Algorithms Srikanta Tirthapura (Iowa State University) and Costas Busch (Renssaeler Polytechnic Institute)
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)
CS4231 Parallel and Distributed Algorithms AY 2006/2007 Semester 2 Lecture 10 Instructor: Haifeng YU.
Franck Petit INRIA, LIP Lab. Univ. / ENS of Lyon France Optimal Probabilistic Ring Exploration by Semi-Synchronous Oblivious Robots Joint work with Stéphane.
Consensus and Its Impossibility in Asynchronous Systems.
Defining Programs, Specifications, fault-tolerance, etc.
CS4231 Parallel and Distributed Algorithms AY 2006/2007 Semester 2 Lecture 8 Instructor: Haifeng YU.
Fault-containment in Weakly Stabilizing Systems Anurag Dasgupta Sukumar Ghosh Xin Xiao University of Iowa.
By J. Burns and J. Pachl Based on a presentation by Irina Shapira and Julia Mosin Uniform Self-Stabilization 1 P0P0 P1P1 P2P2 P3P3 P4P4 P5P5.
A Self-Stabilizing O(n)-Round k-Clustering Algorithm Stéphane Devismes, VERIMAG.
Autonomic distributed systems. 2 Think about this Human population x10 9 computer population.
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)
Stabilization Presented by Xiaozhou David Zhu. Contents What-is Motivation 3 Definitions An Example Refinements Reference.
Weak vs. Self vs. Probabilistic Stabilization Stéphane Devismes (CNRS, LRI, France) Sébastien Tixeuil (LIP6-CNRS & INRIA, France) Masafumi Yamashita (Kyushu.
Self-stabilization. What is Self-stabilization? Technique for spontaneous healing after transient failure or perturbation. Non-masking tolerance (Forward.
Snap-Stabilization in Message-Passing Systems Sylvie Delaët (LRI) Stéphane Devismes (CNRS, LRI) Mikhail Nesterenko (Kent State University) Sébastien Tixeuil.
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-stabilization. Technique for spontaneous healing after transient failure or perturbation. Non-masking tolerance (Forward error recovery). Guarantees.
Self-Stabilizing Algorithm with Safe Convergence building an (f,g)-Alliance Fabienne Carrier Ajoy K. Datta Stéphane Devismes Lawrence L. Larmore Yvan Rivierre.
Hwajung Lee.  Technique for spontaneous healing.  Forward error recovery.  Guarantees eventual safety following failures. Feasibility demonstrated.
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.
ITEC452 Distributed Computing Lecture 15 Self-stabilization Hwajung Lee.
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)
CSE-591: Term Project Self-stabilizing Network Algorithms by Tridib Mukherjee ASU ID :
Computer Science 425/ECE 428/CSE 424 Distributed Systems (Fall 2009) Lecture 20 Self-Stabilization Reading: Chapter from Prof. Gosh’s book Klara Nahrstedt.
Evaluating and Optimizing Stabilizing Dining Philosophers
Jordan Adamek Mikhail Nesterenko Sébastien Tixeuil
New Variants of Self-Stabilization
Analysis of Link Reversal Routing Algorithms
Parallel and Distributed Algorithms
Student: Fang Hui Supervisor: Teo Yong Meng
CS60002: Distributed Systems
A Snap-Stabilizing DFS with a Lower Space Requirement
Robust Stabilizing Leader Election
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:

第1部: 自己安定の緩和 すてふぁん どぅゔぃむ ポスドク パリ第11大学 LRI CNRS あどばいざ: せばすちゃ てぃくそい 自己安定 よもやまばなし 第1部: 自己安定の緩和 すてふぁん どぅゔぃむ ポスドク パリ第11大学 LRI CNRS あどばいざ: せばすちゃ てぃくそい

Computer Science Department, University of Osaka Roadmap Self-Stabilization Advantages Drawbacks Weakened Forms Probabilistic Self-Stabilization Weak-Stabilization 29/07/2008 Computer Science Department, University of Osaka

(Deterministic) Self-Stabilization [Dijkstra, 1974]: « A protocol P is self-stabilizing if, starting from any initial configuration, every execution of P eventually reaches a point from which its behaviour is correct » 29/07/2008 Computer Science Department, University of Osaka

Self-Stabilization [Dijkstra, 1974] Example: Dijkstra’s Token Ring 2 1 1 1 1 1 29/07/2008 Computer Science Department, University of Osaka

Starting from an arbitrary state 5 4 1 5 2 5 4 5 29/07/2008 Computer Science Department, University of Osaka

Definition: Closure + Convergence Legitimate States Illegitimate States Convergence States of the System 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Why is it useful? After a finite period of perturbation, e.g., after an attack hits the system… 5 4 1 5 2 4 5 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Advantages Tolerance to any transient fault: No hypothesis on the nature of extent of transient faults Recovers from the effects of those faults in a unified manner No initialization: Large scale systems Dynamicity: Self-organization in sensor and adhoc networks 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Drawbacks Eventual safety E.g., Mutual Exclusion: a process can execute the CS an unbounded number of times while violating the safety Overhead Self-stabilizing protocols can make use of a large amount of resources Impossibility results Some fundamental problems have no self-stabilizing solution 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Drawbacks To circumvent such drawbacks: Weaker properties (First lecture) Stronger properties (Second lecture) 29/07/2008 Computer Science Department, University of Osaka

Weakened Forms of Self-Stabilization Pseudo-Stabilization K-Stabilization Probabilistic Stabilization Weak-Stabilization Aim: Circumvent impossibility results E.g., Coloring, Leader Election, Token Circulation 29/07/2008 Computer Science Department, University of Osaka

Pseudo-Stabilization [Burns et al, WSS’89] « Starting from any configuration, any execution converges to a correct suffix » Self-Stabilization: « Starting from any configuration, any execution converges to a configuration from which any suffix is correct » Same convergence + weakened closure 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Pseudo- vs. Self- … S P S Finite Number Unbounded Time Consequence: the convergence time to the correct suffix is unbounded in the general case 29/07/2008 Computer Science Department, University of Osaka

K-Stabilization [Beauquier et al, PODC’98] Self-Stabilization: Any configuration can be initial K-Stabilization: Only a subset of configurations can be initial: any configuration that can be obtained with at most K faults 29/07/2008 Computer Science Department, University of Osaka

Probabilistic Self-Stabilization [Israeli and Jalfon, PODC’90] Same closure But a weakened convergence: The execution converges with probability 1 The expected convergence time is finite 29/07/2008 Computer Science Department, University of Osaka

Probabilistic Stabilization … The expected time before reaching a green segment is finite 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Case Study: Coloring in Unidirectional (General) Network [Under submission in SSS’08] Joined work with Samuel Bernard, Maria Gradinariu, and Sébastien Tixeuil 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Impossibility result No deterministic self-stabilizing solution under a distributed scheduler 29/07/2008 Computer Science Department, University of Osaka

Remark: More Difficult than the bidirectional case 29/07/2008 In the unidirectional case, the number of « conflicts » can increase! Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Algorithm Assumption: k>∆ 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Proof Closure: Trivial Once there is a coloring, no process moves anymore 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Convergence (1/4) Example: Ring, 1/2 for k=3 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Convergence (2/4) 2 (2) Maximization of Lemma 1: Remark: for the ring, M = 1/2 for k = 3 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Convergence (3/4) 3 (3) For k=3 1/2 (1/2)2=1/4 1/2 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Convergence (4/4) 4 (4) Trivial from Lemma 3 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Conclusion With the minimal number of color (∆+1), we obtain an expected convergence time of at most n.∆ steps When k is huge (k), the expected convergence time is near n steps 29/07/2008 Computer Science Department, University of Osaka

Weak vs. Self vs. Probabilistic Stabilization Stéphane Devismes (CNRS, LRI, France) Sébastien Tixeuil (LIP6-CNRS & INRIA, France) Masafumi Yamashita (Kyushu University, Japan)

Weak-Stabilization [Gouda, WSS’01] Same closure property But weakened convergence: From any configuration, there is at least one possible execution which converges 29/07/2008 Computer Science Department, University of Osaka

Weak-Stabilization [Gouda, WSS’01] … S P S 29/07/2008 Computer Science Department, University of Osaka

Problem centric point of view Probabilistic Stabilization Pseudo-Stabilization K-Stabilization Open question: Weak-Stabilization > Self-stabilization E.g. graph coloring, token passing, alternating bit, … 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Our Results From a problem centric point of view, Weak-Stabilization > Self-Stabilization Weak-Stabilization & Probabilistic Stabilization are strongly connected 29/07/2008 Computer Science Department, University of Osaka

Weak > Self (Problem centric point of view) Two examples: Token Circulation in unidirectional anonymous rings under a distributed scheduler Leader Election in anonymous tree under a distributed scheduler (2 algorithms) 29/07/2008 Computer Science Department, University of Osaka

Token Circulation in Unidirectional Anonymous Rings [Herman, IPL’90]: « no deterministic self-stabilizing solution » We prove that the K-fair algorithm of [Beauquier et al, DC’07] is actually a weak-stabilizing token circulation 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka The Algorithm Example N=6 (mN=4) 2 1 1 3 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Closure 2 1 1 2 3 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Convergence (1/2) There always exists at least one token 3 3 2 1 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Convergence (2/2) If the number of tokens is greater than 1, it is possible to make it decrease 3 2 1 1 3 29/07/2008 Computer Science Department, University of Osaka

Leader Election in Anonymous Tree under a Distributed Scheduler We prove that there is no deterministic self-stabilizing solution We give two examples of weak-stabilizing leader election 29/07/2008 Computer Science Department, University of Osaka

Impossibility for Leader Election (under a distributed scheduler) Synchronous Synchronous Execution 29/07/2008 Computer Science Department, University of Osaka

Weak-Stabilizing Leader Election Using a parent pointer Par  Neig  {}, 3 cases: (1) (2) (3) 29/07/2008 Computer Science Department, University of Osaka

Why Weak is easier than Self ? Scheduler in Self-Stabilization: Adversary Scheduler in Weak-Stabilization: Friend Synchronous Scheduler: Weak = Self 29/07/2008 Computer Science Department, University of Osaka

Observation: Weak vs. Probabilistic If a protocol P has a finite number of configurations, then P is weak-stabilizing iff P is probabilistically stabilizing under a randomized scheduler Outline Execution: random walk in a finite set (of configurations) Dessin ?? Patate + arbres 29/07/2008 Computer Science Department, University of Osaka

Problem: Synchronous Case Weak-Stabilizing under a distributed scheduler Random Schedule (Asynchronous) Synchronous Probabilistically Stabilizing in any case Not Probabilistically Stabilizing in the general case Solution: When activated, toss a coin before moving 29/07/2008 Computer Science Department, University of Osaka

Computer Science Department, University of Osaka Conclusion From the problem centric point of view, Weak-Stabilization > Self-Stabilization Weak-Stabilization = Probabilistic Stabilization if the scheduler is probabilistic and the set of configurations is finite Interesting in practical settings: Weak-Stabilization is easier to design than probabilistic stabilization In real systems, the scheduler behaves randomly Can be easily transformed to support the synchronous scheduler Perspective: Evaluating a expected convergence time 29/07/2008 Computer Science Department, University of Osaka

まいど おおきに ! Maido ookini