11/11/2009Software Design Laboratory1 The solution to a cyclic relaxation problem Edsger W. Dijkstra Presenter Aly Farahat Ph.D. Student Software Design.

Slides:



Advertisements
Similar presentations
February 20, Spatio-Temporal Bandwidth Reuse: A Centralized Scheduling Mechanism for Wireless Mesh Networks Mahbub Alam Prof. Choong Seon Hong.
Advertisements

Modeling Software Systems Lecture 2 Book: Chapter 4.
One-phase Solidification Problem: FEM approach via Parabolic Variational Inequalities Ali Etaati May 14 th 2008.
Partial Order Reduction: Main Idea
Primitive Recursive Functions (Chapter 3)
Program correctness The State-transition model A global state S  s 0 x s 1 x … x s m {s k = local state of process k} S0  S1  S2  … Each state transition.
Solving Timed Games with Variable Observations: Proof of Concept Peter Bulychev Franck Cassez Alexandre David Kim G. Larsen Jean-François Raskin Pierre-Alain.
Snap-stabilizing Committee Coordination Borzoo Bonakdarpour Stephane Devismes Franck Petit IEEE International Parallel and Distributed Processing Symposium.
PROCESS MODELLING AND MODEL ANALYSIS © CAPE Centre, The University of Queensland Hungarian Academy of Sciences Analysis of Dynamic Process Models C13.
Operating System Concepts and Techniques Lecture 12 Interprocess communication-1 M. Naghibzadeh Reference M. Naghibzadeh, Operating System Concepts and.
Model Checker In-The-Loop Flavio Lerda, Edmund M. Clarke Computer Science Department Jim Kapinski, Bruce H. Krogh Electrical & Computer Engineering MURI.
Self Stabilizing Algorithms for Topology Management Presentation: Deniz Çokuslu.
Efficient Reachability Analysis for Verification of Asynchronous Systems Nishant Sinha.
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS Fall 2011 Prof. Jennifer Welch CSCE 668 Self Stabilization 1.
Parallel Scheduling of Complex DAGs under Uncertainty Grzegorz Malewicz.
10/14/2009Automatic Software Design Lab1 Nash Equilibria in Distributed Systems Mohamed G. Gouda & H. B. Acharya Presenter Aly Farahat Ph.D. Student Automatic.
Entropy Rates of a Stochastic Process
Thomas ZahnCST1 Seminar: Information Management in the Web Query Processing Over Peer- to-Peer Data Sharing Systems (UC Santa Barbara)
Random Matrices Hieu D. Nguyen Rowan University Rowan Math Seminar
Enhancing The Fault-Tolerance of Nonmasking Programs Sandeep S. Kulkarni and Ali Ebnenasir Software Engineering and Network Systems Laboratory Computer.
CPSC 668Self Stabilization1 CPSC 668 Distributed Algorithms and Systems Spring 2008 Prof. Jennifer Welch.
Data Flow Analysis Compiler Design Nov. 3, 2005.
A Schedulability-Preserving Transformation of BDF to Petri Nets Cong Liu EECS 290n Class Project December 10, 2004.
Modeling Software Systems Lecture 2 Book: Chapter 4.
Spring 2010CS 2251 Graphs Chapter 10. Spring 2010CS 2252 Chapter Objectives To become familiar with graph terminology and the different types of graphs.
Self-Stabilization An Introduction Aly Farahat Ph.D. Student Automatic Software Design Lab Computer Science Department Michigan Technological University.
Summary of query compilers (Section16.8) Varun Gupta Department of Computer Science ID-216 CS 257.
1 Shortest Path Algorithms. 2 Routing Algorithms Shortest path routing What is a shortest path? –Minimum number of hops? –Minimum distance? There is a.
Commit Protocols. CS5204 – Operating Systems2 Fault Tolerance Causes of failure: process failure machine failure network failure Goals : transparent:
EXAMPLES: Example 1: Consider the system Calculate the equilibrium points for the system. Plot the phase portrait of the system. Solution: The equilibrium.
On Probabilistic Snap-Stabilization Karine Altisen Stéphane Devismes University of Grenoble.
Selected topics in distributed computing Shmuel Zaks
On Probabilistic Snap-Stabilization Karine Altisen Stéphane Devismes University of Grenoble.
SOS: Security Overlay Service Angelos D. Keromytis, Vishal Misra, Daniel Rubenstein- Columbia University ACM SIGCOMM 2002 CONFERENCE, PITTSBURGH PA, AUG.
Lecture #5 Properties of hybrid systems João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems.
Aemen Lodhi (Georgia Tech) Amogh Dhamdhere (CAIDA)
Synchronization Transformations for Parallel Computing Pedro Diniz and Martin Rinard Department of Computer Science University of California, Santa Barbara.
6.852: Distributed Algorithms Spring, 2008 Class 13.
§2 Discrete memoryless channels and their capacity function
The Complexity of Distributed Algorithms. Common measures Space complexity How much space is needed per process to run an algorithm? (measured in terms.
Simultaneously Learning and Filtering Juan F. Mancilla-Caceres CS498EA - Fall 2011 Some slides from Connecting Learning and Logic, Eyal Amir 2006.
Synchronization in complex network topologies
Spectral Clustering Jianping Fan Dept of Computer Science UNC, Charlotte.
Commit Algorithms Hamid Al-Hamadi CS 5204 November 17, 2009.
Program correctness The State-transition model A global states S  s 0 x s 1 x … x s m {s k = set of local states of process k} S0  S1  S2  Each state.
HEAT TRANSFER FINITE ELEMENT FORMULATION
Stabilization Presented by Xiaozhou David Zhu. Contents What-is Motivation 3 Definitions An Example Refinements Reference.
ICS 253: Discrete Structures I Discrete Probability King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Efficient Computing k-Coverage Paths in Multihop Wireless Sensor Networks XuFei Mao, ShaoJie Tang, and Xiang-Yang Li Dept. of Computer Science, Illinois.
Hwajung Lee. Why do we need these? Don’t we already know a lot about programming? Well, you need to capture the notions of atomicity, non-determinism,
About Me Swaroop Butala  MSCS – graduating in Dec 09  Specialization: Systems and Databases  Interests:  Learning new technologies  Application of.
Memory Coherence in Shared Virtual Memory System ACM Transactions on Computer Science(TOCS), 1989 KAI LI Princeton University PAUL HUDAK Yale University.
Fault tolerance and related issues in distributed computing Shmuel Zaks GSSI - Feb
Superstabilizing Protocols for Dynamic Distributed Systems Authors: Shlomi Dolev, Ted Herman Presented by: Vikas Motwani CSE 291: Wireless Sensor Networks.
Work and energy for one-dimensional systems For one-dimensional motion work is path independent. 7. One-dimensional systems This follows from the fact.
Self-Stabilizing Systems
Ch 9.6: Liapunov’s Second Method In Section 9.3 we showed how the stability of a critical point of an almost linear system can usually be determined from.
Abstractions Eric Feron. Outline Principles of abstraction Motivating example Abstracting variables Abstracting functions Abstracting operators Recommended.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Achieving Goals in Decentralized POMDPs Christopher Amato Shlomo Zilberstein UMass.
ICS 253: Discrete Structures I
State Machine Diagrams
Principles of GIS Fundamental database concepts Shaowen Wang
CS60002: Distributed Systems
Department of Computer Science University of York
8. Stability, controllability and observability
Stability Analysis of Linear Systems
Memory Consistency Models
A Dynamic System Analysis of Simultaneous Recurrent Neural Network
EXAMPLES: Example 1: Consider the system
Chapter 3 Modeling in the Time Domain
Presentation transcript:

11/11/2009Software Design Laboratory1 The solution to a cyclic relaxation problem Edsger W. Dijkstra Presenter Aly Farahat Ph.D. Student Software Design Laboratory Computer Science Department Michigan Technological University

11/11/2009Software Design Laboratory2 Motivated by the concept of stabilization he just introduced, Dijkstra studies the related problem of repositioning points on a circle

11/11/2009Software Design Laboratory3 Contents Problem Definition Concurrent Execution Interleaved Execution –Assuming the continuum –Assuming a space of discrete points Conclusions

11/11/2009Software Design Laboratory4 Problem Definition

11/11/2009Software Design Laboratory5 x i : position of point i 0<= x i < 1 N: number of points pred: x (i-1)mod N succ: x (i+1) mod N :: pred<=succ  x i :=(pred + succ)/2 ::pred >succ  x i :=((pred + succ +1)/2)mod 1

11/11/2009Software Design Laboratory6 Observations Invariant: After an adjustment, the length of any path is always less than ½. m: the number of rotations around the circle, 0<= m < N/2 (why?) At equilibrium: all paths have the same length m/N

11/11/2009Software Design Laboratory7 Execution Semantics Demons in Distributed Systems: –Centralized: Only on processor is allowed to take an action at a time. (Dijkstra’s Demon in Token-Ring) –Distributed: The demon chooses an non-empty subset of nodes to execute from the current state, concurrently and independently. –A centralized demon is a special case of a distributed demon choosing singletons. –Concurrent semantics: another special case of distributed demon where the chosen subset is the whole set of processes

11/11/2009Software Design Laboratory8 Concurrent Semantics in the Relaxation Problem Positions exhibit oscillatory behavior and will system will never stabilize Similar to the execution semantics of control systems Check by getting the eigenvalues of state transition matrix

11/11/2009Software Design Laboratory9 Effect of Discrete Space on Stabilization Partition the circle into p discrete points: p>>N m.p is the total number of segments spanned by the consecutive paths after one fair round of adjustments To guarantee complete stability, m=q*N: so we the N paths can be of equal length: q/p Otherwise paths can never be of equal length –m=q*N+r r>0. –Short paths: (N-r).q/p –Long paths: r.(q+1)/p An adjustment exchanges short and long paths and the stable region oscillates between these two states.

11/11/2009Software Design Laboratory10 Conclusions Stability under a central demon is not sufficient for stability under different execution semantics Discrete-space models finite domains of variables Stability in the continuous domain is not sufficient for stability in discrete domain, however the converse is true

11/11/2009Software Design Laboratory11 Further Readings -G. Boudol & I Castllani, “On the semantics of concurrency: partial orders and transition systems” INRIA Sophia Antipolis Center, Research Report N o 550, July S. Dolev, A. Israeli & S. Moran “Self Stabilization of Dynamic Systems Assuming Only Read/Write Atomicity” In ACM Transactions on Distributed Computing, Volume 7, Issue 1, Nov. 1993, pp. 3-16

11/11/2009Software Design Laboratory12 Thank you!