Skip to contentSkip to conversation

I haven't been able to set the chosen policy for CPU0

DISCUSSION Christian Flamm 2 participants 4 messages May 19, 2008 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

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 [email protected], 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.

#1 lore raw
Quoted 10 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Christian Flamm
Sent: Monday, May 19, 2008 9:42 AM
To: [email protected]
Subject: I haven't been able to set the chosen policy for CPU0

Quoted 5 lines

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

#2 lore raw
Quoted 10 lines
Quoted 4 lines

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.

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 924EFEDD5F540B4284297C4DC59F3DEE01119E34@orsmsx423.amr.corp.intel.com

#5 lore raw
Quoted 18 lines
Quoted 17 lines
Quoted 7 lines
Quoted 4 lines

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

Quoted 3 lines

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:

Quoted 7 lines
Quoted 4 lines
$ 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>