My customer is having an issue with the '-a' command in AMDuProfPcm. The command fails with it included:
$ /opt/AMDuProf_5.0-1479/bin/AMDuProfPcm -a -O /tmp
configureDfPmcEvent failed...
: Invalid argument
Whereas the same command without the '-a' allows a run to begin and collection starts.
Can anyone offer any advice to get the '-a' parameter working?
Hi @RowanP
Thank you for writing to serverguru.
We are unable to reproduce the issue at our end .The command is working fine for us.
Can you please share the below details for helping us reproduce the issue
OS-details: cat /etc/os-release
Kernel details: uname -a
Output of AMDuProfCLI info --system
Thanks & Regards
Ajay Ratnam
Thanks @ajayrant, please see below:
cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="8.10 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.10 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL=https://www.redhat.com/
DOCUMENTATION_URL=https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8
BUG_REPORT_URL=https://bugzilla.redhat.com/
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.10
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.10"
uname -a
Linux ***REDACTED - CUSTOMER HOSTNAME AND DOMAIN*** 4.18.0-553.el8_10.x86_64 #1 SMP Fri May 10 15:19:13 EDT 2024 x86_64 x86_64 x86_64 GNU/Linux
AMDuProfCLI info --system
/opt/AMDuProf_5.0-1479/bin/AMDuProfCLI
[OS Info]
OS Details : Linux Red Hat Enterprise Linux 8.10 (Ootpa)-64
Distribution Details : "Red Hat Enterprise Linux 8.10 (Ootpa)"
Kernel Details : 4.18.0
[CPU Info]
AMD Cpu : Yes
Family : 0x19
Model : 0x11
Stepping : 0x1
Local APIC : Yes
Socket Count : 2
SMT Enabled : Yes
Threads per Core : 2
Threads per CCX : 16
Threads per Package : 128
Total number of Threads : 256 (Online 256)
[PERF Features Availability]
Core PMC : Yes (6 counters per core)
L3 PMC : Yes (6 counters per CCX)
DF PMC : Yes (4 counters per node)
UMC PMC : Yes (4 counters per DDR channel)
PERF TS : No
[IBS Features Availability]
IBS : Yes
IBS Fetch Sampling : Yes
IBS OP Sampling : Yes
IBS FetchCtlExtd : Yes
IBS ExtCount : Yes
IBS Dispatch : Yes
IBS BrTgtAddr : Yes
IBS OpData4 : No
[RAPL/CEF Features Availability]
RAPL : Yes
APERF & MPERF : Yes
Read Only APERF & MPERF : Yes
IRPERF : Yes
HW P-State Control : Yes
[PERF features supported by OS]
TBP Supported : Yes
EBP Supported : Yes
IBS Supported : Yes
IRPERF Supported : Yes
APERF Supported : Yes
MPERF Supported : Yes
BPF Supported : Yes
BCC Installed : No
Perf Event Paranoid : 0
Perf Event Max Mlock : 516 KB
Perf Event Max Stack : 127
[Hypervisor Info]
Hypervisor Enabled : No
Please share the output of "./AMDuProfPcm --verbose -a -O /tmp" with verbose logs.
Does "./AMDuProfPcm -m memory -c package=0 -d 10" work? Or "./AMDuProfPcm -m memory -c package=1 -d 10" ?
Please share the output of the following commands as well:
"cat /sys/devices/amd_df/cpumask"
"cat /sys/devices/amd_df/format/event"