cancel
Showing results for 
Search instead for 
Did you mean: 

Newcomers Start Here

luqmanhakim
Journeyman III

Clarification Needed on the Register Sharing Domain of Package Energy Status MSR ( C001_029B)

Currently, I'm collecting the energy consumption metric of AMD EPYC 9654 (Zen 4), through the Package Energy Status MSR (C001_029B). Does each processor have 12 of this MSR, or just 1?

Based on the document, "Preliminary Processor Programming Reference (PPR) for AMD Family 19h Model 11h, Revision B1 Processors Volume 1 of 6", the Register Sharing Domain for "Package Energy Status" MSR ( C001_029B), is written as "_ccd[11:0]_lthree0; MSRC001_029B". From my understanding, this means that each CCD will have it's own Package Energy Status MSR. 

luqmanhakim_0-1718161143145.png


However, based on the following commit made by AMD's developer: https://lore.kernel.org/all/20210420112011.158160-1-linux@roeck-us.net/ , he said that this MSR will report "socket-level power reporting", not CCD-level. 

Also, based on my experiment using Linux's /dev/cpu/x/msr interface (`for i in `seq 0 191`; do rdmsr -p $i 0xC001029B ; done`), it seems that corresponding core MSR from the same socket, will output approximately the same value.


Thank you.

2 Replies

Nice Question.

0 Likes
minhnh
Journeyman III

Anyone has information on this ? Have the same concern too.

0 Likes