0% found this document useful (0 votes)
4 views2 pages

Async Sequential Reads Arc

The document discusses configuring the ZFS Adaptive Replacement Cache (ARC) parameters, specifically zfs_arc_min and zfs_arc_max, to optimize memory usage for sequential reads. It provides metrics for ARC hits and misses, indicating the efficiency of data retrieval from memory versus disk. The document compares results with and without tunables, showing improved performance with specific settings.

Uploaded by

yomaxi5211
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views2 pages

Async Sequential Reads Arc

The document discusses configuring the ZFS Adaptive Replacement Cache (ARC) parameters, specifically zfs_arc_min and zfs_arc_max, to optimize memory usage for sequential reads. It provides metrics for ARC hits and misses, indicating the efficiency of data retrieval from memory versus disk. The document compares results with and without tunables, showing improved performance with specific settings.

Uploaded by

yomaxi5211
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Asynchronous Sequential Reads With Arc Parameter

Without Tunables
echo 0 | sudo tee /sys/module/zfs/parameters/zfs_arc_min
Setting zfs_arc_min to 0 allows ZFS to dynamically adjust the minimum ARC size based
on available memory.

echo 0 | sudo tee /sys/module/zfs/parameters/zfs_arc_max


Setting zfs_arc_max to 0 means ZFS will automatically determine the maximum ARC size
based on system memory and workload.

node_zfs_arc_hits
This metric tracks how many times the data requested by an application or process was
found in the ARC. A higher number of ARC hits means that ZFS is efficiently serving data
from memory, resulting in faster data access and reduced disk I/O.

The maximum number of hits 1782 Hits/Sec

node_zfs_arc_misses
This represents the number of cache misses in the Adaptive Replacement Cache (ARC)
of ZFS. A cache miss occurs when the requested data is not found in the ARC, meaning
that ZFS has to fetch the data from the underlying storage, which is slower than serving it
from memory.

The maximum number of misses 1751 Misses/Sec


With Tunables
echo 1073741824 | sudo tee /sys/module/zfs/parameters/zfs_arc_min
This will set arc_min size as 1 GB

echo 3221225472 | sudo tee /sys/module/zfs/parameters/zfs_arc_max


This will set arc_max size as 3 GB

node_zfs_arc_hits
This metric tracks how many times the data requested by an application or process was
found in the ARC. A higher number of ARC hits means that ZFS is efficiently serving data
from memory, resulting in faster data access and reduced disk I/O.

The maximum number of hits 2033 Hits/Sec

node_zfs_arc_misses
This represents the number of cache misses in the Adaptive Replacement Cache (ARC)
of ZFS. A cache miss occurs when the requested data is not found in the ARC, meaning
that ZFS has to fetch the data from the underlying storage, which is slower than serving it
from memory.

The maximum number of misses 239 Misses/Sec

You might also like