Skip to contentSkip to conversation

coretemp readings are static/constant

lm-sensors Tom Metro 3 participants 4 messages Nov 19, 2013 – Nov 29, 2013

lore
Share & tools
lore

Tom Metro

author
#0 lore raw

UnVubmluZzoKCiUgc2Vuc29ycyAtdgpzZW5zb3JzIHZlcnNpb24gMy4zLjEgd2l0aCBsaWJzZW5z b3JzIHZlcnNpb24gMy4zLjEKCm9uIFVidW50dSAxMi4wNCBvbiBhbiBBY2VyIEFzcGlyZSA4OTMw RyBsYXB0b3Agd2l0aDoKCiUgY2F0IC9wcm9jL2NwdWluZm8gfCBmZ3JlcCBuYW1lCm1vZGVsIG5h bWUJOiBJbnRlbChSKSBDb3JlKFRNKTIgRHVvIENQVSAgICAgUDg0MDAgIEAgMi4yNkdIegptb2Rl bCBuYW1lCTogSW50ZWwoUikgQ29yZShUTSkyIER1byBDUFUgICAgIFA4NDAwICBAIDIuMjZHSHoK CmFuZCBJIHNlZToKCiUgc2Vuc29ycwphY3BpdHotdmlydHVhbC0wCkFkYXB0ZXI6IFZpcnR1YWwg ZGV2aWNlCnRlbXAxOiAgICAgICAgKzM4LjDCsEMgIChjcml0ID0gKzEwNi4wwrBDKQp0ZW1wMjog ICAgICAgICs0OC4wwrBDICAoY3JpdCA9ICsxMDYuMMKwQykKdGVtcDM6ICAgICAgICArNDguMMKw QyAgKGNyaXQgPSArMTA2LjDCsEMpCnRlbXA0OiAgICAgICAgKzQzLjDCsEMgIChjcml0ID0gKzEw Ni4wwrBDKQoKbm91dmVhdS1wY2ktMDEwMApBZGFwdGVyOiBQQ0kgYWRhcHRlcgp0ZW1wMTogICAg ICAgICs0OS4wwrBDICAoaGlnaCA9ICsxMDAuMMKwQywgY3JpdCA9ICsxMTAuMMKwQykKCmNvcmV0 ZW1wLWlzYS0wMDAwCkFkYXB0ZXI6IElTQSBhZGFwdGVyCkNvcmUgMDogICAgICAgKzMzLjDCsEMg IChoaWdoID0gKzEwNS4wwrBDLCBjcml0ID0gKzEwNS4wwrBDKQpDb3JlIDE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WxsIGl0IG1lYW5zIGlzIHRoYXQgeW91IGFyZSBm YXIgYXdheSBmcm9tIHRoZSAKICBjcml0aWNhbCBsaW1pdCBzbyB5b3VyIHN5c3RlbXMgYXJlIHJ1 bm5pbmcgdG90YWxseSBmaW5lIGFuZCBjb29sLi4uCgpTbyBkb2VzIHRoYXQgbWVhbiBpdCBpcyBl eHBlY3RlZCB0byBzZWUgYSBjb25zdGFudCAodG8gNSBkZWNpbWFsIHBsYWNlcykKdmFsdWUsIHVu dGlsIHRoZSBjb3JlcyBoZWF0IHVwIGJleW9uZCBzb21lIHRocmVzaG9sZD8gKElmIHNvLCBJJ2xs IGFkZCB0aGlzCnRvIHRoZSBGQVEuKQoKIC1Ub20KCgoKX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX18KbG0tc2Vuc29ycyBtYWlsaW5nIGxpc3QKbG0tc2Vuc29y c0BsbS1zZW5zb3JzLm9yZwpodHRwOi8vbGlzdHMubG0tc2Vuc29ycy5vcmcvbWFpbG1hbi9saXN0 aW5mby9sbS1zZW5zb3Jz

#1 lore raw

Hi Tom,

Quoted 49 lines · Tom Metro

Running:

% sensors -v
sensors version 3.3.1 with libsensors version 3.3.1

on Ubuntu 12.04 on an Acer Aspire 8930G laptop with:

% cat /proc/cpuinfo | fgrep name

model name	: Intel(R) Core(TM)2 Duo CPU     P8400  @ 2.26GHz
model name	: Intel(R) Core(TM)2 Duo CPU     P8400  @ 2.26GHz

and I see:

% sensors
acpitz-virtual-0

Adapter: Virtual device
temp1:        +38.0°C  (crit = +106.0°C)
temp2:        +48.0°C  (crit = +106.0°C)
temp3:        +48.0°C  (crit = +106.0°C)
temp4:        +43.0°C  (crit = +106.0°C)

nouveau-pci-0100
Adapter: PCI adapter
temp1: +49.0°C (high = +100.0°C, crit = +110.0°C)

coretemp-isa-0000

Adapter: ISA adapter
Core 0:       +33.0°C  (high = +105.0°C, crit = +105.0°C)
Core 1:       +33.0°C  (high = +105.0°C, crit = +105.0°C)

The values reported by coretemp are always 33000 millidegrees:

% sudo cat /sys/devices/platform/coretemp.0/temp2_input 33000

as observed over the course of a week. I have not tried to intentionally stress the CPU, but had assumed that if it was reading real values, I would have seen some variation.

However, I read in the FAQ:
http://lm-sensors.org/wiki/FAQ/Chapter3#coretempreturnsunrealisticvalues

It isn't really returning degrees Celsius. At high temperatures, the (small) thermal margin is almost expressed in degrees Celsius, but at low temperature, the (high) thermal margin is no longer expressed in actual degrees Celsius. So, if the temperature value reported by coretemp is unrealistically low, all it means is that you are far away from the critical limit so your systems are running totally fine and cool...

Quoted 3 lines

So does that mean it is expected to see a constant (to 5 decimal places) value, until the cores heat up beyond some threshold? (If so, I'll add this to the FAQ.)

Don't get fooled by the 5 decimal places, all drivers return values in millidegrees Celsius regardless of their accuracy and resolution. The coretemp resolution is 1 degree so you'll always see 000 as the last 3 digits.

You should really stress the CPU and see what happens. With really good cooling and no CPU load at all, it is possible for temperatures to stay stable within one degree Celsius.

Another possibility is that this particular incarnation of the sensors do not report values below 33°C. We know these sensors have poor accuracy at low temperatures, maybe Intel decided to not expose too low values to make them look plausible. In that case you'd see 33°C most of the time, as a floor measurement, with temperature peaks on high CPU load.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#2 lore raw
In reply to Tom Metro

Hi Jean,

Quoted 11 lines · Jean Delvare
Quoted 8 lines · Tom Metro

% sensors
[...]
coretemp-isa-0000

Adapter: ISA adapter
Core 0:       +33.0°C  (high = +105.0°C, crit = +105.0°C)
Core 1:       +33.0°C  (high = +105.0°C, crit = +105.0°C)

The values reported by coretemp are always 33000 millidegrees:

You should really stress the CPU and see what happens.

I ran:

% stress --cpu 2 --timeout 7200
stress: info: [14967] dispatching hogs: 2 cpu, 0 io, 0 vm, 0 hdd
stress: info: [14967] successful run completed in 7200s

And just to be sure, I also thew in a couple of these:

% dd bs=10 if=/dev/urandom | bzip2 -z -s -9 -c > /dev/null &

and let the latter run for 8 hours.

I saw some new peaks on the 'acpitz-virtual-0' sensors, but the 'coretemp-isa-0000' sensors didn't budge.

Quoted 2 lines

Another possibility is that this particular incarnation of the sensors do not report values below 33°C.

Right, that was the theory I was going on based on the FAQ entry I quoted. Apparently not the case here.

So this would appear to be a problem with the coretemp kernel module. This CPU (Intel Core 2 Duo P8400) is from the right era to be supported by coretemp. Where is the best place to go to file a bug against that module?

Thanks for the suggestions.

-Tom

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw
In reply to Tom Metro
Quoted 4 lines · Tom Metro

So this would appear to be a problem with the coretemp kernel module. This CPU (Intel Core 2 Duo P8400) is from the right era to be supported by coretemp. Where is the best place to go to file a bug against that module?

The driver reports what the hardware says. You may not like it but there's basically nothing we can do about it. I see no point in opening a bug about it. I think you have a CPU sample with broken DTS.

The only way I will change my opinion on this is if you run another OS on the very same system and you get other values for the DTS there. But really I doubt this will happen.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors