- Code: Select all
kstat.zfs.darwin.tunable.zfs_arc_max=
- Code: Select all
sudo sysctl -w kstat.zfs.darwin.tunable.zfs_arc.max=
It shows arc_max:
https://openzfsonosx.org/wiki/Memory_utilization
https://openzfsonosx.org/wiki/Performance
kstat.zfs.darwin.tunable.zfs_arc_max=
sudo sysctl -w kstat.zfs.darwin.tunable.zfs_arc.max=
jawbroken wrote:I believe it changed at some point, not sure which version, and the documentation is out of date.
commit ff00bedaae9e630b049b7ceea6b5ca07c6874812
Author: Jorgen Lundman <lundman@lundman.net>
Date: Thu Feb 3 19:36:32 2022 +0900
macOS: Handle ZFS_MODULE_PARAMS as sysctl, take 2
Modelled on FreeBSD approach, made to work on macOS.
Attempt to stay close to legacy macOS tunable names
but some are now slightly different.
Retire the macOS kstat versions, replace with ZFS_MODULE_IMPL.
Signed-off-by: Jorgen Lundman <lundman@lundman.net>
> sysctl -a | fgrep -i arc | fgrep -i meta | fgrep -i limit
Users browsing this forum: No registered users and 5 guests