Multiprogramming and memory contention

We study memory contention during multiprogramming when programs are free to compete for page frames. A random walk between the possible partitions of memory over the set of active programs is used to model memory contention and calculate throughput. Our model of contention takes into account program characteristics by using miss ratio curves, and also considers memory size and page fetch latency. With the aid of numerous trace‐driven simulations, we are able to verify our model, finding good agreement both in the observed distribution of memory among competing programs and in CPU utilization. We find that for high ratios of secondary to primary memory access time and under conditions of high memory contention, small programs with compact working sets are able to run with far less than expected interference from larger, more diffuse programs. In the case of multiprogramming the same program several times, we find that observed partition distributions are not necessarily even and that higher than expected levels of CPU use are observed. Lower ratios of access time are found to yield different results; programs compete on a more even basis and partition memory relatively more evenly than with higher ratios.

[1]  Alan Jay Smith,et al.  Sequentiality and prefetching in database systems , 1978, TODS.

[2]  N. A. Oliver Experimental data on page replacement algorithm , 1974, AFIPS '74.

[3]  Alan Jay Smith A Modified Working Set Paging Algorithm , 1976, IEEE Transactions on Computers.

[4]  Alan Jay Smith Analysis of the Optimal, Look-Ahead Demand Paging Algorithms , 1976, SIAM J. Comput..

[5]  Mohamed Z. Ghanem,et al.  Dynamic Partitioning of the Main Memory Using the Working Set Concept , 1975, IBM J. Res. Dev..

[6]  Irving L. Traiger,et al.  Evaluation Techniques for Storage Hierarchies , 1970, IBM Syst. J..

[7]  G.E. Possin,et al.  A semiconductor nonvolatile electron beam accessed mass memory , 1975, Proceedings of the IEEE.

[8]  Gerald S. Shedler,et al.  Derivation of miss ratios for merged access streams , 1976 .

[9]  Laszlo A. Belady,et al.  Dynamic space-sharing in computer systems , 1969, Commun. ACM.

[10]  Mohamed Z. Ghanem Study of Memory Partitioning for Multiprogramming Systems with Virtual Memory , 1975, IBM J. Res. Dev..

[11]  A.H. Bobeck,et al.  Magnetic bubbles—An emerging new memory technology , 1975, Proceedings of the IEEE.

[12]  Gilbert F. Amelio,et al.  Charge-coupled devices for memory applications , 1899, AFIPS '75.

[13]  Peter J. Denning,et al.  Thrashing: its causes and prevention , 1968, AFIPS Fall Joint Computing Conference.

[14]  Gerald S. Shedler,et al.  A model of memory contention in a paging machine , 1972, CACM.

[15]  Edward G. Coffman,et al.  A study of storage partitioning using a mathematical model of locality , 1972, OPSR.

[16]  Donald D. Chamberlin,et al.  An analysis of page allocation strategies for multiprogramming systems with virtual memory , 1973 .

[17]  Alan Jay Smith,et al.  Bibliography on paging and related topics , 1978, OPSR.

[18]  Gerald S. Shedler,et al.  Empirically derived micromodels for sequences of page exceptions , 1973 .