PMDAAMDGPU(1)
π PMDAAMDGPU(1) π
okay bestie, welcome to the pmdaamdgpu era β that's the manual page for the AMD GPU metrics domain agent (PMDA) from the Performance Co-Pilot (PCP) crew β¨
πΈ NAME πΈ
pmdaamdgpu β AMD GPU metrics domain agent (PMDA) π
β¨ SYNOPSIS β¨
$PCP_PMDAS_DIR/amdgpu/pmdaamdgpu [-D debug] [-d domain] [-l logfile] [-t interval]
π¦ DESCRIPTION π¦
pmdaamdgpu is a Performance Metrics Domain Agent (PMDA) β and what it does is pull out performance metrics that describe all the metrics available on AMD GPU cards, via the DRM library. no cap π
The amdgpu PMDA exports metrics that measure GPU activity, memory utilization, temperature, etc β on GCN 1.2+ AMD GPUs π
A brief description of the pmdaamdgpu command line options follows:
-dβ It is absolutely crucial that the performance metrics domain number you specify here is unique and consistent. Like, that means domain should be different for every PMDA on the one host, and the same domain number should be used for the same PMDA on all hosts. fr fr, don't play with this one π-lβ Location of the log file. By default, a log file namedamdgpu.loggets written in the current directory ofpmcd(1)whenpmdaamdgpuis started, i.e.$PCP_LOG_DIR/pmcd. If the log file can't be created or isn't writable, output goes to standard error instead π-tβ Enables and sets a sampling interval for automatic refreshing of metric values. This functionality is disabled by default, however this option lets you specify a time interval on which all values are sampled β and the effect of that is constantly updating the accumulating metrics, with the goal of helping client tools likepcp-atop(1)andpmlogger(1)observe sub-sample time changes in GPU and process state π Typically these tools have longer sampling intervals, so they can 'miss' activity happening during their sampling interval. not on our watch β
π INSTALLATION π
The amdgpu PMDA is not installed and available by default. If you want to undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/amdgpu
# ./Remove
If you want to establish access to the names, help text and values for the AMD GPU performance metrics once more, after removal, do the following as root:
# cd $PCP_PMDAS_DIR/amdgpu
# ./Install
pmdaamdgpu is launched by pmcd(1) and should never be executed directly π« The Install and Remove scripts notify pmcd(1) when the agent is installed or removed. iconic behavior, honestly π
π FILES π
$PCP_PMCDCONF_PATHβ command line options used to launchpmdaamdgpu$PCP_PMDAS_DIR/amdgpu/helpβ default help text file for the amdgpu metrics$PCP_PMDAS_DIR/amdgpu/Installβ installation script for thepmdaamdgpuagent$PCP_PMDAS_DIR/amdgpu/Removeβ undo installation script for thepmdaamdgpuagent$PCP_LOG_DIR/pmcd/amdgpu.logβ default log file for error messages and other information frompmdaamdgpu
π§ PCP ENVIRONMENT π§
Environment variables with the prefix PCP_ are used to configure the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(5) β¨
π DEBUGGING OPTIONS π
The -D or --debug option enables the output of additional diagnostics on stderr to help triage problems β although ngl, the information is sometimes cryptic and primarily intended to give guidance for developers rather than for end-users π debug is a comma separated list of debugging options; use pmdbg(1) with the -l option to get a list of the available debugging options and their meaning π
Debugging options specific to pmdaamdgpu are as follows:
π SEE ALSO π
PCPIntro(1), pcp-atop(1), pmcd(1), pmlogger(1), pcp.conf(5) and pcp.env(5) π«Ά
and that's the whole page bestie, you ate π β¨ this one came from the Performance Co-Pilot collection, tagged PCP, and it's the PMDAAMDGPU(1) page β mwah, go read it again if you need to, ily πππ¦
π¦ where this page comes from
- arch rolling: pcp 7.2.2-2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0
- fedora 43: pcp-doc 7.2.1-1.fc43
- fedora 43: pcp-doc 7.2.2-1.fc43
- fedora 43: pcp-doc 7.2.2-2.fc43 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 44: pcp-doc 7.2.1-1.fc44
- fedora 44: pcp-doc 7.2.2-1.fc44
- fedora 44: pcp-doc 7.2.2-2.fc44 Β· GPL-2.0-or-later AND CC-BY-3.0
- ubuntu stonking: pcp 7.2.1-2build1
- Copyright (c) 2024 Red Hat
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms