[pve-devel] [pbs-devel] [PATCH v2 proxmox-backup-qemu 05/11] access: use bigger cache and LRU chunk reader
Dietmar Maurer
dietmar at proxmox.com
Wed Mar 17 17:03:02 CET 2021
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.
More information about the pve-devel
mailing list