Skip to content

Comments

perfevent2 for uncore counters#2164

Open
narategithub wants to merge 3 commits intoovis-hpc:mainfrom
narategithub:perf
Open

perfevent2 for uncore counters#2164
narategithub wants to merge 3 commits intoovis-hpc:mainfrom
narategithub:perf

Conversation

@narategithub
Copy link
Collaborator

  • adds --enable-cap-perfmon option to configure.ac. When enabled, ldmsd will be installed with cap_perfmon so that ldmsd can use perfevent in user mode.

  • adds perfevent2 sampler plugin aiming for uncore counters (core counters are also supported). The new sampler supports specifying events using their names (instead of perf attribute codes in perfevent sampler), the same way as they appeared in perf list hw cache pmu command. See ldms-sampler_perfevent2.rst (part of the PR) for more info.

@narategithub
Copy link
Collaborator Author

oops. Seems like config3 attribute is too new. I'll address backward compatibility & push again ...

@narategithub
Copy link
Collaborator Author

@tom95858, @jstile-lbl ldms-perfdb-gen is not working right with Kernel 4.x and 5.x. I'm fixing it and marking this to "draft" for now to prevent an accident merge.

@narategithub narategithub marked this pull request as draft February 13, 2026 21:30
@tom95858
Copy link
Collaborator

@narategithub should this be converted from draft to ready to merge?

Narate Taerat added 2 commits February 24, 2026 08:54
@narategithub
Copy link
Collaborator Author

This has been tested on:

  • AMD Zen 4 CPU, Debian 13, Linux 6.12.63
  • AMD Zen 4 CPU, openSUSE Leap 15.5, Linux 5.14.21
  • AMD Zen 4 CPU, Alma Linux 8, Linux 4.18.0-553.105.1.el8_10.x86_64
  • ARM Cortex-A72 (Raspberry Pi 4), Raspberry PI/Debian 13, Linux 6.12.62+rpt-rpi-v8

@narategithub narategithub marked this pull request as ready for review February 24, 2026 15:35
@narategithub
Copy link
Collaborator Author

@tom95858 I think this is ready to be merged.

@baallan
Copy link
Collaborator

baallan commented Feb 24, 2026

@narategithub has this been tested on intel hardware? blake would be an excellent location, as sapphire rapids is the bulk of our production cores.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants