All of lore.kernel.org
 help / color / mirror / Atom feed
* I haven't been able to set the chosen policy for CPU0
@ 2008-05-19 10:31 Christian Flamm
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Flamm @ 2008-05-19 10:31 UTC (permalink / raw)
  To: cpufreq

"I haven't been able to set the chosen policy for CPU0._I set 
1667000-1000000-ondemand_System says 1000000-1000000-ondemand_"

That's what the log files says. CPU's frequenzy randomly falls to minimum 
(1000000). Sometimes I can manually correct that, but more often I can't and 
the above message appears.

$ zcat /proc/config.gz | grep -i freq
	# CPU Frequency scaling
	CONFIG_CPU_FREQ=y
	CONFIG_CPU_FREQ_TABLE=y
	# CONFIG_CPU_FREQ_DEBUG is not set
	CONFIG_CPU_FREQ_STAT=y
	# CONFIG_CPU_FREQ_STAT_DETAILS is not set
	CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
	# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
	# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
	# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
	CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
	CONFIG_CPU_FREQ_GOV_POWERSAVE=y
	CONFIG_CPU_FREQ_GOV_USERSPACE=y
	CONFIG_CPU_FREQ_GOV_ONDEMAND=y
	CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
	# CPUFreq processor drivers
	CONFIG_X86_ACPI_CPUFREQ=m
	# CONFIG_X86_CPUFREQ_NFORCE2 is not set
	# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set

$ cat /etc/cpufreqd.conf
	[General]
	pidfile=/var/run/cpufreqd.pid
	poll_interval=2
	verbosity=7
	double_check=1
	#enable_plugins=apci_ac,cpu,acpi_battery
	enable_remote=1
	remote_group=wheel
	[/General]
	
	[Profile]
	name=Halbgas
	minfreq=1000000
	maxfreq=1667000
	policy=ondemand
	[/Profile]
	
	[Profile]
	name=Vollgas
	minfreq=1667000
	maxfreq=1667000
	policy=performance
	[/Profile]
	
	[Rule]
	name=none
	ac=on
	profile=Vollgas
	[/Rule]

	[Rule]
	name=battery
	ac=off
	profile=Halbgas
	[/Rule]

Already upgraded to kernel 2.6.25-gentoo-r2 and cpufreqd 2.2.1... nothing 
changes. Processor is an Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz. Would you 
say thats probably a broken kernel or a broken bios?

Regards,
alcCapone.

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

* I haven't been able to set the chosen policy for CPU0
@ 2008-05-19 16:42 Christian Flamm
  2008-05-19 17:11 ` Pallipadi, Venkatesh
       [not found] ` <200805191916.25692.alcc@gmx.de>
  0 siblings, 2 replies; 5+ messages in thread
From: Christian Flamm @ 2008-05-19 16:42 UTC (permalink / raw)
  To: cpufreq

I think I can now reproduce that misbehaviour. I happens when both of my cores 
are at 100%  - than min- *and* max-frequency fall down to minimum (1000000Hz)

$ cpufreq-info
	cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
	Report errors and bugs to linux@brodo.de, please.
	analyzing CPU 0:
	  driver: acpi-cpufreq
	  CPUs which need to switch frequency at the same time: 0 1
	  hardware limits: 1000 MHz - 1.67 GHz
	  available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz
	  available cpufreq governors: conservative, ondemand, userspace, powersave, 
performance
	  current policy: frequency should be within 1000 MHz and 1000 MHz.
	                  The governor "performance" may decide which speed to use
	                  within this range.
	  current CPU frequency is 1000 MHz (asserted by call to hardware).
	analyzing CPU 1:
	  driver: acpi-cpufreq
	  CPUs which need to switch frequency at the same time: 0 1
	  hardware limits: 1000 MHz - 1.67 GHz
	  available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz
	  available cpufreq governors: conservative, ondemand, userspace, powersave, 	
performance	
	  current policy: frequency should be within 1000 MHz and 1000 MHz.
                  	The governor "performance" may decide which speed to use
        	        within this range.
	  current CPU frequency is 1000 MHz (asserted by call to hardware).

If I then try to force another policy manually by

(just to show you) 
$ cpufreqd-get
	Name (#1):      Halbgas
	Governor:       ondemand
	Min freq:       1000000
	Max freq:       1667000
	
	Name (#2):      Vollgas
	Active on CPU#: 0, 1
	Governor:       performance
	Min freq:       1667000
	Max freq:       1667000

$ cpufreqd-set 2

the log says: 
	"cpufreqd_set_profile     : Couldn't set profile "Vollgas" set for cpu 
(1667000-1667000-performance)_"

or

$ cpufreqd-set 1

the log says: 
	"I haven't been able to set the chosen policy for CPU0._I set 
1667000-1000000-ondemand_System says 1000000-1000000-ondemand_"

After a certain while (10 minutes) the manual commands work and stay for about 
5 minutes if both of my cores are fully stressed and than the whole story 
starts all over.

Regards, Christian.

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

* RE: I haven't been able to set the chosen policy for CPU0
  2008-05-19 16:42 I haven't been able to set the chosen policy for CPU0 Christian Flamm
@ 2008-05-19 17:11 ` Pallipadi, Venkatesh
  2008-05-19 17:18   ` Christian Flamm
       [not found] ` <200805191916.25692.alcc@gmx.de>
  1 sibling, 1 reply; 5+ messages in thread
From: Pallipadi, Venkatesh @ 2008-05-19 17:11 UTC (permalink / raw)
  To: alcc, cpufreq

 

>-----Original Message-----
>From: cpufreq-bounces@lists.linux.org.uk 
>[mailto:cpufreq-bounces@lists.linux.org.uk] On Behalf Of 
>Christian Flamm
>Sent: Monday, May 19, 2008 9:42 AM
>To: cpufreq@lists.linux.org.uk
>Subject: I haven't been able to set the chosen policy for CPU0
>
>I think I can now reproduce that misbehaviour. I happens when 
>both of my cores 
>are at 100%  - than min- *and* max-frequency fall down to 
>minimum (1000000Hz)
>

Looks like the CPUs are being driver to lower freq due to temperature
limits. CPUs being busy is increasing the temp and they go to lower freq
until they reach the lower temp. Looking at
/proc/acpi/thermal_zone/*/*
when this happens can confirm this.

Thanks,
Venki

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

* Re: I haven't been able to set the chosen policy for CPU0
  2008-05-19 17:11 ` Pallipadi, Venkatesh
@ 2008-05-19 17:18   ` Christian Flamm
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Flamm @ 2008-05-19 17:18 UTC (permalink / raw)
  To: cpufreq

>>I think I can now reproduce that misbehaviour. I happens when
>>both of my cores
>>are at 100%  - than min- *and* max-frequency fall down to
>>minimum (1000000Hz)

> Looks like the CPUs are being driver to lower freq due to temperature
> limits. CPUs being busy is increasing the temp and they go to lower freq
> until they reach the lower temp. Looking at
> /proc/acpi/thermal_zone/*/*
> when this happens can confirm this.

First of all, thx for the reply. 

Before, at, and after the freqency falls doen to minimum:

$ cat /proc/acpi/thermal_zone/THM0/state
state:                   ok

So its something else.

Regards, Christian.

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

* Re: I haven't been able to set the chosen policy for CPU0
       [not found]   ` <924EFEDD5F540B4284297C4DC59F3DEE01119E34@orsmsx423.amr.corp.intel.com>
@ 2008-05-19 18:00     ` Christian Flamm
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Flamm @ 2008-05-19 18:00 UTC (permalink / raw)
  To: Pallipadi, Venkatesh, cpufreq

> >>>I think I can now reproduce that misbehaviour. I happens when
> >>>both of my cores
> >>>are at 100%  - than min- *and* max-frequency fall down to
> >>>minimum (1000000Hz)

> >> Looks like the CPUs are being driver to lower freq due to temperature
> >> limits. CPUs being busy is increasing the temp and they go

> >to lower freq

> >> until they reach the lower temp. Looking at
> >> /proc/acpi/thermal_zone/*/*
> >> when this happens can confirm this.

> >First of all, thx for the reply.

> >Before, at, and after the freqency falls doen to minimum:

> >$ cat /proc/acpi/thermal_zone/THM0/state
> >state:                   ok

> >So its something else.

> BTW, what does other values in THM0/* look like. Temp, passive, active,
> etc..

Maybe you're right.

Temperature increases up to 83°C and then the cpu seems to get auto-throttled.

$ ls /proc/acpi/thermal_zone/THM0/
cooling_mode  polling_frequency  state  temperature  trip_points

$cat /proc/acpi/thermal_zone/THM0/cooling_mode
<setting not supported>

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

end of thread, other threads:[~2008-05-19 18:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-19 16:42 I haven't been able to set the chosen policy for CPU0 Christian Flamm
2008-05-19 17:11 ` Pallipadi, Venkatesh
2008-05-19 17:18   ` Christian Flamm
     [not found] ` <200805191916.25692.alcc@gmx.de>
     [not found]   ` <924EFEDD5F540B4284297C4DC59F3DEE01119E34@orsmsx423.amr.corp.intel.com>
2008-05-19 18:00     ` Christian Flamm
  -- strict thread matches above, loose matches on Subject: below --
2008-05-19 10:31 Christian Flamm

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.