system freezes for 0.2 to 0.5 seconds when reading /proc/acpi/thermal_zone/THRM/temperature
Hello,
first of all, sorry for the long headline.
second:
Every time, i try to do the following:
cat /proc/acpi/thermal_zone/THRM/temperature
the whole system looks up for a short period of time (something about 0.5s). realy everything, video and audio encoding, mouse and keyboard input, firefox playing a flash animation, ...
I am also getting the following:
Losing some ticks... checking if CPU frequency changed.
maybe these two things are belonging to each other.
I am using a 2.6.12-rc3-mm1 kernel on a amd64 with a nvidia nforce4 mainboard.
kind regards
flo
Signature · 2 lines
"I may have invented it, but Bill made it famous" David Bradley, who invented the (in)famous ctrl-alt-del key combination
Quoted 13 lines · Florian Engelhardt
Hello,
first of all, sorry for the long headline.
second:
Every time, i try to do the following:
cat/proc/acpi/thermal_zone/THRM/temperature
the whole system looks up for a short period of time (something about 0.5s). realy everything, video and audio encoding, mouse and keyboard input, firefox playing a flash animation, ...
I am also getting the following:
Losing some ticks... checking if CPU frequency changed.
Quoted 4 lines
maybe these two things are belonging to each other.
I am using a 2.6.12-rc3-mm1 kernel on a amd64 with a nvidia nforce4 mainboard.
It might help if you were to generate a kernel profile:
readprofile -r
for i in $(seq 10)
do
cat /proc/acpi/thermal_zone/THRM/temperature
done
readprofile -n -v -m /boot/System.map | sort -n +2 | tail -40
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Hello,
Quoted 14 lines · On Wed, 27 Jul 2005 16:16:05 -0700 Andrew Morton <[email protected]> wrote:
Quoted 13 lines · Florian Engelhardt
Hello,
first of all, sorry for the long headline.
second:
Every time, i try to do the following:
cat/proc/acpi/thermal_zone/THRM/temperature
the whole system looks up for a short period of time (something about 0.5s). realy everything, video and audio encoding, mouse and keyboard input, firefox playing a flash animation, ... I am also getting the following:
Losing some ticks... checking if CPU frequency changed.
Quoted 8 lines
Quoted 4 lines
maybe these two things are belonging to each other.
I am using a 2.6.12-rc3-mm1 kernel on a amd64 with a nvidia nforce4 mainboard.
It might help if you were to generate a kernel profile:
readprofile -r
returns:/proc/profile: No such file or directory
do i have to activate something special during kernel configuration?
btw: i saw that mm2 is available. Are there any changes in it, which could solve this problem?
flo
Quoted 7 lines
for i in $(seq 10)
do
cat/proc/acpi/thermal_zone/THRM/temperature
done
readprofile -n -v -m/boot/System.map| sort -n +2 | tail -40
Signature · 2 lines
"I may have invented it, but Bill made it famous" David Bradley, who invented the (in)famous ctrl-alt-del key combination
Quoted 25 lines · Florian Engelhardt
Hello,
Quoted 19 lines · On Wed, 27 Jul 2005 16:16:05 -0700 Andrew Morton…
Quoted 17 lines · Florian Engelhardt
Hello,
first of all, sorry for the long headline.
second:
Every time, i try to do the following:
cat/proc/acpi/thermal_zone/THRM/temperature
the whole system looks up for a short period of time (something about 0.5s). realy everything, video and audio encoding, mouse and keyboard input, firefox playing a flash animation, ... I am also getting the following:
Losing some ticks... checking if CPU frequency changed.maybe these two things are belonging to each other.
I am using a 2.6.12-rc3-mm1 kernel on a amd64 with a nvidia nforce4 mainboard.
Quoted 8 lines
Quoted 3 lines
It might help if you were to generate a kernel profile:
readprofile -r
returns:
/proc/profile: No such file or directorydo i have to activate something special during kernel configuration?
Set CONFIG_PROFILING=y
Quoted 2 lines
btw: i saw that mm2 is available. Are there any changes in it, which could solve this problem?
Well there's a huge ACPI patch in there, but I cannot say whether it addresses this problem.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
I get the same short freezes with
cat /proc/acpi/battery/*/{state,info}
and also with the 'acpi' command-line tool. I'm about to try the the suggested kernel profiling with -mm3 and will report the results.
Meanwhile:
Quoted 3 lines
Quoted 2 lines
Quoted 1 line
readprofile -r
do i have to activate something special during kernel configuration?
Set
CONFIG_PROFILING=y
That confuses me. For readprofile support,Documentation/basic_profiling.txt says
Add "profile=2" to the kernel command line.
For Oprofile support it says:
Configure with CONFIG_PROFILING=y and CONFIG_OPROFILE=y
The two together suggest that CONFIG_PROFILING shouldn't be needed for readprofile.
-Sanjoy
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello,
Quoted 14 lines · On Wed, 27 Jul 2005 16:16:05 -0700 Andrew Morton…
Quoted 13 lines · Florian Engelhardt
Hello,
first of all, sorry for the long headline.
second:
Every time, i try to do the following:
cat/proc/acpi/thermal_zone/THRM/temperature
the whole system looks up for a short period of time (something about 0.5s). realy everything, video and audio encoding, mouse and keyboard input, firefox playing a flash animation, ... I am also getting the following:
Losing some ticks... checking if CPU frequency changed.
Quoted 8 lines
Quoted 4 lines
maybe these two things are belonging to each other.
I am using a 2.6.12-rc3-mm1 kernel on a amd64 with a nvidia nforce4 mainboard.
It might help if you were to generate a kernel profile:
readprofile -r
returns:/proc/profile: No such file or directory
do i have to activate something special during kernel configuration?
btw: i saw that mm2 is available. Are there any changes in it, which could solve this problem?
flo
Quoted 7 lines
for i in $(seq 10)
do
cat/proc/acpi/thermal_zone/THRM/temperature
done
readprofile -n -v -m/boot/System.map| sort -n +2 | tail -40
Signature · 9 lines
"I may have invented it, but Bill made it famous" David Bradley, who invented the (in)famous ctrl-alt-del key combination ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf