all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Friedrich Weber <f.weber@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH manager 1/4] node: options: add config option for ballooning target
Date: Wed, 12 Mar 2025 16:15:03 +0100	[thread overview]
Message-ID: <20250312151506.128311-2-f.weber@proxmox.com> (raw)
In-Reply-To: <20250312151506.128311-1-f.weber@proxmox.com>

The option is intended for the percentage of host memory that pvestatd
uses as the target for automatic memory allocation (ballooning).

Signed-off-by: Friedrich Weber <f.weber@proxmox.com>
---
 PVE/NodeConfig.pm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/PVE/NodeConfig.pm b/PVE/NodeConfig.pm
index 5f58dff5..d9d83615 100644
--- a/PVE/NodeConfig.pm
+++ b/PVE/NodeConfig.pm
@@ -93,6 +93,14 @@ my $confdesc = {
 	default => 0,
 	optional => 1,
     },
+    'ballooning-target' => {
+	description => 'RAM usage target for ballooning (in percent of total memory)',
+	type => 'integer',
+	minimum => 0,
+	maximum => 100,
+	default => 80,
+	optional => 1,
+    },
 };
 
 my $wakeonlan_desc = {
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


  reply	other threads:[~2025-03-12 15:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-12 15:15 [pve-devel] [PATCH manager/docs 0/4] fix #2413: make target for ballooning configurable Friedrich Weber
2025-03-12 15:15 ` Friedrich Weber [this message]
2025-04-05 16:21   ` [pve-devel] applied-series: [PATCH manager 1/4] node: options: add config option for ballooning target Thomas Lamprecht
2025-03-12 15:15 ` [pve-devel] [PATCH manager 2/4] fix #2413: pvestatd: read ballooning RAM usage target from node config Friedrich Weber
2025-03-12 15:15 ` [pve-devel] [PATCH manager 3/4] ui: node options: allow editing the ballooning RAM usage target Friedrich Weber
2025-03-12 15:15 ` [pve-devel] [PATCH docs 4/4] pvenode: document ballooning-target node option Friedrich Weber
2025-04-04 12:47 ` [pve-devel] [PATCH manager/docs 0/4] fix #2413: make target for ballooning configurable Stoiko Ivanov
2025-04-04 13:02   ` Friedrich Weber

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=20250312151506.128311-2-f.weber@proxmox.com \
    --to=f.weber@proxmox.com \
    --cc=pve-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