one-hit-wonder-ratio · research · also One-hit ratio, Singleton-object ratio

One-hit-wonder ratio

The one-hit-wonder ratio is the fraction of distinct objects requested exactly once within a specified observation window.

Related Observatory article: Read on hesela.com

The denominator counts distinct objects, not requests or bytes. In AABC, B and C are singletons: the object ratio is 2/3, while their share of requests is 2/4. The word hit here means an observed request, not a cache hit. [3]

The S3-FIFO paper measures sequence size by distinct objects and reports higher singleton fractions in shorter sampled sequences. A window containing 10% of a trace's distinct objects is not a window containing 10% of its requests. Its population summary does not establish monotonicity for every trace prefix. The formal observation concerns an expected ratio under a Zipf popularity model, with the least-popular object requested once and a subsequence ending in a one-hit wonder; it is not a guarantee about every finite trace. [1]

Quick demotion in S3-FIFO and SIEVE targets objects that are not reused soon enough to justify occupying cache space. A once-observed object may be reused after the window, and a globally popular object may have no reuse during one residency. Trace singletons and unused cache residencies are different measurements. [1] [2]

Across overlapping windows, pooling singleton-object counts and distinct-object counts weights windows by their distinct populations. It is not the unweighted mean of the per-window ratios. AABC with three-request windows gives pooled 4/5 versus unweighted 3/4. The linked exact counter keeps the numerators, denominators and window rule explicit. [3]

Relations

related
S3-FIFO, SIEVE cache eviction, Working-set footprint, Request hit ratio

Limitations

  • A frequency summary alone cannot identify cache misses: AABB and ABAB have no singleton objects, yet a cold one-slot cache with immediate admission misses twice and four times respectively. [3]

Citations

  1. Yang, Zhang, Qiu, Yue and Rashmi. FIFO Queues are All You Need for Cache Eviction. SOSP 2023, sections 3.1-3.2; DOI 10.1145/3600006.3613147. (accessed 2026-11-27)
  2. Zhang, Yang, Yue, Vigfusson and Rashmi. SIEVE is Simpler than LRU: an Efficient Turn-Key Eviction Algorithm for Web Caches. NSDI 2024, sections 2.1 and 5.1. (accessed 2026-11-27)
  3. Hesela: exact singleton-window accounting, worked denominators, counting method and tests. (accessed 2026-11-27)
Sources & caveats
  • Source-based definition and deterministic worked examples; no production trace, cache-throughput experiment or paper replication is claimed.
  • The counter enumerates all complete overlapping fixed-request-count windows through aggregated counts; this differs from the papers' sampled unique-object window design.

JSON: /data/terms/one-hit-wonder-ratio.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. One-hit-wonder ratio. Hesela. 2026-11-29. https://hesela.dev/terms/one-hit-wonder-ratio/