[Paper Review] A Closed-Form Method for LRU Replacement under Generalized Power-Law Demand
This paper presents a closed-form analytical method to compute per-object steady-state hit ratios under the LRU replacement policy for generalized power-law demand distributions. By deriving a characteristic time in constant time via a Taylor series approximation, it enables fast, simulation-free hit ratio estimation across large-scale caching systems, with accuracy maintained even under high storage availability through a novel proportional normalization technique.
We consider the well known \emph{Least Recently Used} (LRU) replacement algorithm and analyze it under the independent reference model and generalized power-law demand. For this extensive family of demand distributions we derive a closed-form expression for the per object steady-state hit ratio. To the best of our knowledge, this is the first analytic derivation of the per object hit ratio of LRU that can be obtained in constant time without requiring laborious numeric computations or simulation. Since most applications of replacement algorithms include (at least) some scenarios under i.i.d. requests, our method has substantial practical value, especially when having to analyze multiple caches, where existing numeric methods and simulation become too time consuming.
Motivation & Objective
- To address the long-standing challenge of analytically computing per-object hit ratios under LRU caching with generalized power-law request distributions.
- To eliminate the need for computationally expensive simulations or iterative numeric methods in large-scale caching systems.
- To provide a constant-time, closed-form approximation for hit probabilities that remains accurate across diverse cache sizes and popularity skewness levels.
- To correct accuracy degradation under high storage availability and high skewness using a proportional normalization procedure.
Proposed method
- Derives a closed-form approximation for the characteristic time of LRU under generalized power-law demand using a Taylor series expansion of exponential terms.
- Uses the characteristic time to compute per-object hit probabilities via a normalized formula that avoids numeric integration or Markov chain modeling.
- Applies a proportional normalization technique that redistributes missing probability mass proportionally to existing hit probabilities to preserve sum-to-capacity constraint.
- Employs the independent reference model (IRM) with i.i.d. requests and unit-sized objects to simplify analysis while maintaining realism for real-world caching workloads.
- Validates the method using numerical solutions of the normalization equation and compares results against 10-million-request simulations across varying cache sizes and skewness parameters.
Experimental results
Research questions
- RQ1Can a closed-form, constant-time method be derived for per-object LRU hit ratios under generalized power-law demand?
- RQ2How accurate is the proposed method across varying cache sizes and popularity skewness levels?
- RQ3What causes accuracy degradation under high storage availability and high skewness, and can it be corrected?
- RQ4Can the method be scaled efficiently to large networks of cooperative caches where simulation is infeasible?
Key findings
- The proposed method achieves near-perfect accuracy for low to medium skewness (a=0.4 and a=0.6) and all cache sizes up to 20% of object universe, even under high storage availability.
- For high skewness (a=0.8), the base method shows increasing deviation beyond 10% cache capacity, due to omitted higher-order terms in the Taylor expansion.
- The proportional normalization procedure restores high accuracy even at 20% cache capacity and high skewness, aligning analytic results with simulation data.
- The method computes hit ratios in constant time, making it suitable for analyzing large-scale, multi-cache systems where simulation or numeric methods become computationally prohibitive.
- The approach is the first non-asymptotic, closed-form solution for LRU hit ratios under generalized power-law demand, filling a critical gap in caching theory.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.