Announcement

Collapse
No announcement yet.

AMD Posts New Linux Patches For Per-Core CPU Energy Counters

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • AMD Posts New Linux Patches For Per-Core CPU Energy Counters

    Phoronix: AMD Posts New Linux Patches For Per-Core CPU Energy Counters

    After an attempt in early 2023 didn't pan out, today an AMD Linux engineer posted a new kernel patch series for enabling per-core RAPL energy counter support for AMD processors. With this patch series when using Linux's venerable perf utility it's now possible for reading the power use on a per CPU core basis using a new "power_per_core" PMU...


  • #2
    Lacking context with regards to whether this will work seamlessly moving forward, or require user-space optimization? Thanks in advance.

    Comment


    • #3
      Fingers crossed these end up in el10.

      Comment


      • #4
        More, it needs more - and still feels like AMD need to be reminded - and to expand on Linux enhancements, improvements, but what really AMD need... is to build new chips with Linux-first in mind.

        Comment


        • #5
          I wonder how many cycles it costs to read the counter? I can imagine one might attach a BPF program to sched_switch and account energy usage to individual threads, if the overhead isn't extreme.

          Comment

          Working...
          X