- Joined
- Nov 12, 2015
- Messages
- 1,471
We are pleased to see that upstream OpenZFS has merged changes which will increase the default ARC sizes on Linux to match what we had on FreeBSD. This change is expected to land in the next major release of TrueNAS SCALE 24.04 (Dragonfish).
In the meantime, it is possible for you to manually set this tunable to help us test and validate that this is working as expected. If you want to change the default tunings of ZFS ARC, you can do so by using the following commands:
To set a new larger ARC Size:
# echo <SIZE IN BYTES> >> /sys/module/zfs/parameters/zfs_arc_max
For example:
To make the setting persist you will need to setup a post-init script to run it at bootup. You can reset it to '0' to return to default behavior.
EDIT:
The original instructions didn't apply correctly. Adjusted to correct procedure.
In the meantime, it is possible for you to manually set this tunable to help us test and validate that this is working as expected. If you want to change the default tunings of ZFS ARC, you can do so by using the following commands:
To set a new larger ARC Size:
# echo <SIZE IN BYTES> >> /sys/module/zfs/parameters/zfs_arc_max
For example:
# echo 47191459840 >> /sys/module/zfs/parameters/zfs_arc_max
To make the setting persist you will need to setup a post-init script to run it at bootup. You can reset it to '0' to return to default behavior.
EDIT:
The original instructions didn't apply correctly. Adjusted to correct procedure.
Last edited: