byte-hit-ratio · research · also byte-hit ratio, byte hit rate

Byte hit ratio

Byte hit ratio is the fraction of requested payload bytes served from a cache under a stated request-accounting rule.

Related Observatory article: Read on hesela.com

For full-object requests, divide hit payload bytes by requested payload bytes, counting repeats. Request hit ratio counts hits, so unequal sizes can reverse a ranking. [1]

Ten requests totaling 24 KiB can yield eight hits serving 8 KiB or two hits serving 16 KiB. These fixed-residency examples produce byte hit ratios of one-third and two-thirds respectively. [2]

Pool compatible, disjoint observations by summing hit payload bytes and requested payload bytes separately before dividing. Weighting window ratios by request counts instead of requested bytes does not generally recover the pooled byte ratio. No requested bytes means the ratio is undefined. [3]

Equal-size, full-block requests with identical hit accounting have equal byte and request hit ratios. Neither describes miss-stream sequentiality. DULO balances recency with sequence size under an equal sequence-fetch-cost assumption within a bounded range. Short sequences receive a retention preference, but inactive ones can still be evicted. In the paper's multi2 simulation, execution time improved with little hit-ratio change; this historical disk result is not an SSD performance guarantee. [4]

A constructed equal-block trace gives both warm resident sets 8 hits in 16 requests and 32 KiB of hits in 64 KiB requested. Their miss streams contain either eight single-block ascending runs or two four-block runs. Logical adjacency is not a count of physical seeks, commands or elapsed time. Misses bypass; there is no prefetch or reordering. [5]

On ABCABC with A=3, B=C=1, empty capacity 3 and bypass allowed, the request optimum fetches 8 units in 4 misses (2/10 byte hits); the payload optimum fetches 7 in 5 (3/10). The six requests total ten requested units. [6]

Relations

related
GreedyDual-Size, Cache admission, TinyLFU, SSD mapping cache, Request hit ratio, Disk-head time, AdaptSize

Citations

  1. Einziger, Eytan, Friedman and Manes. Lightweight Robust Size Aware Cache Management. arXiv:2105.08770v2 (2021), sections 1 and 4-5. (accessed 2026-10-25)
  2. Hesela. Fixed-residency request and byte accounting: constructed inputs and reproducible results. (accessed 2026-10-16)
  3. Prometheus documentation. Recording rules: Aggregation; sum numerators and denominators separately before division. (accessed 2026-10-25)
  4. Jiang, Ding, Chen, Tan and Zhang. DULO. FAST 2005, sections 2, 3.4 and 4.1.2: sequence cost, recency and simulated miss streams. (accessed 2026-11-03)
  5. Hesela. Equal-hit miss-stream witness: original logical-block trace, assumptions, code and tests. (accessed 2026-11-03)
  6. Hesela. Exact request-miss and payload objectives: ABCABC witness, complete cost-pair enumeration, code and controls. (accessed 2026-11-06)
Sources & caveats
  • Payload accounting alone does not measure latency, compressed transfer, partial-read traffic or NAND operations. The example is synthetic, not a cache-policy benchmark. [2]

JSON: /data/terms/byte-hit-ratio.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Byte hit ratio. Hesela. 2026-11-14. https://hesela.dev/terms/byte-hit-ratio/