cpufreq Archive on lore.kernel.org
 help / color / mirror / Atom feed
* RE: cpufreq stops working after a while
@ 2006-08-15 13:27 Pallipadi, Venkatesh
  2006-08-15 15:07 ` Carlos Garcia Campos
  2006-08-16 19:28 ` Len Brown
  0 siblings, 2 replies; 18+ messages in thread
From: Pallipadi, Venkatesh @ 2006-08-15 13:27 UTC (permalink / raw)
  To: Carlos Garcia Campos, cpufreq

 

>-----Original Message-----
>From: cpufreq-bounces@lists.linux.org.uk 
>[mailto:cpufreq-bounces@lists.linux.org.uk] On Behalf Of 
>Carlos Garcia Campos
>Sent: Tuesday, August 15, 2006 4:07 AM
>To: cpufreq@lists.linux.org.uk
>Subject: Re: cpufreq stops working after a while
>
>El mar, 15-08-2006 a las 09:49 +0200, Thomas Renninger escribió:
>> On Sat, 2006-08-12 at 10:52 +0200, Erik Slagter wrote:
>> > On Fri, 11 Aug 2006 14:25:26 -0400 Mark Lord <lkml@rtr.ca> wrote:
>> > 
>> > > One of my notebooks (Dell Latitude X1) has a 1.1GHz 
>Pentium-M ULV processor.
>> > > This chip can change CPU speeds from 600 -> 800 -> 1100 Mhz.
>> > > 
>> > > I use speedstep-centrino with it, and after boot all is 
>usually okay.
>> > > But after a few hours of operation, it stops shifting to 
>the highest frequency
>> > > even under continuous 100% load (or not).  Eventually it 
>gets stuck at 600Mhz
>> > > and stays there until I reboot.
>
>I have the same problem. My laptop is Dell Latitude D600 (Intel(R)
>Pentium(R) M processor 1.60GHz). If I'm compiling something, for
>example, that takes a long time, scaling_max_freq is set to 600000 (the
>lowest). If I try to echo 1600000 to scaling_max_freq it do nothing.
>Only after some time if the cpu load is not high I can echoing 1600000
>again and it works without need to reboot. 
>

Looks like you have the same problem that Mark had in this original thread. Thermal.
It is not a bug in cpufreq. Just that due to cpu load, system is getting heated up and platform decides to reduce the temperature using passive cooling and as a result reduces the frequency. Does your system have active cooling (fans) or does it allow only passive cooling? You can monitor the temperature by looking at stuff under /proc/acpi/termal_zone/*/*.

Thanks,
Venki

^ permalink raw reply	[flat|nested] 18+ messages in thread
* RE: cpufreq stops working after a while
@ 2006-08-16 13:27 Pallipadi, Venkatesh
  2006-08-16 18:19 ` Carlos Garcia Campos
  0 siblings, 1 reply; 18+ messages in thread
From: Pallipadi, Venkatesh @ 2006-08-16 13:27 UTC (permalink / raw)
  To: Carlos Garcia Campos, cpufreq

 

>-----Original Message-----
>From: cpufreq-bounces@lists.linux.org.uk 
>[mailto:cpufreq-bounces@lists.linux.org.uk] On Behalf Of 
>Carlos Garcia Campos
>Sent: Wednesday, August 16, 2006 3:11 AM
>To: cpufreq@lists.linux.org.uk
>Subject: RE: cpufreq stops working after a while
>
>El mar, 15-08-2006 a las 19:46 +0200, Carlos Garcia Campos escribió:
>> El mar, 15-08-2006 a las 08:23 -0700, Pallipadi, Venkatesh escribió:
>> >  
>> > 
>> > Can you confirm the latest version of the kernel where the 
>problem was not there. That will help on narrowing this down.
>> 
>> I'm not sure at all . . . I don't have any kernel < 2.6.17 compiled
>> right now.
>> 
>> > >> It is not a bug in cpufreq. Just that due to cpu load, 
>> > >system is getting heated up and platform decides to reduce the 
>> > >temperature using passive cooling and as a result reduces the 
>> > >frequency. Does your system have active cooling (fans) or does 
>> > >it allow only passive cooling? You can monitor the temperature 
>> > >by looking at stuff under /proc/acpi/termal_zone/*/*.
>> > >
>> > >Yes, my system has fans. Here is the contents of the files
>> > >under /proc/acpi/termal_zone/*/*, if it helps:
>> > >
>> > >$ cat /proc/acpi/thermal_zone/THM/*
>> > ><setting not supported>
>> > >cooling mode:   critical
>> > ><polling disabled>
>> > >state:                   ok
>> > >temperature:             47 C
>> > >critical (S5):           102 C
>> > >
>> > >How can I solve the problem then? It's very annoying. 
>> > 
>> > 
>> > Can you watch the temperature as you see the frequency 
>drop. Continuously (every second) cat cpufreq_max_freq in /sys 
>and temperature in /proc as you run you load. My feeling is 
>you will see the drop in max freq as your temperature goes to 
>around 60 degrees or so.
>> 
>> Here are the results:
>> 
>> ................
>> 1600000 - 85 C
>> 1600000 - 84 C
>> 1600000 - 85 C
>> 1600000 - 76 C
>> 600000 - 76 C
>> 600000 - 71 C
>> 600000 - 70 C
>> 600000 - 69 C
>> ................
>> 
>> It changed at 76 C.
>
>I forgot to mention that if I boot from battery scaling_max_freq is set
>to 600000 and I have to echo 1600000. At boot time temperature is not
>high so I'm not sure it's a thermal problem, or at least not only a
>thermal problem. 
>

That looks like a different problem. It may be a policy being set by some userland daemon/startup script. Enable CPU_FREQ_DEBUG and boot with boot parameter cpufreq.debug=7 you should see when and why max_freq is changing. Infact for the other problem as well, get the messages from debug.

One other thing you can try is changing thermal_zone polling_frequency to 1 and see whether it change the behavior when you run the workload.

Thanks,
Venki

^ permalink raw reply	[flat|nested] 18+ messages in thread
* RE: cpufreq stops working after a while
@ 2006-08-15 15:23 Pallipadi, Venkatesh
  2006-08-15 17:46 ` Carlos Garcia Campos
  0 siblings, 1 reply; 18+ messages in thread
From: Pallipadi, Venkatesh @ 2006-08-15 15:23 UTC (permalink / raw)
  To: Carlos Garcia Campos; +Cc: cpufreq

 

>-----Original Message-----
>From: Carlos Garcia Campos [mailto:carlosgc@gnome.org] 
>Sent: Tuesday, August 15, 2006 8:08 AM
>To: Pallipadi, Venkatesh
>Cc: cpufreq@lists.linux.org.uk
>Subject: RE: cpufreq stops working after a while
>
>El mar, 15-08-2006 a las 06:27 -0700, Pallipadi, Venkatesh escribió:
>>  
>> >-----Original Message-----
>> >From: cpufreq-bounces@lists.linux.org.uk 
>> >[mailto:cpufreq-bounces@lists.linux.org.uk] On Behalf Of 
>> >Carlos Garcia Campos
>> >Sent: Tuesday, August 15, 2006 4:07 AM
>> >To: cpufreq@lists.linux.org.uk
>> >Subject: Re: cpufreq stops working after a while
>> >
>> >
>> >I have the same problem. My laptop is Dell Latitude D600 (Intel(R)
>> >Pentium(R) M processor 1.60GHz). If I'm compiling something, for
>> >example, that takes a long time, scaling_max_freq is set to 
>600000 (the
>> >lowest). If I try to echo 1600000 to scaling_max_freq it do nothing.
>> >Only after some time if the cpu load is not high I can 
>echoing 1600000
>> >again and it works without need to reboot. 
>> >
>> 
>> Looks like you have the same problem that Mark had in this 
>original thread. Thermal.
>
>It never happened with older kernels (< 2.6.17, I think)
>

Can you confirm the latest version of the kernel where the problem was not there. That will help on narrowing this down.

>> It is not a bug in cpufreq. Just that due to cpu load, 
>system is getting heated up and platform decides to reduce the 
>temperature using passive cooling and as a result reduces the 
>frequency. Does your system have active cooling (fans) or does 
>it allow only passive cooling? You can monitor the temperature 
>by looking at stuff under /proc/acpi/termal_zone/*/*.
>
>Yes, my system has fans. Here is the contents of the files
>under /proc/acpi/termal_zone/*/*, if it helps:
>
>$ cat /proc/acpi/thermal_zone/THM/*
><setting not supported>
>cooling mode:   critical
><polling disabled>
>state:                   ok
>temperature:             47 C
>critical (S5):           102 C
>
>How can I solve the problem then? It's very annoying. 


Can you watch the temperature as you see the frequency drop. Continuously (every second) cat cpufreq_max_freq in /sys and temperature in /proc as you run you load. My feeling is you will see the drop in max freq as your temperature goes to around 60 degrees or so.


Thanks,
Venki

^ permalink raw reply	[flat|nested] 18+ messages in thread
[parent not found: <44DCCB96.5080801@rtr.ca>]

end of thread, other threads:[~2006-08-17 15:28 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-15 13:27 cpufreq stops working after a while Pallipadi, Venkatesh
2006-08-15 15:07 ` Carlos Garcia Campos
2006-08-16 19:28 ` Len Brown
  -- strict thread matches above, loose matches on Subject: below --
2006-08-16 13:27 Pallipadi, Venkatesh
2006-08-16 18:19 ` Carlos Garcia Campos
2006-08-17 10:46   ` Thomas Renninger
2006-08-17 10:58     ` Carlos Garcia Campos
2006-08-17 15:28   ` Thomas Renninger
2006-08-15 15:23 Pallipadi, Venkatesh
2006-08-15 17:46 ` Carlos Garcia Campos
2006-08-16 10:10   ` Carlos Garcia Campos
     [not found] <44DCCB96.5080801@rtr.ca>
2006-08-11 18:46 ` Andrew Morton
2006-08-11 19:01   ` Mark Lord
2006-08-11 19:10   ` Mark Lord
2006-08-11 19:18     ` Andrew Morton
2006-08-12  8:52   ` Erik Slagter
2006-08-15  7:49     ` Thomas Renninger
2006-08-15 11:07       ` Carlos Garcia Campos

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