[pbs-devel] [PATCH proxmox-backup 2/2] garbage collection: track chunk cache stats and show in task log
Lukas Wagner
l.wagner at proxmox.com
Fri May 16 11:54:08 CEST 2025
On 2025-05-16 10:58, Christian Ebner wrote:
> Count the chunk cache hits and misses and display the resulting
> values in the garbage collection task log summary.
>
> This allows to investigate possible issues and tune cache capacity,
> also by being able to compare to other values in the summary such
> as the on disk chunk count.
>
> Exemplary output
> ```
> 2025-05-16T10:41:29+02:00: Chunk cache: hits 38118, misses 10017
I think it would be nice to also print the hit ratio :) For the
example here it should be 79%, if my math is correct.
--
- Lukas
More information about the pbs-devel
mailing list