Temperature reporting
-
Hi,
The question is about how pfSense/freebsd is reporting CPU temperature.
For example in the GUI I see for each core like 52.0C .it perfectly matches what sysctl is producing:
sysctl -a | grep temperature
hw.acpi.thermal.tz1.temperature: 29.9C
hw.acpi.thermal.tz0.temperature: 27.9C
dev.cpu.3.temperature: 53.0C
dev.cpu.2.temperature: 53.0C
dev.cpu.1.temperature: 52.0C
dev.cpu.0.temperature: 52.0Cbut the question is why this is giving different result:
sysctl -n dev.cpu.0.temperature
47.0C47 vs 52 ? Completely normal phenonemon ?
BR,
Gregory -
The ACPI thermal zones are likely not on the CPU die like the
dev.cpu
ones are. They are probably other chipsets or ambient case temps. Check your board/BIOS docs. -
@jimp said in Temperature reporting:
The ACPI thermal zones are likely not on the CPU die like the
But Jim,
those are literally same sysctl keys,
dev.cpu.0.temperature: 52.0C
vs
47.0CJust one is taken via grep, and one directly via -n key
That I dont understnand. If the sysctl keys could be different then agree.
-
Then the temp must be different at those times.
sysctl -a
can generate a little extra load since it's generating and outputting the entire sysctl oid tree.Whereas
sysctl -n <oid>
is only querying a single OID. -
I tried it on a test box here and it's the same.
: sysctl -a | grep 'dev.cpu.0.temperature' dev.cpu.0.temperature: 25.0C : sysctl -n dev.cpu.0.temperature 25.0C
-
@jimp Tried that also and got 63 for both.