Limit RAM used by ZFS?

qwerty0033

New Member
Oct 25, 2020
4
0
1
35
My 64GB RAM machine with ZFS seems to stabilise at 80% memory usage all the time for the root proxmox host. (Proxmox 6.2.4)

I have several VMs running on top of it, all of them using no more than 20GB of RAM, so I suspect all the RAM usage is by ZFS on the root host.

I've read several posts stating to edit /etc/modprobe.d/zfs.conf, but I don't see this file in there. Only pve-blacklist.conf and vfio.conf.

What is the best way to limit ZFS RAM use so it doesn't eat up everything? Is it okay to leave things running at 80% all the time? I notice that my server load is quite high at times, up to 10. It is noticeable that some apps on the VMs start behaving inconsistently and sluggishly.

Running a Ryzen 3700X if that helps.
 
My 64GB RAM machine with ZFS seems to stabilise at 80% memory usage all the time for the root proxmox host. (Proxmox 6.2.4)

I have several VMs running on top of it, all of them using no more than 20GB of RAM, so I suspect all the RAM usage is by ZFS on the root host.

I've read several posts stating to edit /etc/modprobe.d/zfs.conf, but I don't see this file in there. Only pve-blacklist.conf and vfio.conf.
Create it (as root user)! Then remember the "update-initramfs -u" part