the transient behavior of long walks and applications
play

The Transient Behavior of Long Walks and Applications Thomas Nowak - PowerPoint PPT Presentation

The Transient Behavior of Long Walks and Applications Thomas Nowak based on joint work with B. Charron-Bost and M. F ugger MMDC13, Bremen, Germany August 27, 2013 Problem Statement Transience Bounds Overview Problem Statement 1


  1. The Transient Behavior of Long Walks and Applications Thomas Nowak based on joint work with B. Charron-Bost and M. F¨ ugger MMDC13, Bremen, Germany August 27, 2013

  2. Problem Statement Transience Bounds Overview Problem Statement 1 Example: Network Synchronizer Transient Behavior Example: Link Reversal Non-Weighted Digraphs Transience Bounds 2 Previous Transience Bounds Repetitive and Explorative Bounds

  3. Problem Statement Transience Bounds Synchronizer Definition Consider a message-passing network of N fault-free processes Described by a strongly connected digraph The message delay on every link is constant Processes run a wait-for-all synchronizer Process p i sends its initial message at time T i What’s the time behavior of this system?

  4. Problem Statement Transience Bounds Initial Message at Time 0 First assume that all initial 1 1 messages are sent at time T i = 0 1 Pick some process p i 2 1 Times at which p i sends messages: 1 p i 0, 1, 2, 3, 5, 6, 7, 9, 10, 11, 13 . . .

  5. Problem Statement Transience Bounds Initial Message at Time 0 First assume that all initial 1 1 messages are sent at time T i = 0 1 Pick some process p i 2 1 Times at which p i sends messages: 1 p i 0, 1, 2, 3, 5, 6, 7, 9, 10, 11, 13 . . .

  6. Problem Statement Transience Bounds Initial Message at Time 0 First assume that all initial 1 1 messages are sent at time T i = 0 1 Pick some process p i 2 1 Times at which p i sends messages: 1 p i 0, 1, 2, 3, 5, 6, 7, 9, 10, 11, 13 . . .

  7. Problem Statement Transience Bounds Initial Message at Time 0 First assume that all initial 1 1 messages are sent at time T i = 0 1 Pick some process p i 2 1 Times at which p i sends messages: 1 p i 0, 1, 2, 3, 5, 6, 7, 9, 10, 11, 13 . . .

  8. Problem Statement Transience Bounds Initial Message at Time 0 First assume that all initial 1 1 messages are sent at time T i = 0 1 Pick some process p i 2 1 Times at which p i sends messages: 1 p i 0, 1, 2, 3, 5, 6, 7, 9, 10, 11, 13 . . .

  9. Problem Statement Transience Bounds Initial Message at Time 0 First assume that all initial 1 1 messages are sent at time T i = 0 1 Pick some process p i 2 1 Times at which p i sends messages: 1 p i 0, 1, 2, 3, 5, 6, 7, 9, 10, 11, 13 . . .

  10. Problem Statement Transience Bounds Recursion Formula Recursion: t i ( n + 1 ) = max j → i t j ( n ) + d ( j , i ) with t i ( 0 ) = T i and d ( j , i ) = message delay from p j to p i t i ( n ) = greatest weight of walks of length n ending in i “max-plus” recursion

  11. Problem Statement Transience Bounds Max-Plus Linearity Sequence of vectors x ( n ) defined by a recursion of the form x i ( n + 1 ) = max � x j ( n ) + A i , j � j where A i , j = − ∞ is possible Solution of recursion is x ( n ) = A ⊗ n ⊗ x ( 0 ) These systems are linear if we consider the matrix multiplication ( A ⊗ B ) i , j = max � A i , k + B k , j � k A ⊗ n � � i , j = largest length n weight from i to j Fact:

  12. Problem Statement Transience Bounds Overview Problem Statement 1 Example: Network Synchronizer Transient Behavior Example: Link Reversal Non-Weighted Digraphs Transience Bounds 2 Previous Transience Bounds Repetitive and Explorative Bounds

  13. Problem Statement Transience Bounds Critical Cycles Dominate One cycle with mean weight = 1 Another with mean weight 1 1 = 4/3 1 2 1 The higher mean weight dominates 1 p i Limit-average of time between messages at all processes: 4/3

  14. Problem Statement Transience Bounds Critical Cycles Dominate One cycle with mean weight = 1 Another with mean weight 1 1 = 4/3 1 2 1 The higher mean weight dominates 1 p i Limit-average of time between messages at all processes: 4/3

  15. Problem Statement Transience Bounds Maximum Weights Between Two Nodes Periodic with “linear defect”: a ( n + p ) = a ( n ) + p · λ Fact: All these sequences become periodic if the graph is strongly connected. (Cohen et al. ’83)

  16. Problem Statement Transience Bounds Overview Problem Statement 1 Example: Network Synchronizer Transient Behavior Example: Link Reversal Non-Weighted Digraphs Transience Bounds 2 Previous Transience Bounds Repetitive and Explorative Bounds

  17. Problem Statement Transience Bounds Full Reversal Algorithm [Gafni & Bertsekas, 1981] Input: oriented connected graph G 0 and a subset D of nodes FR rule: a sink not in D reverses all its (incoming) links Execution: discrete time base T = N Greedy execution: at every time step, all nodes able to apply the FR rule do so Work vector: w i ( t ) = #times that node i applies the FR rule up to time t

  18. Problem Statement Transience Bounds Full Reversal Algorithm [Gafni & Bertsekas, 1981] Theorem (Gafni & Bertsekas, 1981) In every greedy execution, the work vector w is eventually periodic, i.e., there are p ∈ T and ω ∈ N such that ∃ t 0 , ∀ i ∈ V ( G ) , ∀ t ≥ t 0 , w i ( t + p ) = w i ( t ) + ω Furthermore, if D � = ∅ , then every execution terminates, i.e., p = 1 , ω = 0 . Applications: routing, leader election, resource allocation, . . .

  19. Problem Statement Transience Bounds Full Reversal 1 2 3 4 5 6 0

  20. Problem Statement Transience Bounds Full Reversal 1 2 3 1 2 3 3 4 5 6 4 5 5 6 0 0

  21. Problem Statement Transience Bounds Full Reversal 1 2 3 1 2 3 3 4 5 6 4 5 5 6 0 0 1 2 2 3 4 5 6 0

  22. Problem Statement Transience Bounds Full Reversal 1 2 3 1 2 3 3 4 5 6 4 5 5 6 0 0 1 1 2 3 3 1 2 2 3 4 5 6 4 5 6 0 0

  23. Problem Statement Transience Bounds Full Reversal 1 2 3 1 2 3 3 4 5 6 4 5 5 6 0 0 1 2 3 1 1 2 3 3 1 2 2 3 4 5 6 4 5 6 4 5 6 0 0 0

  24. Problem Statement Transience Bounds Full Reversal is Min-Plus Linear Theorem (Charron-Bost, F¨ ugger, Welch, Widder 2011) The work vector w of a greedy FR execution fulfills a min-plus recursion.

  25. Problem Statement Transience Bounds Full Reversal is Min-Plus Linear Proof. 1 j j i i 0 i ∈ D : i i 0

  26. Problem Statement Transience Bounds Applications of Max-Plus Other systems with a max-plus recursion include: Transportation networks (train schedules, . . . ) Manufacturing plants Cyclic scheduling Timed event graphs Our bounds give design guidelines for small transient phases, because they include graph parameters. E.g., O ( N ) if the support is a tree.

  27. Problem Statement Transience Bounds Overview Problem Statement 1 Example: Network Synchronizer Transient Behavior Example: Link Reversal Non-Weighted Digraphs Transience Bounds 2 Previous Transience Bounds Repetitive and Explorative Bounds

  28. Problem Statement Transience Bounds The Lengths Between Two Nodes Pick two nodes in a directed graph Form the following sequence: for end every n , write “1” if there is a walk between the nodes that has length n , and write “0” otherwise. start

  29. Problem Statement Transience Bounds The Lengths Between Two Nodes Let’s start at n = 0 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, . . . end start

  30. Problem Statement Transience Bounds The Lengths Between Two Nodes Let’s start at n = 0 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, . . . end start

  31. Problem Statement Transience Bounds The Lengths Between Two Nodes Let’s start at n = 0 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, . . . end start

  32. Problem Statement Transience Bounds The Lengths Between Two Nodes Let’s start at n = 0 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, . . . end start

  33. Problem Statement Transience Bounds The Lengths Between Two Nodes Let’s start at n = 0 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, . . . Fact: This sequence becomes end periodic. Main Question: How long is the transient phase? start

  34. Problem Statement Transience Bounds The Lengths Between Two Nodes First Question: What is the period? Every cycle you meet along the end way adds a “ + L ” pattern, where L is its length. Example: L = 3 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, . . . start

  35. Problem Statement Transience Bounds The Lengths Between Two Nodes If strongly connected: X + ∑ k C · L C C Candidate for period (think end X = 0): GCD of cycle lengths (B´ ezout) Indeed, period = GCD (“cyclicity”) start Fact: The transient of an eventually periodic sequence is independent of the considered period.

  36. Problem Statement Transience Bounds Wielandt’s Bound index of a graph = largest transient phase between two nodes N = number of nodes in the graph Theorem (Wielandt; Math. Z. ’50 / Schwarz; Cz. Math. J. ’70) The index of a strongly connected digraph is at most ( N − 1 ) 2 + 1 .

  37. Problem Statement Transience Bounds Bounds Including Graph Parameters Dulmage and Medelsohn (Illinois J. Math. ’64): included girth g = shortest cycle length Schwarz (Cz. Math. J. ’70): included cyclicity γ = GCD of cycle lengths Theorem (Kim; LAA ’79) The index of a strongly connected digraph is at most �� � � N N + g · − 2 . γ

  38. Problem Statement Transience Bounds Nodes on Maximum Mean Cycles Theorem (Merlet, N., Schneider, Sergeev, 2013) Almost all bounds on the index of unweighted digraphs extend to weighted digraphs for the transients of nodes on maximum mean weight cycles.

Recommend


More recommend