public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: system freezes for 0.2 to 0.5 seconds when reading /proc/acpi/thermal_zone/THRM/temperature
       [not found] <20050728002244.5163ac4a@localhost>
@ 2005-07-27 23:16 ` Andrew Morton
  2005-07-28  6:49   ` Florian Engelhardt
       [not found]   ` <20050727161605.5711fcf7.akpm-3NddpPZAyC0@public.gmane.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Andrew Morton @ 2005-07-27 23:16 UTC (permalink / raw)
  To: Florian Engelhardt
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Florian Engelhardt <flo-MALAOO1t6vMdnm+yROfE0A@public.gmane.org> wrote:
>
> 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.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: system freezes for 0.2 to 0.5 seconds when reading /proc/acpi/thermal_zone/THRM/temperature
  2005-07-27 23:16 ` system freezes for 0.2 to 0.5 seconds when reading /proc/acpi/thermal_zone/THRM/temperature Andrew Morton
@ 2005-07-28  6:49   ` Florian Engelhardt
  2005-07-28  6:56     ` Andrew Morton
       [not found]   ` <20050727161605.5711fcf7.akpm-3NddpPZAyC0@public.gmane.org>
  1 sibling, 1 reply; 5+ messages in thread
From: Florian Engelhardt @ 2005-07-28  6:49 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, acpi-devel

Hello,

On Wed, 27 Jul 2005 16:16:05 -0700
Andrew Morton <akpm@osdl.org> wrote:

> Florian Engelhardt <flo@dotbox.org> wrote:
> >
> > 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.
> 
> 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

> 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
> 
> 


-- 
"I may have invented it, but Bill made it famous"
David Bradley, who invented the (in)famous ctrl-alt-del key combination

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: system freezes for 0.2 to 0.5 seconds when reading /proc/acpi/thermal_zone/THRM/temperature
  2005-07-28  6:49   ` Florian Engelhardt
@ 2005-07-28  6:56     ` Andrew Morton
       [not found]       ` <20050727235625.028b7728.akpm-3NddpPZAyC0@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Morton @ 2005-07-28  6:56 UTC (permalink / raw)
  To: Florian Engelhardt
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Florian Engelhardt <flo-MALAOO1t6vMdnm+yROfE0A@public.gmane.org> wrote:
>
> Hello,
> 
> On Wed, 27 Jul 2005 16:16:05 -0700
> Andrew Morton <akpm-3NddpPZAyC0@public.gmane.org> wrote:
> 
> > Florian Engelhardt <flo-MALAOO1t6vMdnm+yROfE0A@public.gmane.org> wrote:
> > >
> > > 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.
> > 
> > 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?

Set CONFIG_PROFILING=y

> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: system freezes for 0.2 to 0.5 seconds when reading /proc/acpi/thermal_zone/THRM/temperature
       [not found]   ` <20050727161605.5711fcf7.akpm-3NddpPZAyC0@public.gmane.org>
@ 2005-07-28  7:00     ` Florian Engelhardt
  0 siblings, 0 replies; 5+ messages in thread
From: Florian Engelhardt @ 2005-07-28  7:00 UTC (permalink / raw)
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello,

On Wed, 27 Jul 2005 16:16:05 -0700
Andrew Morton <akpm-3NddpPZAyC0@public.gmane.org> wrote:

> Florian Engelhardt <flo-MALAOO1t6vMdnm+yROfE0A@public.gmane.org> wrote:
> >
> > 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.
> 
> 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

> 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
> 
> 


-- 
"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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Re: system freezes for 0.2 to 0.5 seconds when reading /proc/acpi/thermal_zone/THRM/temperature
       [not found]       ` <20050727235625.028b7728.akpm-3NddpPZAyC0@public.gmane.org>
@ 2005-07-28 15:45         ` Sanjoy Mahajan
  0 siblings, 0 replies; 5+ messages in thread
From: Sanjoy Mahajan @ 2005-07-28 15:45 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Florian Engelhardt, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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:

>>> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-07-28 15:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20050728002244.5163ac4a@localhost>
2005-07-27 23:16 ` system freezes for 0.2 to 0.5 seconds when reading /proc/acpi/thermal_zone/THRM/temperature Andrew Morton
2005-07-28  6:49   ` Florian Engelhardt
2005-07-28  6:56     ` Andrew Morton
     [not found]       ` <20050727235625.028b7728.akpm-3NddpPZAyC0@public.gmane.org>
2005-07-28 15:45         ` Sanjoy Mahajan
     [not found]   ` <20050727161605.5711fcf7.akpm-3NddpPZAyC0@public.gmane.org>
2005-07-28  7:00     ` Florian Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox