All of lore.kernel.org
 help / color / mirror / Atom feed
From: r.marek@assembler.cz (Rudolf Marek)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] About the "CPU temp" output of ADM1025A chip
Date: Sun, 22 Oct 2006 20:26:12 +0000	[thread overview]
Message-ID: <453BD3E4.8070509@assembler.cz> (raw)
In-Reply-To: <2ca62ec0610211255g3a2f7866me6fb15f372246014@mail.gmail.com>

Hi Yongkui,

> Thanks very much for your help.

Well always good to hear it. Unfortunately I have not so much free time recently 
for this kind of lm-sensors support stuff.

> The pin numbers for the thermal diode in the Pentium 4 CPU are H38 and 
> E39. I think the PIN 9 and 10 of ADM1025A chip are connected to the PIN 
> H38 and E39 of the Pentium 4 CPU. So the temperature output "CPU Temp" 
> from lm-sensors should be the temprature reading of this thermal diode.

Good.

> The datasheet of my Pentium 4 CPU is here:
> http://www.intel.com/design/pentium4/datashts/249198.htm
> ftp://download.intel.com/design/Pentium4/datashts/24919805.pdf
>  
>  
> A picture for my CPU chip and the ADM1025A chip is attached. You can see 
> in the picture that the ADM1025A chip sits close to the Pentium 4 CPU 
> chip (the top-right location).

It should be so - the analog lines are as shortest as possible.

> The followings are some observations from my experiments with lm-sensors:
> -----------------------------------
> The operating system is idle: CPU5C, M/B4C.
> I run many CPU-intensive programs to see how high the CPU temperature 
> can reach.
> The highest temperature I observed are: CPUUC, M/BGC
> The largest temperature difference between CPU and M/B is 8C.
> It takes about 8 minutes for the CPU temp to reach 55C, and then stay at 
> 55C. This means it reached its steady state temperature.

Hmm this indicates perhaps the thermistor instead of the diode. It takes too 
long. The core temperature should grow very very fast. But if the pins are 
connected to the socket it must be diode. (and it seems that the chip is for 
diode only)

> I expect the CPU temperature could reach 80C or 90C for some 
> CPU-intensive programs. But unfortunatly, 55C is the highest temperature 
> I observed so far. 55C is not so high in my opinion, why the CPU 
> temperature cannot reach 80C or 90C? The critical temperature for the 
> Pentium 4 CPU chip to shut down is 135C. 

Yes true.

> Now I am wondering where this thermal diode is located inside the 
> Pentium 4 CPU. Is this thermal diode located near the Integer Register 
> unit, or near the Floating-point Multiplication unit,  or near the Level 
> 2 Cache unit? You know, there is a large temperature difference between 
> two different locations on the CPU chip.

Well this is not known. If some parts get too hot the CPU  might throttle a bit 
to cool down. Maybe you could try the "cpuburn" software.
http://packages.debian.org/unstable/misc/cpuburn.html
(for debian)

> Do you have any hints about the thermal diode location in the Pentium 4 
> CPU chip?

No but you may take a look to: Intel? 64 and IA-32 Architectures Software 
Developer's Manual, Volume 3A: System Programming Guide describes the 
operating-system support environment of an IA-32 and Intel? 64 architectures, 
including: memory management, protection, task management, interrupt and 
exception handling, multi-processor support, and thermal and power management 
features.

There are some notes and stuff about the thermal monitor (the digital sensor 
have core/core2 cpus so perhaps not yours)

http://www.intel.com/design/pentium4/manuals/index_new.htm

All in all there is more then one temperature sensor, sometimes there is digital 
temperature sensor, and even the diode is locate on other place...


You may check the "IA32_THERM_STATUS MSR" via MSR reads (/dev/msr/...)
http://www.google.com/codesearch?q=+rdmsr.c+show:EynqVEYBclg:kdySSoK4L6Y:chKAG6mOivc&sa=N&cd=1&ct=rc&cs_p=http://www.stillhq.com/extracted/x86info-wx.tgz&cs_f=x86info-wx/x86info-1.11/rdmsr.c#a0

To sum it up. You need some cpuburn to burn the cpu. Then the temp should grow 
quickly. Using the MSR you may check if the CPU defend itself when too hot.

I hope it will help you during your experiments. If you burn the CPU to dead ;), 
buy Core 2 CPU it has the embedded temperature sensor (and I wrote the driver 
recently)

Regards
Rudolf


  parent reply	other threads:[~2006-10-22 20:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-21 19:55 [lm-sensors] About the "CPU temp" output of ADM1025A chip Yongkui Han
2006-10-22 11:06 ` Rudolf Marek
2006-10-22 20:26 ` Rudolf Marek [this message]
2006-10-23  2:43 ` Yongkui Han
2006-10-23 16:48 ` Yongkui Han
2006-10-23 18:35 ` Rudolf Marek
2006-10-24 14:46 ` Yongkui Han
2006-10-25 15:27 ` Yongkui Han
2006-10-25 16:04 ` Yongkui Han
2006-10-30 17:49 ` Yongkui Han
2006-11-05 12:16 ` Rudolf Marek
2006-11-06 15:24 ` Yongkui Han

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=453BD3E4.8070509@assembler.cz \
    --to=r.marek@assembler.cz \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.