Menu

CPU temps for Ryzen

Webmin
2020-11-16
2020-11-16
  • Ralph Little

    Ralph Little - 2020-11-16

    Would it be possible to add a pattern match for CPU temperatures with the sensors label Tdie?
    I have done this for my Ryzen system but when I upgrade I have to make the change again.

    I just added another entry in linux-lib.pl:

                elsif (/Tdie:\s+([\+\-][0-9\.]+)/) {
                        $rxx++;
                        push(@rv, { 'core' => 0,
                                    'temp' => $1 });
                        }
    

    It shows "Core 1:" but I am cool with that.

     
  • Ilia

    Ilia - 2020-11-16

    Hi,

    What is the output of sensors command?

     
  • Ralph Little

    Ralph Little - 2020-11-16

    k10temp-pci-00c3
    Adapter: PCI adapter
    Tdie: +54.4°C (high = +70.0°C)
    Tctl: +54.4°C

    I have linux kernel 5.4.0-53

     

    Last edit: Ralph Little 2020-11-16
  • Ilia

    Ilia - 2020-11-16

    Is this the temperature of the CPU itself?

     
  • Ralph Little

    Ralph Little - 2020-11-16

    From what I gather from online resources, Tctl is the raw temperature detected at the heat spreader and Tdie is the proper computed value. On my machine they do seem to be the same. My understanding is that Tctl might have an offset which would need to be corrected.

    I am running the machine at 100% so the temperature seems pretty reasonable.

     

    Last edit: Ralph Little 2020-11-16
  • Ilia

    Ilia - 2020-11-16

    Is this complete sensors command output?

     
    • Ralph Little

      Ralph Little - 2020-11-16

      Yep, that's all I get for this machine after running the full probe. :(

      Ryzen 7 2700 CPU on MSI Tomahawk Max (b450)

       

      Last edit: Ralph Little 2020-11-16
  • Ilia

    Ilia - 2020-11-16
     
    • Ralph Little

      Ralph Little - 2020-11-16

      Seems to work!
      Thanks!

       
      👍
      1

      Last edit: Ralph Little 2020-11-16

Log in to post a comment.

MongoDB Logo MongoDB