The Community for Technology Leaders
Green Image
Issue No. 09 - September (1992 vol. 41)
ISSN: 0018-9340
pp: 1054-1068
<p>A model for studying the optimal allocation of cache memory among two or more competing processes is developed and used to show that, for the examples studied, the least recently used (LRU) replacement strategy produces cache allocations that are very close to optimal. It is also shown that when program behavior changes, LRU replacement moves quickly toward the steady-state allocation if it is far from optimal, but converges slowly as the allocation approaches the steady-state allocation. An efficient combinatorial algorithm for determining the optimal steady-state allocation, which, in theory, could be used to reduce the length of the transient, is described. The algorithm generalizes to multilevel cache memories. For multiprogrammed systems, a cache-replacement policy better than LRU replacement is given. The policy increases the memory available to the running process until the allocation reaches a threshold time beyond which the replacement policy does not increase the cache memory allocated to the running process.</p>
optimal partitioning; cache memory; optimal allocation; competing processes; least recently used; replacement strategy; cache allocations; program behavior; steady-state allocation; combinatorial algorithm; multilevel cache memories; multiprogrammed systems; cache-replacement policy; running process; threshold time; buffer storage; storage allocation.

H. Stone, J. Wolf and J. Turek, "Optimal Partitioning of Cache Memory," in IEEE Transactions on Computers, vol. 41, no. , pp. 1054-1068, 1992.
99 ms
(Ver 3.3 (11022016))