[pbs-devel] [PATCH proxmox-backup] docs: tuning: list default and maximum values for `gc-cache-capacity`

Christian Ebner c.ebner at proxmox.com
Fri May 16 09:44:46 CEST 2025


Explicitly mention that the value sets the available cache slots and
not only mention the value being set to 0 disables the cache, but
rather give also the default and maximum values.

Reported in the community forum:
https://forum.proxmox.com/threads/164869/post-771224

Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
---
 docs/storage.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/storage.rst b/docs/storage.rst
index 2e648b8dc..4a8d8255e 100644
--- a/docs/storage.rst
+++ b/docs/storage.rst
@@ -456,7 +456,9 @@ There are some tuning related options for the datastore that are more advanced:
   the access time has already been updated during phase 1 of garbage collection.
   This avoids multiple updates and increases GC runtime performance. Higher
   values can reduce GC runtime at the cost of increase memory usage, setting the
-  value to 0 disables caching.
+  value to 0 disables caching. The given value sets the number of available
+  cache slots, 1048576 (= 1024 * 1024) being the default, 8388608 (= 8192 *
+  1024) the maximum value.
 
 If you want to set multiple tuning options simultaneously, you can separate them
 with a comma, like this:
-- 
2.39.5





More information about the pbs-devel mailing list