Hi,
I have a TrueNAS Core system with 64GB. My ZFS Pool will be around 8T as mirror and no deduplication. And I will run one or two VMs with approx. 8GB of RAM of each.
Now having a look at the VM configuration page I see only 0.1 bytes of free memory. And when I power on a VM I am getting a warning about too low memory.
I understand ARC and I know it is using nearly all available memory for caching which makes sense and is fine. And I know ZFS behaves very aggresively in consuming memory. However, I want to use some parts of my memory for my VMs. From a usual OS POV it should decrease the memory used by ARC and make it available to VMs as needed. In ZFS I have the experience this is not happening, for whatever reason. I have seen similar behaviour on QNAP QTShero, and from using the search here it is more or lesse the same on TrueNAS SCALE with Linux as a base.
What I now need to know how I can limit the ARC memory on my TrueNAS CORE? Whatever I have found here was either outdated (FreeeNAS 10.x) or for SCALE.
So how do I limit my memory usage for ARC?
Thanks a lot!
/KNEBB
I have a TrueNAS Core system with 64GB. My ZFS Pool will be around 8T as mirror and no deduplication. And I will run one or two VMs with approx. 8GB of RAM of each.
Now having a look at the VM configuration page I see only 0.1 bytes of free memory. And when I power on a VM I am getting a warning about too low memory.
I understand ARC and I know it is using nearly all available memory for caching which makes sense and is fine. And I know ZFS behaves very aggresively in consuming memory. However, I want to use some parts of my memory for my VMs. From a usual OS POV it should decrease the memory used by ARC and make it available to VMs as needed. In ZFS I have the experience this is not happening, for whatever reason. I have seen similar behaviour on QNAP QTShero, and from using the search here it is more or lesse the same on TrueNAS SCALE with Linux as a base.
What I now need to know how I can limit the ARC memory on my TrueNAS CORE? Whatever I have found here was either outdated (FreeeNAS 10.x) or for SCALE.
So how do I limit my memory usage for ARC?
Thanks a lot!
/KNEBB