Bug 1908212

Summary: [RFE] detect CPU thermal throttling events
Product: Red Hat Enterprise Linux 8 Reporter: Nathan Scott <nathans>
Component: pcpAssignee: Nathan Scott <nathans>
Status: CLOSED ERRATA QA Contact: Jan Kurik <jkurik>
Severity: unspecified Docs Contact: Apurva Bhide <abhide>
Priority: unspecified    
Version: 8.5CC: agerstmayr, fhirtz, jkurik, jmario, lichen, mgoodwin, nathans, patrickm, pportant
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: 8.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcp-5.3.1-1.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 17:49:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nathan Scott 2020-12-16 04:48:59 UTC
Opening this RFE so that we can track it for future RHEL inclusion,
and on behalf of Frank's customer.  (new metrics and pmie rules)

| On Thu, Dec 10, 2020 at 2:31 PM Frank Hirtz <fhirtz> wrote:
| > Hi Joe,
| > I had a question from a client that I was hoping that you might
| > be able to point me in the right direction on. The client wants
| > to see how they might go about monitoring and/or detecting CPU
| > thermal throttling on a host.  I know that we can log events
| > in the syslog via EDAC and we have the core_throttle_count
| > counters in /sys for CPUs, but wanted to see if we have
| > thoughts or recommendations around monitoring for these sorts
| > of events? I was thinking maybe a pcp pmda to pull this (if
| > it doesn't exist) or similar, but it seems that it's likely
| > something that's been asked before.

I've CC'd some Insights folk who might also be interested in this -
there's some relevant  narrative around possible remedies here:
    https://superuser.com/questions/459354/the-meaning-of-thermal-throttle-counters-and-package-power-limit-notifications-i

Comment 11 Nathan Scott 2021-06-01 07:13:58 UTC
This has been merged upstream as follows:

commit 0567558f1185941e9cb6ecf53db05e463bad827c
Author: Nathan Scott <nathans>
Date:   Tue Jun 1 15:22:21 2021 +1000

    pmieconf: detect sustained CPU thermal throttling
    
    Resolves Red Hat BZ #1908212

Comment 23 errata-xmlrpc 2021-11-09 17:49:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (pcp bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4171

Comment 24 Red Hat Bugzilla 2023-09-15 00:53:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days