chillyphilly
Cadet
- Joined
- Feb 5, 2022
- Messages
- 7
I have a scale 22.02 system with 32G of ram and about 12TB usable space (18TB raw). When I first installed I saw the cache memory usage usually around 15G, which was as expected as half the system memory. I've now created a couple of VMs and I have noticed that the zfs cache is limited to half the system memory minus any memory given to vms. So I have two VMs (one with 8G and one with 2G) and my zfs cache maxes out at about 5G (15G-10G). This seems odd as it leaves approximately half the system ram doing nothing. I have tested, as soon as a VM is stopped the cache is allowed to expand into the freed space and vice versa when a VM is started.
My question is, is this on purpose or a bug (I know it is a beta OS). And in either case what would the best way forward be to overcome this. I have tried setting the zfs cache size in a boot script but it doesn't apply becuase as soon as the VMs are started it gets overridden.
Thanks in adcance for the help!
My question is, is this on purpose or a bug (I know it is a beta OS). And in either case what would the best way forward be to overcome this. I have tried setting the zfs cache size in a boot script but it doesn't apply becuase as soon as the VMs are started it gets overridden.
Thanks in adcance for the help!