Jump to content

PEPA

From Wikipedia, the free encyclopedia

Performance Evaluation Process Algebra (PEPA) is a stochastic process algebra designed for modelling computer and communication systems introduced by Jane Hillston in the 1990s.[1] The language extends classical process algebras such as Milner's CCS and Hoare's CSP by introducing probabilistic branching and timing of transitions.

Rates are drawn from the exponential distribution and PEPA models are finite-state and so give rise to a stochastic process, specifically a continuous-time Markov process (CTMC). Thus the language can be used to study quantitative properties of models of computer and communication systems such as throughput, utilisation and response time as well as qualitative properties such as freedom from deadlock. The language is formally defined using a structured operational semantics in the style invented by Gordon Plotkin.

As with most process algebras, PEPA is a parsimonious language. It has only four combinators, prefix, choice, co-operation and hiding. Prefix is the basic building block of a sequential component: the process (a, r).P performs activity a at rate r before evolving to behave as component P. Choice sets up a competition between two possible alternatives: in the process (a, r).P + (b, s).Q either a wins the race (and the process subsequently behaves as P) or b wins the race (and the process subsequently behaves as Q).

The co-operation operator requires the two "co-operands" to join for those activities which are specified in the co-operation set: in the process P < a, b> Q the processes P and Q must co-operate on activities a and b, but any other activities may be performed independently. The reversed compound agent theorem gives a set of sufficient conditions for a co-operation to have a product form stationary distribution.

Finally, the process P/{a} hides the activity a from view (and prevents other processes from joining with it).

Syntax

[edit]

Given a set of action names, the set of PEPA processes is defined by the following BNF grammar:

The parts of the syntax are, in the order given above

action
the process can perform an action a at rate and continue as the process P.
choice
the process P+Q may behave as either the process P or the process Q.
cooperation
processes P and Q exist simultaneously and behave independently for actions whose names do not appear in L. For actions whose names appear in L, the action must be carried out jointly and a race condition determines the time this takes.
hiding
the process P behaves as usual for action names not in L, and performs a silent action for action names that appear in L.
process identifier
write to use the identifier A to refer to the process P.

Tools

[edit]
  • PEPA Plug-in[2] for Eclipse[3]
  • ipc: the imperial PEPA compiler[4][5]
  • GPAnalyser[6] for fluid analysis of massively parallel systems[7]

References

[edit]
  1. ^ Hillston, Jane (1996). A Compositional Approach to Performance Modelling. Cambridge University Press. ISBN 0-521-57189-8. Retrieved 2009-04-21.
  2. ^ "The PEPA Plug-in Project".
  3. ^ Tribastone, M.; Duguid, A.; Gilmore, S. (2009). "The PEPA eclipse plugin" (PDF). ACM SIGMETRICS Performance Evaluation Review. 36 (4): 28. doi:10.1145/1530873.1530880. S2CID 7715443.
  4. ^ "ipc: Imperial PEPA Compiler". www.doc.ic.ac.uk.
  5. ^ Bradley, J. T.; Dingle, N. J.; Gilmore, S. T.; Knottenbelt, W. J. (2003). "Derivation of passage-time densities in PEPA models using ipc: the imperial PEPA compiler" (PDF). 11th IEEE/ACM International Symposium on Modeling, Analysis and Simulation of Computer Telecommunications Systems, 2003. MASCOTS 2003. p. 344. doi:10.1109/MASCOT.2003.1240679. hdl:10044/1/5750. ISBN 0-7695-2039-1. S2CID 97207.
  6. ^ "Google Code Archive - Long-term storage for Google Code Project Hosting". code.google.com.
  7. ^ Stefanek, A.; Hayden, R. A.; Bradley, J. T. (2011). "GPA - A Tool for Fluid Scalability Analysis of Massively Parallel Systems". 2011 Eighth International Conference on Quantitative Evaluation of SysTems. p. 147. doi:10.1109/QEST.2011.26. ISBN 978-1-4577-0973-9. S2CID 10220707.
[edit]