Use it when configuring, checking or troubleshooting Cache Hit Ratio in Storage Performance.
Cache Hit Ratio
A high hit ratio can improve read latency and reduce backend traffic, but its value depends on which cache, request type, working set and measurement denominator are used. Write caches also need occupancy, destage and durability interpretation rather than a simple hit percentage.
1. Cache hit ratio = share of reads served from cache.
2. High = lower latency.
3. Size to working set.
4. Writes need protected cache.
5. Watch for cache thrashing.
read → cache hit/miss → device
Context & applicabilityCommon mistakes · platform/version boundaries
Cache hit ratio shows how often that measured cache served eligible requests, but it does not show backend performance, persistence or future hit rate under a different working set.
Suspicious evidence: all performance claims depend on warm cache, hit ratio falls as working set grows, cache destage queues rise, or backend weakness is hidden by transient cache residency.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Measurement path Verify boundary
workload request → cache lookup → hit completion OR miss → backing storage → fill/eviction → future hit behavior
Healthy evidence: hit ratio is measured at the correct layer, backend misses meet target, cache occupancy is stable and performance remains acceptable after warm-up transitions.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- High cache hit ratio ≠ healthy backend.
- Cache hit ratio from one layer does not describe all cache layers.
- A high ratio can disappear when the working set grows or restarts invalidate warm state.
- Cache effectiveness is not equivalent to durability.
arc_summary | grep -i 'hit ratio'— ZFS ARC hitscat /proc/vmstat | grep -E 'pgpgin|pgmajfault'— page cache missesarray cache hit report— controller
ReferenceImportant terms & boundaries2 sections · depth on demand
Measurement
Cache hit ratio shows how often that measured cache served eligible requests, but it does not show backend performance, persistence or future hit rate under a different working set.
Worked example
Cache hit ratio = hits ÷ (hits + misses). Because a miss costs orders of magnitude more than a hit, small changes matter: at 0.1 ms hit and 5 ms miss latency, 95 % hits average ~0.35 ms, 90 % ~0.6 ms, 80 % ~1.1 ms.
arcstat 1 / arc_summary # ZFS ARC and L2ARC
cat /proc/meminfo | grep -E 'Cached|Dirty'
storcli /c0/v0 show all | grep -i cache
A dropping hit ratio usually means the working set grew beyond the cache, or a scan (backup, antivirus, report) is flushing it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Storage Performance → Cache Hit Ratio. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.kernel.org/admin-guide/iostats.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Storage Performance → Cache Hit Ratio performance map
Fast measurement, correlation and proof boundaries for Storage Performance → Cache Hit Ratio.
| Measure/boundary | What to read | Proof limit |
|---|---|---|
| Workload shape | Block size, random/sequential pattern, read/write mix, concurrency and working set | Without workload shape, performance metrics are not comparable |
| Service rate | IOPS and throughput at the same time window | High service rate does not prove low latency or efficiency |
| Delay/queueing | Average plus tail latency and outstanding queue depth | A spike identifies pressure, not automatically root cause |
| Acceptance | Representative workload meets its latency/throughput objective in steady state | Required to close the performance investigation |