Skip to main content
Log in

Program behavior prediction and prepaging

  • Published:
Acta Informatica Aims and scope Submit manuscript

Summary

The design and evaluation of a prepaging technique is presented. It consists in the preloading, at instants at which page-faults occur, of those pages whose use in the future is the most likely. These pages are determined as a function of an a-priori knowledge of program behavior. We shall first present two tools for predicting that behavior. The first is based on a Markov memory reference transition model, the second on a semi-Markov model of page-fault transitions. Both methods are successively experimented by a paging algorithm allowing prepaging. Experimentation shows that prepaging can significantly improve the performance of the paging algorithm, especially when the prediction is based on the transitions between page-faults. The sensitivity of prepaging performance to various working conditions is tested. Implementation of prepaging is examined and is shown to be feasible without the use of special hardware devices. The study is completed by an evaluation of the influence of prepaging on global system performance. Some common cases of system architecture experimentation show a non-negligible increase in CPU utilization.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Adams, J.C.: Evaluation of performance of the EMAS system. Séminaires modelisation et mesures, IRIA-LABORIA 1976

  2. Adams, J.C., Millard, G.E.: Performance measurement on the Edinburgh multi access system. Proceedings of the ICS 1975 ACM AFCET, Antibes, June 1975

  3. Aho, A.V., Denning, P.J., Ullmann, J.D.: Principles of optimal page replacement. CACM 18, 80 (1971)

    Google Scholar 

  4. Belady, L.A.: A study of replacement algorithms for virtual storage computers, IBM system J. 2, 78–101 (1966)

    Google Scholar 

  5. Belady, L.A., Kuehner, C.J.: Dynamic space sharing in computer systems. Comm. ACM 12, 282–288 (1969)

    Google Scholar 

  6. Buzen, J.P.: Fundamental operational laws of computer system performance. Acta Informatica 7, 167–182 (1976)

    Google Scholar 

  7. Denning, P.J.: The working-set model for program behavior. C. ACM 11 (1968)

  8. Denning, P.J.: Virtual memory. Computing Surveys 2, 153–189 (1970)

    Google Scholar 

  9. Denning, P.J., Kahn, K.C.: An L = S criterion for optimal multiprogramming. Proc. International Symp. on Computer performance modeling, measurement and evaluation, Harward University, March 1976

  10. Denning, P.J., Kahn, K.C.: A study of program locality and life-time functions, Proc. 5th ACM Symp. on operating system principles, November 1975, pp. 207–216

  11. Denning, P.J., Kahn, K.C., Leroudier, J., Potier, D.: Optimal multiprogramming, Acta Informatica 7, 197–216 (1976)

    Google Scholar 

  12. Franklin, M.A., Gupta, R.K.: Computation of page-fault probability from transition diagram. C. ACM 17 (1974)

  13. Gelenbe, E.: A unified approach to the evaluation of a class of replacement algorithms, IEEE Trans. on Computers 22, 611–618 (1973)

    Google Scholar 

  14. Leroudier, J.: Systemes adaptatifs à mémoire virtuelle, Thèse d'état, Grenoble 1977

  15. Martinez, M.: Evaluation de techniques de préchargement pour la gestion d'une mémoire paginée. Thèse 3éme cycle, Lyon 1978

  16. Parent, D., Potier, D.: A note on the influence of program loading on the page-fault rate. Acta Informatica 8, 359–370 (1977)

    Google Scholar 

  17. Potier, D.: Analysis of demand paging policies with swapped working sets, Proc. 6th Symposium on Operating Systems Principles, Purdue University (Ind), Nov. 1977

  18. Potier, D., Leroudier, J., Badel, M.: Un modèle d'analyse des performances d'ordinateur multiprogrammés à mémoire virtuelle. IRIA-LABORIA, rapport n∘ 152, January 1976

  19. Prieve, B.G., Fabry, R.S.: VMIN- An optimal variable-space page replacement algorithm. C. ACM May 19 (1976)

  20. Rodriguez-Rosell, J., Dupuy, J.P.: The evaluation of a time sharing page demand system, AFIPS 40 (1972) S. JCC, 759–765 (1972)

    Google Scholar 

  21. Smith, A.J.: A modified working set paging algorithm, IEEE Trans. on computers C35 (1976)

  22. Trivedi, K.S.: An analysis of prepaging, Computing 22, 191–210 (1979)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Martinez, M. Program behavior prediction and prepaging. Acta Informatica 17, 101–120 (1982). https://doi.org/10.1007/BF00262979

Download citation

  • Received:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF00262979

Keywords

Navigation