[pve-devel] [PATCH manager] ui: RRD graphs: display PSI as percent

Friedrich Weber f.weber at proxmox.com
Thu Jul 31 15:51:42 CEST 2025


Pressure stall information are actually in percent. This is not
mentioned explicitly in the documentation, but e.g. in the kernel
source [1]:

> The percentage of wall clock time spent in those compound stall
> states gives pressure numbers between 0 and 100 for each resource,
> where the SOME percentage indicates workload slowdowns and the FULL
> percentage indicates reduced CPU utilization:
>
>	%SOME = time(SOME) / period
>	%FULL = time(FULL) / period

Thus, also display them as percent in the GUI.

This reverts commit 087af558631b96ba4fdc40548234e4fa5478b354.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/kernel/sched/psi.c?h=v6.16#n52

Signed-off-by: Friedrich Weber <f.weber at proxmox.com>
---
 www/manager6/node/Summary.js       | 3 +++
 www/manager6/panel/GuestSummary.js | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/www/manager6/node/Summary.js b/www/manager6/node/Summary.js
index c7abd276..9a3f84a4 100644
--- a/www/manager6/node/Summary.js
+++ b/www/manager6/node/Summary.js
@@ -204,6 +204,7 @@ Ext.define('PVE.node.Summary', {
                             fields: ['pressurecpusome'],
                             colors: ['#FFD13E', '#A61120'],
                             store: rrdstore,
+                            unit: 'percent',
                         },
                         {
                             xtype: 'proxmoxRRDChart',
@@ -212,6 +213,7 @@ Ext.define('PVE.node.Summary', {
                             fields: ['pressureiosome', 'pressureiofull'],
                             colors: ['#FFD13E', '#A61120'],
                             store: rrdstore,
+                            unit: 'percent',
                         },
                         {
                             xtype: 'proxmoxRRDChart',
@@ -220,6 +222,7 @@ Ext.define('PVE.node.Summary', {
                             fields: ['pressurememorysome', 'pressurememoryfull'],
                             colors: ['#FFD13E', '#A61120'],
                             store: rrdstore,
+                            unit: 'percent',
                         },
                     ],
                     listeners: {
diff --git a/www/manager6/panel/GuestSummary.js b/www/manager6/panel/GuestSummary.js
index 7780d731..f46006b4 100644
--- a/www/manager6/panel/GuestSummary.js
+++ b/www/manager6/panel/GuestSummary.js
@@ -142,6 +142,7 @@ Ext.define('PVE.guest.Summary', {
                     fields: ['pressurecpusome', 'pressurecpufull'],
                     colors: ['#FFD13E', '#A61120'],
                     store: rrdstore,
+                    unit: 'percent',
                 },
                 {
                     xtype: 'proxmoxRRDChart',
@@ -151,6 +152,7 @@ Ext.define('PVE.guest.Summary', {
                     fields: ['pressureiosome', 'pressureiofull'],
                     colors: ['#FFD13E', '#A61120'],
                     store: rrdstore,
+                    unit: 'percent',
                 },
                 {
                     xtype: 'proxmoxRRDChart',
@@ -160,6 +162,7 @@ Ext.define('PVE.guest.Summary', {
                     fields: ['pressurememorysome', 'pressurememoryfull'],
                     colors: ['#FFD13E', '#A61120'],
                     store: rrdstore,
+                    unit: 'percent',
                 },
             );
         }
-- 
2.47.2





More information about the pve-devel mailing list