ZFS tune (zfs_arc_min, zfs_arc_max) ?

user623

Dabbler
Joined
Jan 20, 2021
Messages
18
Migrate from CORE to SCALE.

Previous (CORE) i can control ZFS over sysctl (use tunables). How i can control zfs_arc_min, zfs_arc_max on SCALE on boot ?

I try use script/command as:
modprobe zfs zfs_arc_min=53687091, zfs_arc_max=1073741824

and

modprobe zfs c_min=53687091,c_max=1073741824

but no have effect:
Выделение_116.png
 
Last edited:

Chris3773

Dabbler
Joined
Nov 14, 2021
Messages
17
These can be changed with the commands:
echo SIZE_IN_BYTES >> /sys/module/zfs/parameters/zfs_arc_min
echo SIZE_IN_BYTES >> /sys/module/zfs/parameters/zfs_arc_max

You will need to add it as a preinit command under the "Init/Shutdown Scripts" selection for the change to persistence across reboots.
 

user623

Dabbler
Joined
Jan 20, 2021
Messages
18
These can be changed with the commands:
echo SIZE_IN_BYTES >> /sys/module/zfs/parameters/zfs_arc_min
echo SIZE_IN_BYTES >> /sys/module/zfs/parameters/zfs_arc_max

You will need to add it as a preinit command under the "Init/Shutdown Scripts" selection for the change to persistence across reboots.
Tnx.

Hmmm...very strange. I try it before, and not have result. But after few reboots (2..3) now all looks fine. ))

Выделение_117.png
 
Top