* [pve-devel] [PATCH manager] pvereport: get pressure stall information
@ 2021-05-11 11:04 Oguz Bektas
2021-05-11 15:31 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Oguz Bektas @ 2021-05-11 11:04 UTC (permalink / raw)
To: pve-devel
PSI can be queried in /proc/pressure/{cpu,io,memory} for the
corresponding resources. this helps us track down disruptions caused
by resource overcommitment.
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
---
PVE/Report.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/Report.pm b/PVE/Report.pm
index fc54e9e2..e89edbb0 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -24,6 +24,7 @@ my $init_report_cmds = sub {
sub { dir2text('/etc/apt/sources.list.d/', '.*list') },
sub { dir2text('/etc/apt/sources.list.d/', '.*sources') },
'lscpu',
+ 'head /proc/pressure/*',
'pvesh get /cluster/resources --type node --output-format=yaml',
],
},
--
2.20.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pve-devel] applied: [PATCH manager] pvereport: get pressure stall information
2021-05-11 11:04 [pve-devel] [PATCH manager] pvereport: get pressure stall information Oguz Bektas
@ 2021-05-11 15:31 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2021-05-11 15:31 UTC (permalink / raw)
To: Proxmox VE development discussion, Oguz Bektas
On 11.05.21 13:04, Oguz Bektas wrote:
> PSI can be queried in /proc/pressure/{cpu,io,memory} for the
> corresponding resources. this helps us track down disruptions caused
> by resource overcommitment.
>
> Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
> ---
> PVE/Report.pm | 1 +
> 1 file changed, 1 insertion(+)
>
>
applied, thanks! But the inserted order felt a bit weird to me, I found it
fitting better below the `top` command a few commands above, but looking at
the whole report module I found that it was due for some refactoring anyway,
so as follow-up I:
* got rid of all those ugly side-effects we relied on
* made the definition hash the single source of info, dropping the extra
order array, which was always a bit weird
* split out the top and PSI into a new "system-load" section
* adding some stderr output about what's going on in dir2text
if something is off with my followups just shout.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-11 15:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11 11:04 [pve-devel] [PATCH manager] pvereport: get pressure stall information Oguz Bektas
2021-05-11 15:31 ` [pve-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox