[pbs-devel] [PATCH proxmox{, -backup} v3 0/2] add GC chunk LRU cache stats

Christian Ebner c.ebner at proxmox.com
Wed Jun 4 17:34:47 CEST 2025


Allows better fine-tuning of the garbage collection cache capacity by
providing the hit and miss count, as well as the hit ratio as output
to the garbage collection task log.

Changes since version 2 (thanks Fabian for feedback):
- Combine stats counters into struct and make them optional. This
  avoids parsing issues during upgrade.

Changes since version 1 (thanks Lukas for feedback):
- Also display the cache hit ratio
- Fix the cache not being disabled when the capacity is set to 0,
  discovered while investigating the hit ratio for different
  capacities.

proxmox:

Christian Ebner (1):
  pbs api types: extend garbage collection status by cache stats

 pbs-api-types/src/datastore.rs | 13 +++++++++++++
 1 file changed, 13 insertions(+)


proxmox-backup:

Christian Ebner (1):
  garbage collection: track chunk cache stats and show in task log

 pbs-datastore/src/datastore.rs | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)


Summary over all repositories:
  2 files changed, 33 insertions(+), 2 deletions(-)

-- 
Generated by git-murpp 0.8.1




More information about the pbs-devel mailing list