Re: Is /proc/acpi/thermal_zone/THM0/temperature reliable?



On Mon, 28 Apr 2008, in the Usenet newsgroup comp.os.linux.hardware, in article
<1470d781-dab6-462f-9ae8-c6e62a980f46@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, Yong Huang
wrote:

NOTE: Posting from groups.google.com (or some web-forums) dramatically
reduces the chance of your post being seen. Find a real news server.

$ uname -a
Linux <hostname> 2.6.9-55.EL #1 SMP Fri Apr 20 16:30:19 EDT 2007 ia64
ia64 ia64 GNU/Linux

cat /etc/*release /etc/*version

$ cat /proc/acpi/thermal_zone/THM0/temperature
temperature: 27 C

That looks good. But I've monitored it for a few weeks once per minute
on four servers that have the same hardware. The temperature is always
27C. That makes me wonder if the number is really the actual
measurement.

HIGHLY unlikely.

# rpm -qa | grep lm_sensors
#

I take that to mean the lm_sensors packages are not installed.

You'll want to read the Intel documentation on the temperature sensing
diode in the CPU, and documentation from your motherboard and/or chipset
supplier to read about the on-board thermal sensors (thermistors).

BRIEFLY - neither is "accurate". The CPU temperatures are measured as
a voltage drop across a diode passing a specified amount of current.
How accurate is the current "set"? How accurately is the voltage drop
measured? The answer is that nothing is checked, other than a gross "is
it alive" type of check. Accuracy is dependent on how accurately the
materials were fabricated. The best you can do is make relative
measurements - it was 33C at idle yesterday when the room temperature
was 25C/77F, and today it reads <mumble>. Further, the CPU temp is
the local temperature at a point on the die - it's not the hottest
or coolest point. As far as the other (non-CPU) temperatures,
the absolute accuracy is even worse, as the thing they are looking at
(the change in resistance of a blob of metal oxides verses ambient
temperature) depends on the mixture of those oxides, the amount of
oxides, the composition of the mechanical coating that is used to
package the device. The resistance at a reference temperature (usually
25C) is subject to a 10 to 20 percent tolerance, and the rate at which
the resistance changes is subject to a similar additional tolerance.

The manufacturers can only afford to see that the devices are "alive".
The cost of actually testing the accuracy is far to much for a consumer
product - never mind actually calibrating things to some specification
of accuracy.

Bottom line - don't look at absolute values. Look at changes in the
reported values.

Old guy
.



Relevant Pages

  • Re: Reporting Data 1-Way-Out?
    ... I have a few IIGS machines, so for my first pilot project I wanted to ... Windspeed is a natural for a pulse period/rate measurement, ... As noted earlier, the resistance is a nonlinear function of temperature, ...
    (comp.sys.apple2)
  • Re: The Alleged Poor State of Homeroasted Coffee
    ... think no thought has gone into any of the temperature measurement ... threads over on homebarista.com having to do with the measurement device I ... temporally associated with when one is pulling straight shots). ... This Scace device measures only one thing, which is the brew water ...
    (alt.coffee)
  • Re: OT: Global Warming Again?
    ... How is that average temperature measured? ... that little of the world is too far from a measurement point to ... reasonably construct an average surface level atmosphere temperature. ... The only opinion I'm holding is that it is unproven, ...
    (sci.electronics.design)
  • Re: P5WD2 deluxe + Pentium D 830
    ... However, under full load, the Asus temp tool ... the temperature read by the Asus tool ... PDF page 31 shows a typical measurement circuit. ... CPU speed until you see throttling. ...
    (alt.comp.periphs.mainboard.asus)
  • Re: Roberts versus Lazio on "Overaveraging"
    ... >> How do you measure the temperate of a star, ... >> measurement affect the star? ... What I want to know is why measuring the star's temperature ... energy is transferred to the thermocouple. ...
    (sci.astro)