Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2020 15:23:51 -0500
From:      mike tancsa <mike@sentex.net>
To:        bsd-lists@BSDforge.com, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Which AMD CPUs are supported -- temperature
Message-ID:  <2e023769-a71a-b83b-0050-6fef5f3c499d@sentex.net>
In-Reply-To: <ad5a6a2d15376e09855c18cac23e92fa@udns.ultimatedns.net>
References:  <ad5a6a2d15376e09855c18cac23e92fa@udns.ultimatedns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/12/2020 1:39 PM, Chris wrote:
> Hard as I try I can not get anything close to the actual temperature
> of the CPUs or cores while running on FreeBSD.
>     Family: Athlon X4
>     Manufacturer: AuthenticAMD
>
Not sure about the older Athlon CPUs, but the 2 generations of Ryzen's I
have seem correct as well as an APU

CPU: AMD GX-412TC SOC                                (998.17-MHz
K8-class CPU)
CPU: AMD Ryzen 7 3700X 8-Core Processor              (3593.33-MHz
K8-class CPU)
CPU: AMD Ryzen 7 2700X Eight-Core Processor          (3693.17-MHz
K8-class CPU)

e.g. at idle

# sysctl -a dev.cpu.0.temperature
dev.cpu.0.temperature: 31.1C

then start up

# cat /dev/urandom | openssl sha256

# sysctl -a dev.cpu.0.temperature
dev.cpu.0.temperature: 57.1C

It agrees with what IPMI reports too from the MB

 # ipmitool sensor | grep "CPU Temp"
CPU Temp         | 31.000     | degrees C  | ok    | na        |
na        | na        | 93.000    | 94.000    | na       

And on a fanless APU

# sysctl -a dev.cpu.0.temperature
dev.cpu.0.temperature: 62.6C

# sysctl -a dev.amdtemp.0.core0.sensor0
dev.amdtemp.0.core0.sensor0: 63.1C

    ---Mike





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2e023769-a71a-b83b-0050-6fef5f3c499d>