lfu-replacement · research · also LFU, least frequently used

Least frequently used replacement

Least frequently used replacement selects a resident entry with the lowest tracked access count, with behavior also determined by counting scope and tie-breaking.

The LFU name alone does not specify count lifetime, aging or how equal counts are ordered. In the pinned standalone implementation, insertion starts the count at one, hits increment it, and a tie evicts the most recently used candidate. [1]

The LeCaR expert in the same repository instead breaks equal-frequency ties by block identifier and can recover a previous count from eviction history. These choices can change eviction sequences even when both implementations are called LFU. [2]

The CACHEUS paper describes random tie-breaking for classic LFU. That description and the linked standalone implementation are different baseline specifications; neither should silently substitute for the other. [3] [1]

Relations

related
LeCaR, CACHEUS, Least recently used replacement, TinyLFU, LRFU replacement, Ghost cache entry

Citations

  1. Standalone LFU author implementation: count lifetime and tie-breaking; commit 1eec63ce166502be33ddd1f35bc041ed73a24f4d. (accessed 2026-11-14)
  2. LeCaR author implementation: evict, addToHistory, miss and adjustWeights; commit 1eec63ce166502be33ddd1f35bc041ed73a24f4d. (accessed 2026-11-14)
  3. Rodriguez et al. Learning Cache Replacement with CACHEUS. FAST 2021, pp. 341-354, sections 3-6. (accessed 2026-11-14)

Further reading

  1. Hesela: expert feedback and LFU baseline identity. (accessed 2026-11-14)
Sources & caveats
  • Primary-paper and pinned-source comparison, not execution of either baseline. The difference does not establish which implementation produced the historical published results.

JSON: /data/terms/lfu-replacement.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Least frequently used replacement. Hesela. 2026-11-14. https://hesela.dev/terms/lfu-replacement/