Announcement

Collapse
No announcement yet.

The AMD Ryzen Thermal / Power Linux Reporting Improvements Working Well - V2 Up For Testing

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

  • The AMD Ryzen Thermal / Power Linux Reporting Improvements Working Well - V2 Up For Testing

    Phoronix: The AMD Ryzen Thermal / Power Linux Reporting Improvements Working Well - V2 Up For Testing

    A few days ago I reported on AMD's "k10temp" Linux kernel driver finally seeing the ability to report CCD temperatures and CPU current/voltage readings as a big improvement to this hardware monitoring driver. The work hasn't yet been queued for inclusion into the mainline kernel, but initial testing is working well and a second revision to the patches has been sent out...

    http://www.phoronix.com/scan.php?pag...-Better-Zen-V2

  • #2
    Does this patchset provide anything different from zenpower?

    Comment


    • #3
      Originally posted by geearf View Post
      Does this patchset provide anything different from zenpower?
      It basically is providing the same. The comments in the code say that the info about how to get the data out of the CPU hardware came from looking at zenpower's code.

      A difference is, this k10temp driver only shows voltage and current readings while the zenpower driver also shows a reading for power usage.

      I guess the power usage reading is left out because the hardware really only reports voltage and current. The zenpower driver calculates its power usage reading by multiplying the hardware's voltage and current readings.

      Comment


      • #4
        Originally posted by Ropid View Post

        It basically is providing the same. The comments in the code say that the info about how to get the data out of the CPU hardware came from looking at zenpower's code.
        How did zenpower author implement it? Is it documented anywhere?

        Comment


        • #5
          Originally posted by shmerl View Post

          How did zenpower author implement it? Is it documented anywhere?
          look at: https://github.com/ocerman/zenpower/...ter/zenpower.c

          Comment


          • #6
            Originally posted by da_habakuk View Post
            Not so clear. It references Librehardware monitor and some experimental formulas. So sounds like partially reverse engineered? Not sure where Librehardware monitor got it.

            The main question is, why can't AMD provide patches for for k10temp with all this? It's totally something they should have been doing even before CPUs came out.

            Comment


            • #7
              Originally posted by Ropid View Post

              It basically is providing the same. The comments in the code say that the info about how to get the data out of the CPU hardware came from looking at zenpower's code.

              A difference is, this k10temp driver only shows voltage and current readings while the zenpower driver also shows a reading for power usage.

              I guess the power usage reading is left out because the hardware really only reports voltage and current. The zenpower driver calculates its power usage reading by multiplying the hardware's voltage and current readings.
              Nothing to really look forward to then :/

              Thank you very much!

              Comment


              • #8
                Originally posted by geearf View Post

                Nothing to really look forward to then :/

                Thank you very much!
                Other than proper upstream kernel integration and not betrothing out-of-tree stuff?

                Comment


                • #9
                  I can confirm it show something somewhat plausible on Ryzen 9 3950x: https://www.youtube.com/watch?v=SNwh9VgynK8

                  Comment


                  • #10
                    This allows core complex tie temperature reporting
                    Typo: I think you mean die.

                    Comment

                    Working...
                    X