3l-cache · research · also 3L Cache

3L-Cache

3L-Cache is an object-level learned eviction policy that reduces training and prediction work through selective history collection and bidirectional candidate sampling.

Related Observatory article: Read on hesela.com

A gradient-boosted model predicts log next-arrival intervals. Candidates come from both older residents and recent arrivals; a heap and hash table retain predictions until invalidated by access, resampling or model refresh. [1]

The byte-miss and object-miss variants are different configurations. In the pinned code, byte mode ranks predicted intervals plus request-counter offset; object mode multiplies predicted intervals by object size. The interface defaults to byte-miss-ratio. Comparing both metrics does not establish that one configuration optimizes both. [2] [3]

The FAST 2025 study uses 4,855 traces, selected for more than ten million requests, with small and large capacities at 0.1% and 10% of each trace footprint. Simulator and HTTP prototype results describe different evaluation surfaces. [1]

The paper defines CPU overhead as CPU load multiplied by time and distinguishes simulator replay from HTTP-prototype monitoring. A throughput-only comparison is not a substitute for that measurement. [1]

Relations

related
Learning Relaxed Belady, GL-Cache, SIEVE cache eviction, Byte hit ratio

Limitations

  • A mean of paired throughput ratios and a ratio of summed elapsed times use different weights and can favor different policies. Neither measures CPU cost without matching CPU accounting; the arithmetic examples at https://hesela.dev/research/three-l-cache/aggregation.json are synthetic, not 3L-Cache benchmark results.
  • Process CPU clocks exclude separate worker processes. Python RUSAGE_CHILDREN accounts for terminated, waited-for children, not a live worker tree; the measured scope and time boundary must accompany a CPU-cost comparison. [4] [5]
  • CPU-load samples from unequal time intervals need duration weighting. Process and host-wide CPU percentages use different normalization; the first nonblocking percentage call is not measured idle time. The synthetic ledger at https://hesela.dev/research/three-l-cache/CPU_SAMPLING.md illustrates this instrumentation issue without attributing it to the paper. [6]

Citations

  1. Zhou et al. 3L-Cache: Low Overhead and Precise Learning-based Eviction Policy for Caches. FAST 2025, pp. 237-254, sections 4-5. (accessed 2026-11-25)
  2. 3L-Cache author implementation: prediction, lookup and train; commit 134cd159b635cdab75419a4281bed1a330fef31f. (accessed 2026-11-25)
  3. 3L-Cache author interface: default objective and TLCache-OMR/BMR names; commit 134cd159b635cdab75419a4281bed1a330fef31f. (accessed 2026-11-25)
  4. Python 3.12 time: process_time and perf_counter measurement contracts. (accessed 2026-11-25)
  5. Python 3.12 resource: RUSAGE_SELF, RUSAGE_CHILDREN and CPU-time fields. (accessed 2026-11-25)
  6. psutil API: process CPU percentage, first-call initialization and host-wide normalization. (accessed 2026-11-25)
Sources & caveats
  • Full-paper and pinned-code review. No model training, production-trace replay or cache-performance replication was performed.
  • The artifact review at https://hesela.dev/research/three-l-cache/README.md isolates plotting arithmetic; it does not reconstruct the published figures.
  • A separate bounded native CPU-accounting observation is documented at https://hesela.dev/research/three-l-cache/CPU_ACCOUNTING.md; its process counters are not cache-performance measurements.

JSON: /data/terms/3l-cache.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. 3L-Cache. Hesela. 2026-11-25. https://hesela.dev/terms/3l-cache/