Join Nostr
2026-06-21 08:30:09 UTC

Justine Smithies on Nostr: Noticed that on my ThinkPad P14s AMD Gen 1 with #FreeBSD and ZFS as the filesystem ...

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"