Skip to main content
QUICK REVIEW

[Paper Review] A versatile and accurate approximation for LRU cache performance

Christine Fricker, Philippe Robert|arXiv (Cornell University)|Feb 17, 2012
Caching and Content DeliveryComputer Science21 references264 citations
TL;DR

This paper provides a rigorous mathematical foundation for the Che approximation, a highly accurate and versatile method for estimating LRU cache hit rates across diverse popularity distributions. It explains why the approximation works even when intuitive assumptions fail, enabling efficient performance evaluation in large-scale information-centric networks with massive, heterogeneous content populations.

ABSTRACT

In a 2002 paper, Che and co-authors proposed a simple approach for estimating the hit rates of a cache operating the least recently used (LRU) replacement policy. The approximation proves remarkably accurate and is applicable to quite general distributions of object popularity. This paper provides a mathematical explanation for the success of the approximation, notably in configurations where the intuitive arguments of Che, et al clearly do not apply. The approximation is particularly useful in evaluating the performance of current proposals for an information centric network where other approaches fail due to the very large populations of cacheable objects to be taken into account and to their complex popularity law, resulting from the mix of different content types and the filtering effect induced by the lower layers in a cache hierarchy.

Motivation & Objective

  • To provide a rigorous mathematical explanation for the high accuracy of the Che approximation in estimating LRU cache hit rates, even under conditions where its original intuitive assumptions do not hold.
  • To extend the applicability of the Che approximation to complex, real-world cache scenarios such as information-centric networking (ICN), where content populations are vast and popularity laws are heterogeneous.
  • To demonstrate the method's effectiveness in large-scale systems by applying it to a mixed-content ICN scenario with web, file sharing, UGC, and VoD traffic.
  • To compare the Che approximation with alternative methods, showing its computational efficiency and accuracy relative to simulation and iterative algorithms.
  • To validate the approximation’s robustness across different popularity laws, including Zipf and geometric distributions, and for both LRU and random replacement policies.

Proposed method

  • The paper models the cache using the independent reference model (IRM), where request probabilities are proportional to object popularity $ q(n) $, and applies Little’s Law to relate hit rates to request frequency and average sojourn time.
  • It derives a key equation for the LRU approximation: $ h(n) \approx 1 - e^{-q(n)t_C} $, where $ t_C $ is the unique solution to $ \sum_{n=1}^{N}(1 - e^{-q(n)t}) = C $, ensuring the total hit rate sums to cache capacity $ C $.
  • For random replacement, a similar approximation is derived: $ h(n) = \frac{q(n)\tau_C}{\sum_{i \neq n} q(i) + q(n)\tau_C} $, with $ \tau_C $ determined by solving $ C = \sum_{n=1}^{N} \frac{q(n)\tau_C}{\sum_{i \neq n} q(i) + q(n)\tau_C} $.
  • The method leverages grouping techniques to efficiently compute sums over extremely large object populations (e.g., $ 10^{11} $ objects), enabling rapid evaluation without simulation.
  • The approach is validated through numerical comparisons with simulation and other analytical methods across various popularity laws, including Zipf and geometric distributions.
  • The framework is applied to a realistic ICN traffic mix with four content types, each having distinct popularity exponents, sizes, and traffic shares, to evaluate overall hit rates under LRU, random, and LFU policies.

Experimental results

Research questions

  • RQ1Why does the Che approximation for LRU cache hit rates remain highly accurate even when the underlying assumptions—such as uniform request inter-arrival times—do not hold?
  • RQ2How can the Che approximation be mathematically justified for general popularity distributions, including those with heavy or light tails?
  • RQ3To what extent does the approximation remain accurate for random replacement, and how does it compare to LRU in real-world ICN workloads?
  • RQ4Can the Che approximation be efficiently scaled to handle massive content populations (e.g., $ 10^{11} $ objects) with heterogeneous popularity laws?
  • RQ5How does the performance of LRU, as predicted by the Che approximation, compare to LFU and random replacement in a mixed-content ICN environment?

Key findings

  • The Che approximation achieves high accuracy across diverse popularity laws, including Zipf with $ \alpha = 0.8 $ and $ \alpha = 1.2 $, and geometric distributions, even when the original heuristic assumptions are violated.
  • The approximation for random replacement is nearly as accurate as the LRU version, suggesting that both policies perform similarly in large-scale, heterogeneous environments.
  • For the ICN traffic mix with $ 10^{11} $ web objects, $ 10^5 $ file-sharing objects, $ 10^8 $ UGC objects, and $ 10^4 $ VoD objects, the Che approximation enables fast, scalable hit rate evaluation where simulation or exact methods are infeasible.
  • The method allows efficient computation by grouping nearly equal terms in the popularity distribution, reducing the effective computational load despite massive object populations.
  • In the ICN case study, LRU and random replacement yield comparable overall hit rates, with LRU slightly outperforming random, while LFU performs best, as expected.
  • The paper establishes that the Che approximation is not only practical but also mathematically well-founded, providing confidence in its use for designing and optimizing large-scale cache networks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.