[pve-devel] [PATCH manager 1/4] node: options: add config option for ballooning target

Friedrich Weber f.weber at proxmox.com
Wed Mar 12 16:15:03 CET 2025


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 at 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





More information about the pve-devel mailing list