More on randomized on-line algorithms for caching

  • Authors:
  • Marek Chrobak;Elias Koutsoupias;John Noga

  • Affiliations:
  • Department of Computer Science, University of California, Riverside, CA;Department of Computer Science, University of California, Los Angeles, CA;Department of Computer Science, California State University, Northridge, CA

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2003

Quantified Score

Hi-index 5.23

Visualization

Abstract

We address the tradeoff between the competitive ratio and the resources used by randomized on-line algorithms for caching. Two algorithms reported in the literature that achieve the optimal ratio Hk require a lot of memory and perform extensive computation at each step. On the other hand, a very simple algorithm called RMARK has competitive ratio 2Hk -- 1, within a factor of 2 of the optimum. A natural question that arises here is whether there is a tradeoff between simplicity and the competitive ratio. In particular, is it possible to achieve a competitive ratio better than 2Hk - 1 with a simple algorithm like RMARK?We first consider marking algorithms that are natural generalizations of RMARK, and we prove that, for any ε 0, there is no randomized marking algorithm for caching with competitive ratio (2 - ε)Hk. Thus RMARK is essentially optimal among marking algorithms.Another model of simple caching algorithms is that of trackless algorithms. These are algorithms that do not store any information about items that are not in the cache. It is known that, for k = 2, there is no randomized trackless algorithm for caching with ratio better than 37/24;≈ 1.5416; The trivial upper bound is 2, achieved even by deterministic algorithms LRU and FIFO. We reduce this gap by giving a trackless randomized algorithm with competitive ratio 1/4(3 + √13) ≈ 1.6514.