From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 689221FF165 for ; Thu, 31 Jul 2025 16:05:51 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 3F1C03CFA1; Thu, 31 Jul 2025 16:07:16 +0200 (CEST) Message-ID: Date: Thu, 31 Jul 2025 16:06:43 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Thomas Lamprecht , pve-devel@lists.proxmox.com References: <20250731135147.138187-1-f.weber@proxmox.com> <175397021624.1346496.13388080887498120500.b4-ty@proxmox.com> Content-Language: en-US From: Friedrich Weber In-Reply-To: <175397021624.1346496.13388080887498120500.b4-ty@proxmox.com> X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1753970791535 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.011 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] applied: [PATCH manager] ui: RRD graphs: display PSI as percent X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" On 31/07/2025 16:00, Thomas Lamprecht wrote: > On Thu, 31 Jul 2025 15:51:42 +0200, Friedrich Weber wrote: >> 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 >> >> [...] > > This was a bit strange for me, I seemingly ingrained some wrong knownledge when > getting first exposed to PSI when that was a new thing back in 2019 or so, > either the docs where worded a bit differently or I just read a bit to much > into the wording (more likely), anyhow thanks for clarifying this, one thing > that I'm still wondering is this then percent for real (i.e. * 100 already) or > a ratio? Or would we need to do *= 100 scaling? I think it's fine now -- at least for /proc/pressure/*, the range is 0..100, e.g. when running a fio in parallel: # cat /proc/pressure/io some avg10=39.42 avg60=21.00 avg300=5.98 total=49530229 full avg10=39.41 avg60=20.94 avg300=5.96 total=48766096 And this is also correctly displayed in the GUI now. > > Anyway, as this restores the status quo with rationale it's already an > improvement as is, so: Applied, thanks! Thanks! > > [1/1] ui: RRD graphs: display PSI as percent > commit: 2753e104a1e6effa4a0ae995f13636a02f3557af _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel