acyclic strategy for silent self stabilization in
play

Acyclic Strategy for Silent Self-Stabilization in Spanning Forest - PowerPoint PPT Presentation

Acyclic Strategy for Silent Self-Stabilization in Spanning Forest Karine Altisen 1 Stphane Devismes 1 Anas Durand 2 1 Univ. Grenoble Alpes, CNRS, Grenoble INP, VERIMAG, 38000 Grenoble, France 2 IRISA, Universit de Rennes, 35042 Rennes,


  1. Acyclic Strategy for Silent Self-Stabilization in Spanning Forest Karine Altisen 1 Stéphane Devismes 1 Anaïs Durand 2 1 Univ. Grenoble Alpes, CNRS, Grenoble INP, VERIMAG, 38000 Grenoble, France 2 IRISA, Université de Rennes, 35042 Rennes, France SSS’2018, November 5th, Tokyo (Japan) 1 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  2. Roadmap 1 Introduction 2 Contribution 3 Acyclic Strategy 4 Round Complexity 5 Conclusion 2 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  3. Introduction 3 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  4. Trees/Forests: Ubiquitous in Self-Stabilization Composition is a popular way to design self-stabilizing algorithms (modular approach, simplicity of the design and proofs) Numerous self-stabilizing algorithms [Arora et al., 1990, Blin et al., 2010, Datta et al., 2016] are made as a composition of � a spanning directed treelike construction and � some other algorithms specifically designed for directed tree/forest topologies . Many solutions are silent 4 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  5. Spanning Directed Treelike Constructions Many (silent) self-stabilizing spanning tree constructions are available, e.g. : � Arbitrary Tree: [Chen et al., 1991] � DFS: [Collin and Dolev, 1994] � BFS: [Cournier et al., 2009, Cournier et al., 2011] � Shortest-Path: [Glacet et al., 2014] � . . . � (Efficient) General Scheme: [Devismes et al., 2019] 5 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  6. Self-stabilizing Algorithms for Directed Spanning Tree/Forest Classical design pattern based on top-down (broadcast) and bottom-up (convergecast) computations: Top-Down Bottom-Up Computations are propagated from parents to nodes Computations are propagated from children to nodes 6 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  7. Self-stabilizing Algorithms for Directed Spanning Tree/Forest Classical design pattern based on top-down (broadcast) and bottom-up (convergecast) computations: Top-Down Bottom-Up Computations are propagated from parents to nodes Computations are propagated from children to nodes 6 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  8. Self-stabilizing Algorithms for Directed Spanning Tree/Forest Classical design pattern based on top-down (broadcast) and bottom-up (convergecast) computations: Top-Down Bottom-Up Computations are propagated from parents to nodes Computations are propagated from children to nodes 6 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  9. Self-stabilizing Algorithms for Directed Spanning Tree/Forest Classical design pattern based on top-down (broadcast) and bottom-up (convergecast) computations: Top-Down Bottom-Up Computations are propagated from parents to nodes Computations are propagated from children to nodes 6 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  10. Self-stabilizing Algorithms for Directed Spanning Tree/Forest Classical design pattern based on top-down (broadcast) and bottom-up (convergecast) computations: Top-Down Bottom-Up Computations are propagated from parents to nodes Computations are propagated from children to nodes 6 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  11. Our Goal Define a class of algorithms for networks endowed with a spanning forest ( e.g. , a spanning tree) based the notions of top-down and bottom-up computations. � The definition should be simple to check ( i.e. , quasi-syntactic) � Algorithms of the class should be (silent) self-stabilizing � Algorithms of the class should be efficient in stabilization time Challenge: Trade-off efficiency/versatility 7 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  12. Context � Locally shared memory model with composite atomicity ◮ Distributed unfair daemon (the most general scheduling assumption) � Silent self-stabilizing algorithms � Sense of direction defining spanning forest ◮ p . par : p . par is either a neighbor (its parent ), or ⊥ (for a root). ◮ p . chldrn : the set of children � Time complexity in moves and rounds 8 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  13. Contribution 9 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  14. Acyclic Strategy Definition 1. A distributed algorithm A follows an acyclic strategy if � it is well-formed, � its graph of actions’ causality GC is (directed) acyclic, and � for every A i in its families’ partition, A i is ◮ correct-alone and ◮ either bottom-up or top-down. syntactic condition / semantic condition (An illustrative example in few slides . . . ) 10 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  15. Main Result Theorem 1. Let A be a distributed algorithm. If � A follows an acyclic strategy, � every terminal configuration of A satisfies SP � A is locally mutually exclusive then � A is silent and self-stabilizing for SP in G under the distributed unfair daemon � H · k · n H +2 moves � its stabilization time is at most � 1 + d · (1 + ∆) � its stabilization time is at most ( H + 1) · ( H + 1) rounds (∆ is the degree of the network, k is the number of families of A , d is the in-degree of GC , H the height of GC , H is the height of the spanning forest) (typically, k , d , and H are constants) 11 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  16. Main Result Theorem 1. Let A be a distributed algorithm. If � A follows an acyclic strategy, � every terminal configuration of A satisfies SP � A is locally mutually exclusive then � A is silent and self-stabilizing for SP in G under the distributed unfair daemon � H · k · n H +2 moves � its stabilization time is at most � 1 + d · (1 + ∆) � its stabilization time is at most ( H + 1) · ( H + 1) rounds (∆ is the degree of the network, k is the number of families of A , d is the in-degree of GC , H the height of GC , H is the height of the spanning forest) (typically, k , d , and H are constants) 11 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  17. Acyclic Strategy 12 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  18. Toy Example Compute a sum of inputs and broadcast the result � Each process p holds a constant integer input p . in ∈ N � The network is a directed tree rooted at r 13 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  19. Toy Example Compute a sum of inputs and broadcast the result � Each process p holds a constant integer input p . in ∈ N � The network is a directed tree rooted at r � Every process p has two variables: ◮ p . sub ∈ N (to compute the sum of input values in the subtree of p ) ◮ p . res ∈ N (to broadcast the result). 13 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  20. Toy Example Compute a sum of inputs and broadcast the result � Each process p holds a constant integer input p . in ∈ N � The network is a directed tree rooted at r � Every process p has two variables: ◮ p . sub ∈ N (to compute the sum of input values in the subtree of p ) ◮ p . res ∈ N (to broadcast the result). � Legitimacy predicate: SumOfInputs ≡ ∀ p ∈ V , p . res = � q ∈ V q . in 13 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  21. Toy Example Algorithm T E For every process p S ( p ) :: p . sub � = ( � q ∈ p . chldrn q . sub )+ p . in → p . sub ← ( � q ∈ p . chldrn q . sub )+ p . in 14 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  22. Toy Example Algorithm T E For every process p S ( p ) :: p . sub � = ( � q ∈ p . chldrn q . sub )+ p . in → p . sub ← ( � q ∈ p . chldrn q . sub )+ p . in For process r R ( r ) :: r . res � = r . sub → r . res ← r . sub For every process p � = r R ( p ) :: p . res � = max( p . par . res , p . sub ) → p . res ← max( p . par . res , p . sub ) 14 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

  23. Families and Well-Formedness Definition 1. � Family of actions: set of n actions, A distributed algorithm A follows an acyclic strategy if one per process � it is well-formed, � its graph of actions’ causality C is (directed) � Well-Formed: Actions partitioned acyclic, and into families s.t. each variable is � for every A i in its families’ partition, A i is ◮ correct-alone and written in exactly one family ◮ either bottom-up or top-down. (Well-formedness is rather a guideline to simplify the analysis.) 15 / 33 Altisen et al. Acyclic Strategy for Silent Self-Stabilization in Spanning Forests

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend