Paging on a RAM with Limited Resources

  • Authors:
  • Tony W. Lai

  • Affiliations:
  • -

  • Venue:
  • SWAT '02 Proceedings of the 8th Scandinavian Workshop on Algorithm Theory
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

The paging problem is that of deciding which pages to keep in a cache of k pages to minimize the number of page faults for a two-level memory system. We consider efficient paging algorithms that require limited space and time on a unitcost RAM with word size w. We present an implementation of the randomized marking algorithm of Fiat et al. that uses only k + o(k) bits of space while supporting page requests in O(1) worst-case time. In addition, we present a novel k-competitive deterministic algorithm called Surely Not Recently Used (SNRU) that approximates the Least Recently Used (LRU) algorithm. For any constant 1/k 驴 驴 k驴 most recently requested pages are in the cache, while using only O(1/驴) worst-case time per request and 2k + o(k) bits of space.