Solved AMD EPYC: How to get dev.cpu.X information?

Hi,

I am currently experimenting with an AMD EPYC 7302 on a two-sockets systems with FreeBSD 11.3.
I was expecting to see some information about CPUs in sysctl dev.cpu, but it entirely empty.

Code:
# sysctl -a dev.cpu
sysctl: unknown oid 'dev.cpu'

What do I have to do to get access to this sysctl information for my CPUs?
I am especially interested in the temperature and the frequency that I found there in my other systems.

Thanks!
 
acheron Thanks for your answer. I see the code in 11.3 as well. Do you mean to say that I need amdtemp support for zen2 for the dev.cpu.X.temperature support?

So, I guess it's the same for dev.cpu.X.freq_levels? I need to upgrade to 12-stable or -current?
 
12-STABLE it is then, I see it was MFC'ed just after 12.1-RELEASE.
 
Thanks to all for your answers! It seems 11.3 is not yet fully ready for Zen2. We will do again the test once we port to 12.
 
I am not sure this is related to the issue, but, FTR, a patch that implements the CPU description by an ACPI device object was merge into 11-Stable few days ago.
The commit message says that this should fix support some AMD Epyc / Poweredge boards.
 
Back
Top