What about using a memory mapped files as cache. That way, you do not need to care about available memory?
> >> Maybe we could get the available memory and use that as hint, I mean as > >> memory > >> usage can be highly dynamic it will never be perfect, but better than just > >> ignoring > >> it.. > > > > If anything, I'd make it user-configurable - I don't think a heuristic > > would be a good choice here. > > Yeah, heuristic is not an good option as we cannot know how the system memory > situation will be in the future. _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel