Damus
Justine Smithies profile picture
Justine Smithies
@Justine Smithies
Noticed that on my ThinkPad P14s AMD Gen 1 with #FreeBSD and ZFS as the filesystem that it would sometimes nearly use up all of the 16GB ram. So as I only have a 1TB NVME I decided to read up and found that really 1GB is sufficient for every 1TB of drive. So I set the maximum to 2GB and the minimum to 1Gb and hopefully this will be OK for my laptops desktop useage?

/boot/loader.conf

# Set Maximum for ZFS ARC
vfs.zfs.arc_max="2147483648"

# Set Minimum for ZFS ARC
vfs.zfs.arc_min="1073741824"
1
not Evander Sinque · 14w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqw65rptwmg7gr50yqjdmje49s8kfk4e95hwqgzr2zqpfynjzt29lq9thl5m it's also sufficient to put that into sysctl.conf, don't know if it makes a difference