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.
Similar content being viewed by others
References
Adams, J.C.: Evaluation of performance of the EMAS system. Séminaires modelisation et mesures, IRIA-LABORIA 1976
Adams, J.C., Millard, G.E.: Performance measurement on the Edinburgh multi access system. Proceedings of the ICS 1975 ACM AFCET, Antibes, June 1975
Aho, A.V., Denning, P.J., Ullmann, J.D.: Principles of optimal page replacement. CACM 18, 80 (1971)
Belady, L.A.: A study of replacement algorithms for virtual storage computers, IBM system J. 2, 78–101 (1966)
Belady, L.A., Kuehner, C.J.: Dynamic space sharing in computer systems. Comm. ACM 12, 282–288 (1969)
Buzen, J.P.: Fundamental operational laws of computer system performance. Acta Informatica 7, 167–182 (1976)
Denning, P.J.: The working-set model for program behavior. C. ACM 11 (1968)
Denning, P.J.: Virtual memory. Computing Surveys 2, 153–189 (1970)
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
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
Denning, P.J., Kahn, K.C., Leroudier, J., Potier, D.: Optimal multiprogramming, Acta Informatica 7, 197–216 (1976)
Franklin, M.A., Gupta, R.K.: Computation of page-fault probability from transition diagram. C. ACM 17 (1974)
Gelenbe, E.: A unified approach to the evaluation of a class of replacement algorithms, IEEE Trans. on Computers 22, 611–618 (1973)
Leroudier, J.: Systemes adaptatifs à mémoire virtuelle, Thèse d'état, Grenoble 1977
Martinez, M.: Evaluation de techniques de préchargement pour la gestion d'une mémoire paginée. Thèse 3éme cycle, Lyon 1978
Parent, D., Potier, D.: A note on the influence of program loading on the page-fault rate. Acta Informatica 8, 359–370 (1977)
Potier, D.: Analysis of demand paging policies with swapped working sets, Proc. 6th Symposium on Operating Systems Principles, Purdue University (Ind), Nov. 1977
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
Prieve, B.G., Fabry, R.S.: VMIN- An optimal variable-space page replacement algorithm. C. ACM May 19 (1976)
Rodriguez-Rosell, J., Dupuy, J.P.: The evaluation of a time sharing page demand system, AFIPS 40 (1972) S. JCC, 759–765 (1972)
Smith, A.J.: A modified working set paging algorithm, IEEE Trans. on computers C35 (1976)
Trivedi, K.S.: An analysis of prepaging, Computing 22, 191–210 (1979)
Author information
Authors and Affiliations
Rights 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
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF00262979