Skip to main content
eScholarship
Open Access Publications from the University of California

Optimal paging under a generalized cost function

Abstract

A generalized cost function is presented which is useful for comparing the performance of memory paging algorithms. This function is a close approximation to the real space-time produce and is expressed in terms of the number of page faults and the amount of memory occupied at the time of the fault. By using this function, it is also easy to determine the dynamic memory requirements of a program.

A demand paging algorithm is developed and shown to be optimal with respect to the cost function. Even though the algorithm is unrealizable, it is useful as a theoretical lower bound on the cost for processing any reference string.

Main Content
For improved accessibility of PDF content, download the file to your device.
Current View