Probabilistic analysis of some distributed algorithms | SpringerLink
Skip to main content

Probabilistic analysis of some distributed algorithms

  • Conference paper
  • First Online:
CAAP '90 (CAAP 1990)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 431))

Included in the following conference series:

Abstract

In this paper we analyse:

  1. i)

    a storage allocation algorithm (Knuth [11] Ex.2.2.2.13) which permits to maintain two stacks inside a shared (contiguous) memory area of a fixed size,

  2. ii)

    the well-known banker algorithm which plays a fundamental role in parallel processing (Françon [8], Habermann [10], Peterson, Silberschatz [16]).

The natural formulation of the problems to be solved here is in terms of random walks. For (i) the random walk Ym(.) takes place in a triangle in a 2-dimensional lattice space with two reflecting barriers along the axes (a deletion takes no effect on an empty stack) and one absorbing barrier parallel to the second diagonal (the algorithm stops when the combined sizes of the stacks exhaust the available storage).

For (ii) the random walk takes place in a rectangle with breaked corner and has four reflecting barriers and one absorbing barrier (see Figure 8).

With the help of diffusions techniques, we obtain, asymptotically:

  • the hitting place (Zm) and time (Tm) distributions on the absorbing boundary

  • the joined distribution of Zm and Tm

  • the distribution P[Ym(n) ≤ ym, n<Tm)

The two stacks problem has been partially investigated by Yao [17] and more recently by Flajolet [7] with different tools. We provide here an analysis of the general case with new limiting distributions. At our knowledge such kind of analysis has never been done before for the banker algorithm.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. BILLINGSLEY, P., Convergence of Probability Measures, Wiley, 1968.

    Google Scholar 

  2. CHUNG, K.L. and WILLIAMS, R.J., Introduction to Stochastic Integration, Birkäuser, 1983.

    Google Scholar 

  3. COX, M.R. and MILLER, H.D., The Theory of Stochastic Processes, Chapman and Hall, 1980.

    Google Scholar 

  4. DESCLOUX, J. and TOLLEY, M., An accurate algorithm for computing the eigenvalues of polygonal membrane; Comp.Meth.Appl.Mech. and Engineering 39, 37–53, 1983.

    Article  Google Scholar 

  5. FELLER, W., Introduction to Probability Theory and its Applications, Vol. I, Wiley, 1970.

    Google Scholar 

  6. FELLER, W., Introduction to Probability Theory and its Applications, Vol. II, Wiley, 1971.

    Google Scholar 

  7. FLAJOLET, Ph., The evolution of Two Stacks in Bounded Space and Random Walks in a Triangle, INRIA, Rapport de Recherche N.518, 1986.

    Google Scholar 

  8. FRANÇON, J., Combinatoire et Parallélisme, Journées Informatique et Mathématoque, Lumigny, 15–17 octobre 1987 (manuscrit).

    Google Scholar 

  9. GREENE, D. and KNUTH, D.E., Mathematics for the Analysis of Algorithms, Birkhäuser, 1981.

    Google Scholar 

  10. HABERMANN, A.N., Systems Deadlocks, in Current Trends in Programming Methodology, Vol.3, K. Manichandy and R.T. Yeh, Eds, Prentice-Hall, 1987.

    Google Scholar 

  11. KNUTH, D.E., The Art of Computer Programming, Vol. 1, Addison-Wesley, 1969.

    Google Scholar 

  12. LOUCHARD, G., Recurrence Times and Capacities for Finite Ergodic Chains, Duke Math. Journal 33, 1, 13–22, 1966.

    Article  Google Scholar 

  13. LOUCHARD, G., Brownian Motion and Algorithms Complexity, B.I.T. 26, 17–34, 1986.

    Google Scholar 

  14. LOUCHARD, G., Random Walks, Gaussian Processes and List Structures, Theor. Comp. Sc. 53, 99–124, 1988.

    Article  Google Scholar 

  15. LOUCHARD, G. and SCHOTT, R., Probabilistic analysis of some distributed algorithms, Tech. Rep.198, Univ. Libre de Bruxelles, Lab. d'Informatique Théorique, 1989.

    Google Scholar 

  16. PETERSON, J. and SILBERSCHATZ, A., Operating Systems Concepts, Addison-Wesley, 1983.

    Google Scholar 

  17. YAO, A.C., An Analysis of a Memory Allocation Scheme for Implementating Stacks, SIAM J. Comp. 10, 2, 398–403, 1981.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

A. Arnold

Rights and permissions

Reprints and permissions

Copyright information

© 1990 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Louchard, G., Schott, R. (1990). Probabilistic analysis of some distributed algorithms. In: Arnold, A. (eds) CAAP '90. CAAP 1990. Lecture Notes in Computer Science, vol 431. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-52590-4_52

Download citation

  • DOI: https://doi.org/10.1007/3-540-52590-4_52

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-52590-5

  • Online ISBN: 978-3-540-47042-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics