From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox Backup Server development discussion
<pbs-devel@lists.proxmox.com>,
Christian Ebner <c.ebner@proxmox.com>
Subject: [pbs-devel] applied-series: [PATCH v2 proxmox] pbs api types: add garbage collection cache capacity tuning option
Date: Sat, 5 Apr 2025 19:30:58 +0200 [thread overview]
Message-ID: <a7f8f357-ef47-4394-9bd9-4ff5feda5139@proxmox.com> (raw)
In-Reply-To: <20250404130713.376630-1-c.ebner@proxmox.com>
Am 04.04.25 um 15:07 schrieb Christian Ebner:
> Allows to adjust the capacity for the LRU cache used to keep track of
> recently touched chunks during phase 1 of garbage collection.
>
> Values are provided as multiples of 1024 cache entries, the default
> value of 1024 * 1024 was chosen as tradeoff between runtime
> improvements and memory usage [0]. The maximum of 8192 * 1024 was
> chosen based on the linear regression from [1], resulting in about
> 8 * 80 MiB = 640 MiB of memory requirement, while allowing to keep
> chunks which can reference about 32 TiB of data in case of 4 MiB
> fixed size chunks.
>
> [0] https://git.proxmox.com/?p=proxmox-backup.git;a=commit;h=03143eee0a59cf319be0052e139f7e20e124d572
> [1] https://lore.proxmox.com/pbs-devel/fa3800dd-e812-4c9a-9d3d-2d8673e05355@proxmox.com/
>
> Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
> ---
> changes since version 1:
> - use raw value for cache capacity, not multiples of 1024
>
> pbs-api-types/src/datastore.rs | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
>
applied, resolved merge conflict from the GC atime series, thanks!
_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
prev parent reply other threads:[~2025-04-05 17:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-04 13:07 [pbs-devel] " Christian Ebner
2025-04-04 13:07 ` [pbs-devel] [PATCH v2 proxmox-backup 2/4] garbage collection: set phase1 LRU cache capacity by " Christian Ebner
2025-04-04 13:07 ` [pbs-devel] [PATCH v2 proxmox-backup 3/4] ui: expose GC cache capacity in datastore tuning parameters Christian Ebner
2025-04-04 13:07 ` [pbs-devel] [PATCH v2 proxmox-backup 4/4] docs: add description for gc-cache-capacity tuning parameter Christian Ebner
2025-04-05 17:30 ` Thomas Lamprecht [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a7f8f357-ef47-4394-9bd9-4ff5feda5139@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=c.ebner@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal