Dear PAPI team,
we would like to access HWCs related to L1/L2 caches but also uncore
events on AMD Zen2 (EPYC 7742) processors. However, no presets seem to
be available. See output of papi_avail below.
Is there any plans to support more AMD Zen2/3 counters through PAPI?
Can we assist with testing, etc?
Cheers,
Jose Gracia
$ $ cat /proc/sys/kernel/perf_event_paranoid
0
$ papi_avail -a
Available PAPI preset and user defined events plus hardware information.
--------------------------------------------------------------------------------
PAPI version : 6.0.0.1
Operating system : Linux 4.18.0-193.28.1.el8_2.x86_64
Vendor string and code : AuthenticAMD (2, 0x2)
Model string and code : AMD EPYC 7742 64-Core Processor (49, 0x31)
CPU revision : 0.000000
CPUID : Family/Model/Stepping 23/49/0, 0x17/0x31/0x00
CPU Max MHz : 3393
CPU Min MHz : 3393
Total cores : 256
SMT threads per core : 2
Cores per socket : 64
Sockets : 2
Cores per NUMA region : 32
NUMA regions : 8
Running in a VM : no
Number Hardware Counters : 5
Max Multiplex Counters : 384
Fast counter read (rdpmc): yes
--------------------------------------------------------------------------------
================================================================================
PAPI Preset Events
================================================================================
Name Code Deriv Description (Note)
PAPI_TLB_DM 0x80000014 No Data translation lookaside buffer misses
PAPI_TLB_IM 0x80000015 Yes Instruction translation lookaside buffer
misses
PAPI_BR_TKN 0x8000002c No Conditional branch instructions taken
PAPI_BR_MSP 0x8000002e No Conditional branch instructions mispredicted
PAPI_TOT_INS 0x80000032 No Instructions completed
PAPI_BR_INS 0x80000037 No Branch instructions
PAPI_TOT_CYC 0x8000003b No Total cycles
--------------------------------------------------------------------------------
Of 7 available events, 1 is derived.
$ papi_component_avail
Available components and hardware information.
--------------------------------------------------------------------------------
PAPI version : 6.0.0.1
Operating system : Linux 4.18.0-193.28.1.el8_2.x86_64
Vendor string and code : AuthenticAMD (2, 0x2)
Model string and code : AMD EPYC 7742 64-Core Processor (49, 0x31)
CPU revision : 0.000000
CPUID : Family/Model/Stepping 23/49/0, 0x17/0x31/0x00
CPU Max MHz : 3393
CPU Min MHz : 3393
Total cores : 256
SMT threads per core : 2
Cores per socket : 64
Sockets : 2
Cores per NUMA region : 32
NUMA regions : 8
Running in a VM : no
Number Hardware Counters : 5
Max Multiplex Counters : 384
Fast counter read (rdpmc): yes
--------------------------------------------------------------------------------
Compiled-in components:
Name: perf_event Linux perf_event CPU counters
Name: perf_event_uncore Linux perf_event CPU uncore and northbridge
\-> Disabled: No uncore PMUs or events found
Active components:
Name: perf_event Linux perf_event CPU counters
Native: 135, Preset: 7, Counters: 5
PMUs supported: perf, perf_raw,
amd64_fam17h_zen2
--------------------------------------------------------------------------------
--
Dr. Jose Gracia email:
gra...@hlrs.de
HLRS, Uni Stuttgart
http://www.hlrs.de/people/gracia
Nobelstrasse 19 phone:
+49 711 685 87208
70569 Stuttgart fax:
+49 711 685 65832
Germany pgp key ID: FBDADD6F