TTL Approximations for a Family of CLOCK-Like Cache Replacement Policies
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()---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 , where is the phase dimension. Moreover, our model for CLOCK() recovers the canonical CLOCK when and FIFO when , while empirically exhibiting Schur-concavity under the Independent Reference Model (IRM). Finally, we validate the model against a suite of trace-driven simulations.
Create a lesson
Metadata
- Categories
- cs.OS, cs.PF
- Comments
- Accepted and presented at IFIP Performance 2026. To appear in ACM SIGMETRICS Performance Evaluation Review
Related papers
LearnedCache: eBPF-Integrated Perceptron-Based Eviction Policies for the Linux Page Cache
Shared title terminologycs.OSZejia Qi
The Storage View Of KV Cache: Characterizing Cache Behavior Across LLM Workloads
Shared title terminologycs.OSTalia Q. Chen, Daniel Waddington, Narangerelt Batsoyol et al.
MORTIS: Compiler-Guided KV-Cache Management for LLM Agent Programs
Shared title terminologycs.OSXiaoyu Ma, Jayanaka L. Dantanarayana, Savini Kashmira et al.
Callosal: Rethinking the Kernel Page Cache for Disaggregated Storage and Memory
Shared title terminologycs.OSJames McMahon, Amit Samanta, Seung-seob Lee et al.
SARIA: Persistence-Aware KV Caching with Coordinated DRAM--SSD Reload for LLM Agents
Shared title terminologycs.OSHui Li, Qihui Zhou, Xiao Yan et al.
Comments Paper: Counterexample for Schedulability Analysis for Self-Suspending Tasks under EDF-Like Scheduling
Shared title terminologycs.OSMichael Frichert, Mario Günzel, Marion Sudvarg et al.