Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

ARC

Direct answer

ARC uses system memory to cache ZFS blocks and metadata and adapts between recently and frequently used content. ARC occupancy is dynamic and competes with application memory according to platform memory-management behavior. High ARC hit ratio can reduce backend reads, but it does not make the pool or media healthy and must be interpreted with workload size and memory pressure.

When to use this

Use it when configuring, checking or troubleshooting ARC in ZFS.

First 30 seconds

1. ARC is ZFS's RAM cache (MRU/MFU).

2. Uses up to half RAM by default (Linux).

3. Limit on hypervisors (zfs_arc_max).

4. High hit rate = good.

5. Shrinks under memory pressure, but not instantly.

Operational verification

read → ARC hit? → else disk → cache

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

An ARC hit shows the requested block was served from RAM cache at that moment, but it does not show backing storage latency, durability or future hit probability.

Suspicious evidence: ARC is blamed solely because it consumes RAM, hit ratio is interpreted without workload shape, or cache warmth hides an underlying pool latency problem.

Platform / version applicability
ZFS storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformZFS storage
Scope / prerequisiteUse it when configuring, checking or troubleshooting ARC in ZFS.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

application read → ARC lookup → hit return OR miss → pool/vdev read → checksum validation → ARC fill → application

Healthy evidence: ARC behavior matches workload locality, memory pressure is controlled, miss-driven backend I/O is sustainable, and application latency meets baseline.

Step 2 Branching troubleshooting Narrow the fault

Concrete boundaries: application/dataset/zvol → ARC/ZIL/transaction group → pool/vdev mapping → physical device → checksum/read-back → application.

Evidence references

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.

observation · 1
Key points
  • ARC ≠ L2ARC.
  • ARC memory use ≠ leak by itself.
  • High ARC hit ratio ≠ backend health.
  • Low ARC hit ratio ≠ automatically a problem for streaming or one-pass workloads.
Key checks
  • arc_summary | head -50 — ARC size and hit rate
  • cat /proc/spl/kstat/zfs/arcstats | grep -E '^(size|c_max|hits|misses)' — raw stats
  • cat /sys/module/zfs/parameters/zfs_arc_max — limit
ReferenceWhy it matters1 section · depth on demand

How it works in operation

ZFS maps dataset/zvol I/O through ARC/ZIL and metaslabs to vdev topology and physical devices, with checksums validating blocks on read.

ReferenceHow it works1 section · depth on demand

How it works

How it works: ZFS maps dataset/zvol I/O through ARC/ZIL and metaslabs to vdev topology and physical devices, with checksums validating blocks on read.

ReferenceImportant terms & boundaries2 sections · depth on demand

Topology

An ARC hit shows the requested block was served from RAM cache at that moment, but it does not show backing storage latency, durability or future hit probability.

ZFS maps dataset/zvol I/O through ARC/ZIL and metaslabs to vdev topology and physical devices, with checksums validating blocks on read. and state what the evidence does not show.

In depth

The ARC (Adaptive Replacement Cache) is ZFS's read cache in RAM. It balances recently used and frequently used data, which handles both new reads and repeatedly accessed hot data well. On Linux, ARC defaults to using a large part of free memory and shrinks under memory pressure.

ItemNotes
zfs_arc_maxUpper limit (set on hosts that also run VMs/databases)
Hit ratioHigh ratio means most reads come from RAM
L2ARCOptional second-level cache on SSD; uses some RAM for headers
MFU/MRUFrequently / recently used lists
arc_summary | head -40
arcstat 5 3
cat /sys/module/zfs/parameters/zfs_arc_max
echo $((16*1024**3)) > /sys/module/zfs/parameters/zfs_arc_max     # 16 GiB, runtime
# persistent: options zfs zfs_arc_max=17179869184 in /etc/modprobe.d/zfs.conf

Add RAM before adding L2ARC; L2ARC only helps when the working set is larger than RAM but fits on the cache SSD.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docZFS storage current

Authoritative/upstream documentation reviewed for bounded claims in ZFS → ARC. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://openzfs.github.io/openzfs-docs/ · confidence 94%
Terminology layer

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.

Aliases that resolve here
arczfs arcadaptive replacement cache
Embedded reference data

Quick lookup tables

ZFS → ARC ZFS map

Fast topology, capacity, integrity and proof boundaries for ZFS → ARC.

ZFS boundaryWhat to verifyProof limit
Identity / topologyPool GUID/name, dataset/zvol, top-level vdev class, leaf-device identity and effective propertiesObject presence alone does not prove integrity, performance or recovery
Capacity / protectionPool free space, quotas/reservations, snapshot retention, redundancy and active scrub/resilver stateFree space or ONLINE state at one layer does not prove end-to-end health
Failure boundaryAn ARC hit proves the requested block was served from RAM cache at that moment; it does not prove backing storage latency, durability or future hit probability.Correlate ZFS evidence with both workload and lower device/path evidence
AcceptanceHealthy evidence: ARC behavior matches workload locality, memory pressure is controlled, miss-driven backend I/O is sustainable, and application latency meets baseline.Close only after original workload plus checksum/read-back/recovery verification succeeds
Confirmation

Confirm action

Continue?