Elsevier

Journal of Algorithms

Volume 12, Issue 4, December 1991, Pages 685-699
Journal of Algorithms

Competitive paging algorithms

https://doi.org/10.1016/0196-6774(91)90041-VGet rights and content

Abstract

The paging problem is that of deciding which pages to keep in a memory of k pages in order to minimize the number of page faults. We develop the marking algorithm, a randomized on-line algorithm for the paging problem. We prove that its expected cost on any sequence of requests is within a factor of 2Hk of optimum. (Where Hk is the kth harmonic number, which is roughly ln k.) The best such factor that can be achieved is Hk. This is in contrast to deterministic algorithms, which cannot be guaranteed to be within a factor smaller than k of optimum. An alternative to comparing an on-line algorithm with the optimum off-line algorithm is the idea of comparing it to several other on-line algorithms. We have obtained results along these lines for the paging problem. Given a set of on-line algorithms and a set of appropriate constants, we describe a way of constructing another on-line algorithm whose performance is within the appropriate constant factor of each algorithm in the set.

References (17)

  • M.S Manasse et al.

    Competitive algorithms for server problems

    J. Algorithms

    (1990)
  • P Berman et al.

    A competitive 3-server algorithm

  • A Borodin et al.

    An optimal online algorithm for metrical task systems

  • A. Borodin, M. Linial, and M. Saks, An optimal online algorithm for metrical task systems, J. ACM, to...
  • M Chrobak et al.

    New results on server problems

    SIAM J. Discrete Math.

    (1991)
  • M Chrobak et al.

    An optimal online algorithm for k servers on trees

    SIAM J. Comput.

    (1991)
  • D Coppersmith et al.

    Random walks on weighted graphs and applications to on-line algorithms

  • A Fiat et al.

    Competitive k-server algorithms

There are more references available in the full text version of this article.

Cited by (0)

1

Support was provided by a Weizmann fellowship.

2

Partial support was provided by the International Computer Science Institute, Berkeley, CA, and by NSF Grant CCR-8411954.

3

Support was provided by the International Computer Science Institute and operating grant A8092 of the Natural Sciences and Engineering Research Council of Canada. Current address: International Computer Science Institute, Berkeley, CA 94704.

4

Partial support was provided by DARPA, ARPA order 4976, Amendment 20, monitored by the Air Force Avionics Laboratory under Contract F33615-87-C-1499, and by the National Science Foundation under Grant CCR-8658139.

5

Part of this work was performed while the author was at the Digital Equipment Corp. Systems Research Center, Palo Alto, CA.

View full text