1 A class of Generalized Stochastic Petri Nets for the performance Evaluation of Mulitprocessor Systems By M. Almone, G. Conte Presented by Yinglei Song.

Slides:



Advertisements
Similar presentations
Chapter 0 Review of Algebra.
Advertisements

5.4 Basis And Dimension.
5.1 Real Vector Spaces.
Techniques to analyze workflows (design-time)
Based on: Petri Nets and Industrial Applications: A Tutorial
Chapter 2 Simultaneous Linear Equations
CmpE 104 SOFTWARE STATISTICAL TOOLS & METHODS MEASURING & ESTIMATING SOFTWARE SIZE AND RESOURCE & SCHEDULE ESTIMATING.
1 Chapter 5 Continuous time Markov Chains Learning objectives : Introduce continuous time Markov Chain Model manufacturing systems using Markov Chain Able.
Operations Research: Applications and Algorithms
Discrete Time Markov Chains
1 Part III Markov Chains & Queueing Systems 10.Discrete-Time Markov Chains 11.Stationary Distributions & Limiting Probabilities 12.State Classification.
An Introduction to Markov Decision Processes Sarah Hickmott
Entropy Rates of a Stochastic Process
Operations Research: Applications and Algorithms
Markov processes in a problem of the Caspian sea level forecasting Mikhail V. Bolgov Water Problem Institute of Russian Academy of Sciences.
Reliable System Design 2011 by: Amir M. Rahmani
1 Excursions in Modern Mathematics Sixth Edition Peter Tannenbaum.
Petri net modeling of biological networks Claudine Chaouiya.
Synthesis of Embedded Software Using Free-Choice Petri Nets.
1 Markov Chains Tom Finke. 2 Overview Outline of presentation The Markov chain model –Description and solution of simplest chain –Study of steady state.
Chapter 4: Stochastic Processes Poisson Processes and Markov Chains
1 Petri Nets H Plan: –Introduce basics of Petri Net models –Define notation and terminology used –Show examples of Petri Net models u Calaway Park model.
Single queue modeling. Basic definitions for performance predictions The performance of a system that gives services could be seen from two different.
13. The Weak Law and the Strong Law of Large Numbers
Development of Empirical Models From Process Data
Preference Analysis Joachim Giesen and Eva Schuberth May 24, 2006.
Finite Mathematics & Its Applications, 10/e by Goldstein/Schneider/SiegelCopyright © 2010 Pearson Education, Inc. 1 of 60 Chapter 8 Markov Processes.
Queuing Networks: Burke’s Theorem, Kleinrock’s Approximation, and Jackson’s Theorem Wade Trappe.
1 TCOM 501: Networking Theory & Fundamentals Lecture 8 March 19, 2003 Prof. Yannis A. Korilis.
Petri Nets An Overview IE 680 Presentation April 30, 2007 Renata Kopach- Konrad.
DynaTraffic – Models and mathematical prognosis
5  Systems of Linear Equations: ✦ An Introduction ✦ Unique Solutions ✦ Underdetermined and Overdetermined Systems  Matrices  Multiplication of Matrices.
The effect of New Links on Google Pagerank By Hui Xie Apr, 07.
Elementary Linear Algebra
6. Markov Chain. State Space The state space is the set of values a random variable X can take. E.g.: integer 1 to 6 in a dice experiment, or the locations.
Rev.S08 MAC 1140 Module 12 Introduction to Sequences, Counting, The Binomial Theorem, and Mathematical Induction.
Sequences Informally, a sequence is a set of elements written in a row. – This concept is represented in CS using one- dimensional arrays The goal of mathematics.
Systems of Linear Equation and Matrices
Decentralised load balancing in closed and open systems A. J. Ganesh University of Bristol Joint work with S. Lilienthal, D. Manjunath, A. Proutiere and.
The importance of sequences and infinite series in calculus stems from Newton’s idea of representing functions as sums of infinite series.  For instance,
Markov Decision Processes1 Definitions; Stationary policies; Value improvement algorithm, Policy improvement algorithm, and linear programming for discounted.
1 ECE-517 Reinforcement Learning in Artificial Intelligence Lecture 7: Finite Horizon MDPs, Dynamic Programming Dr. Itamar Arel College of Engineering.
Chapter 1 Introduction to Statistics. Statistical Methods Were developed to serve a purpose Were developed to serve a purpose The purpose for each statistical.
Networks of Queues Plan for today (lecture 6): Last time / Questions? Product form preserving blocking Interpretation traffic equations Kelly / Whittle.
P.1 Real Numbers. 2 What You Should Learn Represent and classify real numbers. Order real numbers and use inequalities. Find the absolute values of real.
Chapter 5 Eigenvalues and Eigenvectors 大葉大學 資訊工程系 黃鈴玲 Linear Algebra.
Integrating UML and Petri Nets Problem with Current Software Engineering Methodology Stochastic Petri nets and their useful properties Translating UML.
Section 2.3 Properties of Solution Sets
Chapter 61 Continuous Time Markov Chains Birth and Death Processes,Transition Probability Function, Kolmogorov Equations, Limiting Probabilities, Uniformization.
Generalized stochastic Petri nets (GSPN)
Modelling by Petri nets
ECE-7000: Nonlinear Dynamical Systems Overfitting and model costs Overfitting  The more free parameters a model has, the better it can be adapted.
CAP 4800/CAP 5805: Computer Simulation Concepts
Diversity Loss in General Estimation of Distribution Algorithms J. L. Shapiro PPSN (Parallel Problem Solving From Nature) ’06 BISCuit 2 nd EDA Seminar.
ST3236: Stochastic Process Tutorial 6
Instructor: Spyros Reveliotis IE7201: Production & Service Systems Engineering Fall 2009 Closure.
Survivability Quantification of Communication Services Poul E.Heegaard, Kishor S. Trivedi Advisor: Frank Y. S. Lin Presented by Y.W. Lee.
Theory of Computational Complexity M1 Takao Inoshita Iwama & Ito Lab Graduate School of Informatics, Kyoto University.
Ch 4. Language Acquisition: Memoryless Learning 4.1 ~ 4.3 The Computational Nature of Language Learning and Evolution Partha Niyogi 2004 Summarized by.
Reliability Engineering
Discrete-time Markov chain (DTMC) State space distribution
Availability Availability - A(t)
Industrial Engineering Dep
5 Systems of Linear Equations and Matrices
Hidden Markov Models Part 2: Algorithms
EC 331 The Theory of and applications of Maximum Likelihood Method
1.1 Introduction to Systems of Equations.
Numerical Analysis Lecture 26.
Stochastic Processes A stochastic process is a model that evolves in time or space subject to probabilistic laws. The simplest example is the one-dimensional.
Eigenvalues and Eigenvectors
Presentation transcript:

1 A class of Generalized Stochastic Petri Nets for the performance Evaluation of Mulitprocessor Systems By M. Almone, G. Conte Presented by Yinglei Song

2 Outline Background Background  Modeling concurrent systems with Petri Nets  Stochastic Petri Nets (SPN)  Markov Chains (MC)  Generalized Stochastic Petri Nets (GSPN) The steady state distribution in GSPN The steady state distribution in GSPN Computing the steady state distribution more efficiently. Computing the steady state distribution more efficiently. Examples. Examples. Numerical results. Numerical results.

3 Petri Nets A model that consists of A model that consists of  P, a set of places  T, a set of transitions  A, a set of directed arcs  M, a vector that stands for the number of tokens in each place. (referred to as a marking). The reachability set of a marking. The reachability set of a marking. k-bounded Petri Nets. k-bounded Petri Nets.

4 An Example A Petri Net for modeling bisexual population A Petri Net for modeling bisexual population

5 Stochastic Petri Nets The modeling ability of a PN is limited The modeling ability of a PN is limited  transition occurs with different probabilities in real systems.  New parameter sets are needed for modeling different transition rates or probabilities.  A new parameter set R is thus added to the definition of Petri Nets.  A Stochastic Petri Net (SPN) is defined as a five-tuple (P, T, A, M, R).

6 A Markov Chain A Markov Model (MM) is comprised of A Markov Model (MM) is comprised of A Markov Chain (MC) is a sequence states generated following transitions in an MM. A Markov Chain (MC) is a sequence states generated following transitions in an MM.  S: a set of states  T: a set of transitions  P: a set of probabilities associated with each transition

7 SPN and MC It can be proved that SPN is equivalent to a MC It can be proved that SPN is equivalent to a MC The set of states in MC is equivalent to the set of all possible markings in the corresponding SPN The set of states in MC is equivalent to the set of all possible markings in the corresponding SPN The transition probabilities in the MC can be computed with transition rates in the corresponding SPN The transition probabilities in the MC can be computed with transition rates in the corresponding SPN The transition probability matrix can thus be determined from the transition rates in SPN The transition probability matrix can thus be determined from the transition rates in SPN

8 SPN and MC The sojourn time in each marking is an exponentially distributed random variable with average: The sojourn time in each marking is an exponentially distributed random variable with average:

9 SPN and MC The transition probabilities in the corresponding MC is determined by: The transition probabilities in the corresponding MC is determined by:

10 The transition matrix of MC The transition matrix of a MC is defined as: The transition matrix of a MC is defined as:

11 The dynamics of MC The dynamical equation of a MC can be written as: The dynamical equation of a MC can be written as:

12 The steady state distribution of MC The steady state distribution of the MC is a fixed point of the dynamical equation: The steady state distribution of the MC is a fixed point of the dynamical equation:

13 Generalized Stochastic Petri Nets Neither PN nor SPN is able to perfectly model all the real systems. Neither PN nor SPN is able to perfectly model all the real systems. Transition rates in real systems may span a wide range including a few orders of magnitude. Transition rates in real systems may span a wide range including a few orders of magnitude. GSPN is a model that allows both timed transitions and immediate transitions. GSPN is a model that allows both timed transitions and immediate transitions. GSPN is able to model real systems with an appropriate granularity of time. GSPN is able to model real systems with an appropriate granularity of time.

14 An example of GSPN

15 Switching probabilities of the GSPN

16 The reachability set of the GSPN

17 Timed and intermediate transitions may be correlated

18 Time vs. State in GSPN

19 Outline Background Background  Modeling concurrent systems with Petri Nets  Stochastic Petri Nets (SPN)  Markov Chains (MC)  Generalized Stochastic Petri Nets (GSPN) The steady state distribution in GSPN The steady state distribution in GSPN Computing the steady state distribution more efficiently. Computing the steady state distribution more efficiently. Examples. Examples. Numerical results. Numerical results.

20 GSPN steady state distribution Two types of markings (states) exist in a GSPN: Two types of markings (states) exist in a GSPN:  Tangible states are markings that are associated with only timed transitions.  Vanishing states are markings that are associated with at least on immediate transition.

21 Assumptions The reachability set of GSPN is finite. The reachability set of GSPN is finite. Transition rates remain constant and do not evolve with time. Transition rates remain constant and do not evolve with time. The initial marking is reachable with a nonzero probability from any marking in the reachability set. The initial marking is reachable with a nonzero probability from any marking in the reachability set. No marking exists that “absorbs” the process. No marking exists that “absorbs” the process.

22 Notations Following notations are used to derive the steady state distribution: Following notations are used to derive the steady state distribution: S: the set of states in the SPP. S: the set of states in the SPP. T: the set of tangible states in S. T: the set of tangible states in S. V: the set of vanishing states in S. V: the set of vanishing states in S.

23 The steady state distribution The steady state distribution must satisfy: The steady state distribution must satisfy:

24 Outline Background Background  Modeling concurrent systems with Petri Nets  Stochastic Petri Nets (SPN)  Markov Chains (MC)  Generalized Stochastic Petri Nets (GSPN) The steady state distribution in GSPN The steady state distribution in GSPN Computing the steady state distribution more efficiently. Computing the steady state distribution more efficiently. Examples. Examples. Numerical results. Numerical results.

25 Efficient computation of steady state distribution The inverse of the transition matrix needs to be computed in time The inverse of the transition matrix needs to be computed in time The dimensionality of the transition matrix can become very big. The dimensionality of the transition matrix can become very big. The computation of the inverse of the transition matrix can become very inefficient. The computation of the inverse of the transition matrix can become very inefficient. More efficient approaches are needed for computing the steady state distribution. More efficient approaches are needed for computing the steady state distribution.

26 The approach The dimensionality of the transition matrix can be reduced by observing the figure: The dimensionality of the transition matrix can be reduced by observing the figure: t1 ir j

27 The effective transition matrix If we only consider the tangible states, the transition matrix can be computed with: If we only consider the tangible states, the transition matrix can be computed with:

28 Outline Background Background  Modeling concurrent systems with Petri Nets  Stochastic Petri Nets (SPN)  Markov Chains (MC)  Generalized Stochastic Petri Nets (GSPN) The steady state distribution in GSPN The steady state distribution in GSPN Computing the steady state distribution more efficiently. Computing the steady state distribution more efficiently. Examples. Examples. Numerical results. Numerical results.

29 An example

30 A GSPN for the system

31 A simplified model

32 Another simplified model

33 A third simplified example

34 Interesting questions Can we further simplify the GSPN used such that all resources can be abstracted as tokens? Can we further simplify the GSPN used such that all resources can be abstracted as tokens? If the answer is “no”, what actually determines that, the topology of the system? If the answer is “no”, what actually determines that, the topology of the system? Is a mathematical proof possible? Is a mathematical proof possible?

35 Outline Background Background  Modeling concurrent systems with Petri Nets  Stochastic Petri Nets (SPN)  Markov Chains (MC)  Generalized Stochastic Petri Nets (GSPN) The steady state distribution in GSPN The steady state distribution in GSPN Computing the steady state distribution more efficiently. Computing the steady state distribution more efficiently. Examples. Examples. Numerical results. Numerical results.

36 Numerical results The upper bound (M is infinitely large) The upper bound (M is infinitely large) The lower bound (M is equal to b) The lower bound (M is equal to b) To understand the dependence of the throughput on M, further investigation is needed. To understand the dependence of the throughput on M, further investigation is needed. GSPN provides a convenient way for this purpose. GSPN provides a convenient way for this purpose.

37 Results

38 Conclusion Extended from SPN and PN, the GSPN model can provide a finer description of the real system. Extended from SPN and PN, the GSPN model can provide a finer description of the real system. The GSPN is mathematically equivalent to a MC. The GSPN is mathematically equivalent to a MC. The steady state distribution of GSPN can be efficiently computed. The steady state distribution of GSPN can be efficiently computed. Real system can be analyzed to deeper level if GSPN is adopted. Exact solutions can be obtained for some complicated situations. Real system can be analyzed to deeper level if GSPN is adopted. Exact solutions can be obtained for some complicated situations.