TTL Approximations for a Family of CLOCK-Like Cache Replacement Policies
Yirong Wang, Peter Desnoyers, Benny Van Houdt
Key points
From the paper's conclusion- While CLOCK-like cache replacement policies are highly appealing in practice due to their frugal memory usage and implementation simplicity, analytical models for their performance remain limited.
Abstract
While CLOCK-like cache replacement policies are highly appealing in practice due to their frugal memory usage and implementation simplicity, analytical models for their performance remain limited. The difficulty stems from the "eviction hand" itself. As it scans sequentially for an evictee, sparing objects with survival counters along the way, it inherently entangles the state of one cached object with the next. This strong coupling heavily obscures the system's steady state. To address this gap, we introduce a time-to-live (TTL) approximation for a family of eviction policies---which we term CLOCK($K$)---that decouples individual object dynamics using a globally fixed timer. In contrast to the intrinsic coupling induced by assuming a fixed cache capacity, such a TTL proxy yields a tractable matrix-analytic solution for the steady-state miss ratio functions across a broad and highly expressive class of phase-type renewal traffic. Among other benefits, this effectively reduces the analysis per-object to solving a linear system of order $O(Kd)$, where $d$ is the phase dimension. Moreover, our model for CLOCK($K$) recovers the canonical CLOCK when $K=1$ and FIFO when $K=0$, while empirically exhibiting Schur-concavity under the Independent Reference Model (IRM). Finally, we validate the model against a suite of trace-driven simulations.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Performance Analysis of the Randomized SIEVE/CLOCK Cache Replacement AlgorithmProceedings of the ACM on Measurement and Analysis of Computing Systems · 2026
- No-Regret Mixing of LRU and LFU with Optimal Switching CostarXiv · 2026
- The Storage View Of KV Cache: Characterizing Cache Behavior Across LLM WorkloadsarXiv · 2026
- WakeKV: Reactive, Reversible KV Residency for Heads That Change Their MindsarXiv · 2026
- To Keep or Not to Keep: Learning KV Cache Retention in Disaggregated LLM Serving SystemsarXiv · 2026
- RelaxKV: Recomputation Guided by the Query with Sparse Context Attention for Efficient KV Cache ReusearXiv · 2026