* [gentoo-amd64] Turion64 X2 k8temp temperatures.
@ 2007-11-03 19:16 Ângelo Miguel Arrifano
2007-11-03 19:37 ` Bob Slawson
2007-11-03 19:38 ` Beso
0 siblings, 2 replies; 6+ messages in thread
From: Ângelo Miguel Arrifano @ 2007-11-03 19:16 UTC (permalink / raw
To: gentoo-amd64
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello everybody,
I own a Turion64 X2 1.8Ghz and I have my k8 sensor module for getting CPU temperatures.
I wanna ask if these temperatures looks OK to you.
Temperatures while compiling stuff with both cores @ 1.8Ghz and 100% usage:
# cat /sys/devices/pci0000:00/0000:00:18.3/temp1_input
67000
# cat /sys/devices/pci0000:00/0000:00:18.3/temp3_input
73000
Temperatures while idle:
# cat /sys/devices/pci0000:00/0000:00:18.3/temp1_input
46000
# cat /sys/devices/pci0000:00/0000:00:18.3/temp3_input
53000
This is a laptop with a tiny fan and 53º C while processor is idle is understandable since cooler is on passive mode
most of time. But 73º C looks way too much for me.
Also my ACPI doesn't provide me any thermal information and doing so I have no
processor trip_points to get system rebooted or processor throttled if temperature is too high.
Also when booting linux I get this:
ACPI Exception (thermal-0311): AE_BUFFER_OVERFLOW, No critical threshold [20070126]
I made a simple daemon to scale cpu frequency in case temperature exceeds a predefined threshold.
Although my question is if these temperatures looks correct and I should trust them.
My room temperature is 21º C.
Greetings,
- --
Angelo Arrifano AKA MiKNiX
CSE Student at UBI, Portugal
Gentoo Linux AMD64 Arch Tester
miknix@gmail.com
http://miknix.homelinux.com
PGP Pubkey online
- - -
The most common given name in the world is Mohammad; the most common
family name in the world is Chang. Can you imagine the enormous number
of people in the world named Mohammad Chang?
-- Derek Wills
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHLMkZNahyoD2SuwsRAn3pAKCFdSMjbNyOgqt1PLAYareSooAdNwCgrIu1
SaF9bVhqGg+ezSZwSiqel2g=
=Eb01
-----END PGP SIGNATURE-----
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-amd64] Turion64 X2 k8temp temperatures.
2007-11-03 19:16 [gentoo-amd64] Turion64 X2 k8temp temperatures Ângelo Miguel Arrifano
@ 2007-11-03 19:37 ` Bob Slawson
2007-11-03 21:12 ` Ângelo Miguel Arrifano
2007-11-27 13:48 ` Ângelo Miguel Arrifano
2007-11-03 19:38 ` Beso
1 sibling, 2 replies; 6+ messages in thread
From: Bob Slawson @ 2007-11-03 19:37 UTC (permalink / raw
To: gentoo-amd64
Ângelo Miguel Arrifano wrote:
> I made a simple daemon to scale cpu frequency in case temperature exceeds a predefined threshold.
> Although my question is if these temperatures looks correct and I should trust them.
No. These are not _physical_ temperatures and, last time I looked, AMD did not
provide a calibration between these and the real world. The numbers seem to be
at least 15C above a reasonable CPU die cover temperature on my Opteron 250s:
I've seen them hit 80 according to k8temp on a hot day under full load without
throttling back whereas 65 C or so is the recommended limit.
BobS
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-amd64] Turion64 X2 k8temp temperatures.
2007-11-03 19:16 [gentoo-amd64] Turion64 X2 k8temp temperatures Ângelo Miguel Arrifano
2007-11-03 19:37 ` Bob Slawson
@ 2007-11-03 19:38 ` Beso
2007-11-03 21:07 ` Ângelo Miguel Arrifano
1 sibling, 1 reply; 6+ messages in thread
From: Beso @ 2007-11-03 19:38 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 4179 bytes --]
This is a laptop with a tiny fan and 53º C while processor is idle is
understandable since cooler is on passive mode
most of time. But 73º C looks way too much for me.
this for me seems the thermal zone, and not the core temperature...
anyway, install a monitoring daemon (kima for kde is very light/good and
integrates into the kicker) or any other like ksensors or others (i don't
know the gnome ones since i completely dislike gnome but there are a lot of
superkaramba widgets to do this) and see there your effective temp.
there you should see:
the core temp. mine turion 64 single core go from 30-35° idle to 60-65° C
when at max speed and max load.
the thermal goes from 58° when the fan starts to 75° when the processor goes
in passive mode decreasing speed for avoiding overheating problems. at 105
it shuts down.
now, i've heard that dualcores can have a temp of 5 to 10° higher than the
single cores, but i don't know if this is really true.
anyway, how do you know that that 2 devices are effectively the processor?!
your problem is that acpi doesn't get the processor states. if it doesn't
provide you with trip points in /proc/acpi/thermal/thrmx/trip_points then
you have an acpi problem. this may be caused by bios or by wrong kernel
config.
make sure that your thermal is compiled and started and that your bios is ok
reading and doing this:
http://gentoo-wiki.com/HOWTO_Fix_Common_ACPI_Problems
the steps needed are the ones till you recompile the dsdt and see if the
compiler raises errors. if it does then you might have a bios problem. try
to fix it according the infos there and recompile.
if the bios is ok or the fixed one doesn't make the processor work with the
latest kernel then search on the kernel.org the acpi bugzilla or the mailing
list and report there your problem. they could help you fix it or they could
patch the actual acpi to make this work.
if you have an acer notebook, this might be the problem, since i've
encountered many acer laptops that don't read the thermal correctly.
2007/11/3, Ângelo Miguel Arrifano <miknix@gmail.com>:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello everybody,
>
> I own a Turion64 X2 1.8Ghz and I have my k8 sensor module for getting CPU
> temperatures.
> I wanna ask if these temperatures looks OK to you.
>
> Temperatures while compiling stuff with both cores @ 1.8Ghz and 100%
> usage:
> # cat /sys/devices/pci0000:00/0000:00:18.3/temp1_input
> 67000
> # cat /sys/devices/pci0000:00/0000:00:18.3/temp3_input
> 73000
>
> Temperatures while idle:
> # cat /sys/devices/pci0000:00/0000:00:18.3/temp1_input
> 46000
> # cat /sys/devices/pci0000:00/0000:00:18.3/temp3_input
> 53000
>
> This is a laptop with a tiny fan and 53º C while processor is idle is
> understandable since cooler is on passive mode
> most of time. But 73º C looks way too much for me.
>
> Also my ACPI doesn't provide me any thermal information and doing so I
> have no
> processor trip_points to get system rebooted or processor throttled if
> temperature is too high.
>
> Also when booting linux I get this:
> ACPI Exception (thermal-0311): AE_BUFFER_OVERFLOW, No critical threshold
> [20070126]
>
> I made a simple daemon to scale cpu frequency in case temperature exceeds
> a predefined threshold.
> Although my question is if these temperatures looks correct and I should
> trust them.
>
> My room temperature is 21º C.
>
> Greetings,
> - --
> Angelo Arrifano AKA MiKNiX
> CSE Student at UBI, Portugal
> Gentoo Linux AMD64 Arch Tester
> miknix@gmail.com
> http://miknix.homelinux.com
> PGP Pubkey online
>
> - - -
> The most common given name in the world is Mohammad; the most common
> family name in the world is Chang. Can you imagine the enormous number
> of people in the world named Mohammad Chang?
> -- Derek Wills
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
>
> iD8DBQFHLMkZNahyoD2SuwsRAn3pAKCFdSMjbNyOgqt1PLAYareSooAdNwCgrIu1
> SaF9bVhqGg+ezSZwSiqel2g=
> =Eb01
> -----END PGP SIGNATURE-----
> --
> gentoo-amd64@gentoo.org mailing list
>
>
--
dott. ing. beso
[-- Attachment #2: Type: text/html, Size: 4822 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-amd64] Turion64 X2 k8temp temperatures.
2007-11-03 19:38 ` Beso
@ 2007-11-03 21:07 ` Ângelo Miguel Arrifano
0 siblings, 0 replies; 6+ messages in thread
From: Ângelo Miguel Arrifano @ 2007-11-03 21:07 UTC (permalink / raw
To: gentoo-amd64
On Sat, 3 Nov 2007 20:38:16 +0100
Beso <givemesugarr@gmail.com> wrote:
>> This is a laptop with a tiny fan and 53º C while processor is idle is
>> understandable since cooler is on passive mode
>> most of time. But 73º C looks way too much for me.
> this for me seems the thermal zone, and not the core temperature...
No, they are core temperatures:
#ls /sys/bus/pci/drivers/k8temp
0000:00:18.3 bind new_id unbind
/\
Also if you read k8temp doc in kernel src:
"Mapping of /sys files is as follows:
temp1_input - temperature of Core 0 and "place" 0
temp2_input - temperature of Core 0 and "place" 1
temp3_input - temperature of Core 1 and "place" 0
temp4_input - temperature of Core 1 and "place" 1"
So I'm sure /sys/devices/pci0000:00/0000:00:18.3/temp1_input is a core temperature.
> anyway, install a monitoring daemon (kima for kde is very light/good and
> integrates into the kicker) or any other like ksensors or others (i don't
> know the gnome ones since i completely dislike gnome but there are a lot of
> superkaramba widgets to do this) and see there your effective temp.
> there you should see:
> the core temp. mine turion 64 single core go from 30-35° idle to 60-65° C
> when at max speed and max load.
> the thermal goes from 58° when the fan starts to 75° when the processor goes
> in passive mode decreasing speed for avoiding overheating problems. at 105
> it shuts down.
They are just a frontend to lm_sensors which, in place, for k8temp sensor gets values from sysfs.
Values provided by lm_sensors are basically the same as /sys/devices/pci0000:00/0000:00:18.3/tempX_input
> now, i've heard that dualcores can have a temp of 5 to 10° higher than the
> single cores, but i don't know if this is really true.
> anyway, how do you know that that 2 devices are effectively the processor?!
# lspci -v -s 00:18.3
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
/\
> your problem is that acpi doesn't get the processor states. if it doesn't
> provide you with trip points in /proc/acpi/thermal/thrmx/trip_points then
> you have an acpi problem. this may be caused by bios or by wrong kernel
> config.
> make sure that your thermal is compiled and started and that your bios is ok
> reading and doing this:
> http://gentoo-wiki.com/HOWTO_Fix_Common_ACPI_Problems
> the steps needed are the ones till you recompile the dsdt and see if the
> compiler raises errors. if it does then you might have a bios problem. try
> to fix it according the infos there and recompile.
I have processor states working and thermal_acpi is built into kernel.
I've already fixed some dsdt problems but they were not related to thermal management,
maybe this laptop ACPI doesn't have thermal management at all.
> if the bios is ok or the fixed one doesn't make the processor work with the
> latest kernel then search on the kernel.org the acpi bugzilla or the mailing
> list and report there your problem. they could help you fix it or they could
> patch the actual acpi to make this work.
> if you have an acer notebook, this might be the problem, since i've
> encountered many acer laptops that don't read the thermal correctly.
The strange thing is that this laptop ACPI do have an OSI specification for Linux, it should
be fairly compatible with it.
> --
> dott. ing. beso
>
--
Angelo Arrifano AKA MiKNiX
CSE Student at UBI, Portugal
Gentoo Linux AMD64 Arch Tester
miknix@gmail.com
http://miknix.homelinux.com
PGP Pubkey online
- -
People of privilege will always risk their complete destruction
rather than surrender any material part of their advantage.
-- John Kenneth Galbraith
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-amd64] Turion64 X2 k8temp temperatures.
2007-11-03 19:37 ` Bob Slawson
@ 2007-11-03 21:12 ` Ângelo Miguel Arrifano
2007-11-27 13:48 ` Ângelo Miguel Arrifano
1 sibling, 0 replies; 6+ messages in thread
From: Ângelo Miguel Arrifano @ 2007-11-03 21:12 UTC (permalink / raw
To: gentoo-amd64
On Sat, 03 Nov 2007 15:37:02 -0400
Bob Slawson <bslawson@frontiernet.net> wrote:
> Ângelo Miguel Arrifano wrote:
>
> > I made a simple daemon to scale cpu frequency in case temperature exceeds a predefined threshold.
> > Although my question is if these temperatures looks correct and I should trust them.
>
> No. These are not _physical_ temperatures and, last time I looked, AMD did not
> provide a calibration between these and the real world. The numbers seem to be
> at least 15C above a reasonable CPU die cover temperature on my Opteron 250s:
> I've seen them hit 80 according to k8temp on a hot day under full load without
> throttling back whereas 65 C or so is the recommended limit.
>
> BobS
>
>
> --
> gentoo-amd64@gentoo.org mailing list
>
15C above a reasonable CPU temperature seems alright for me.
In that case I wont use the daemon.. And just trust CPU overtemperature protection in case
CPU temperature gets too high :D
Thanks!
PS: For those who might be reading, I'm with a HP dv6535ep laptop.
--
Angelo Arrifano AKA MiKNiX
CSE Student at UBI, Portugal
Gentoo Linux AMD64 Arch Tester
miknix@gmail.com
http://miknix.homelinux.com
PGP Pubkey online
- -
There is no sincerer love than the love of food.
-- George Bernard Shaw
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-amd64] Turion64 X2 k8temp temperatures.
2007-11-03 19:37 ` Bob Slawson
2007-11-03 21:12 ` Ângelo Miguel Arrifano
@ 2007-11-27 13:48 ` Ângelo Miguel Arrifano
1 sibling, 0 replies; 6+ messages in thread
From: Ângelo Miguel Arrifano @ 2007-11-27 13:48 UTC (permalink / raw
To: gentoo-amd64
Hello all,
I could fix the THRM zone on my DSDT. I'm now able to read CPU temperature through ACPI.
Looking at reported ACPI temperature (IDLE):
$ cat /proc/acpi/thermal_zone/THRM/temperature
temperature: 27 C
Now looking at core temperatures (IDLE):
$ cat /sys/class/hwmon/hwmon0/device/temp1_input
26000
$ cat /sys/class/hwmon/hwmon0/device/temp3_input
36000
Herem the k8 temp1 is always very close to the ACPI temperature even while CPU is at full load.
Greetings,
--
Angelo Arrifano AKA MiKNiX
CSE Student at UBI, Portugal
Gentoo Linux AMD64 Arch Tester
miknix@gmail.com
http://miknix.homelinux.com
PGP Pubkey online
- -
Renning's Maxim:
Man is the highest animal. Man does the classifying.
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-11-27 13:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-03 19:16 [gentoo-amd64] Turion64 X2 k8temp temperatures Ângelo Miguel Arrifano
2007-11-03 19:37 ` Bob Slawson
2007-11-03 21:12 ` Ângelo Miguel Arrifano
2007-11-27 13:48 ` Ângelo Miguel Arrifano
2007-11-03 19:38 ` Beso
2007-11-03 21:07 ` Ângelo Miguel Arrifano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox