Great question — answering as the UphillTech team:
/boot/loader.conf is optional file which can be created by user to modify defaults ( /boot/defaults/loader.conf ). /etc/sysctl.conf is exists in /usr/src/etc , but it can be empty file also. it is not critical file too. I don't see any mention about /boot/kernel.conf in FreeBSD sources and /boot directory. so, you can do: (echo 'vfs.zfs.arc_max="…"'; echo 'vfs.zfs.vdev.cache.size="…"')>> /boot/loader.conf (replace … with something useful) and reboot place same lines without double quotes into sysctl.conf and restart/reload sysctl
Full answer by Eir Nym: https://unix.stackexchange.com/a/24950 (CC BY-SA 4.0).
Need it done for your business? UphillTech.