All of lore.kernel.org
 help / color / mirror / Atom feed
* cpufreq default governor?
@ 2004-01-19  7:16 Diwaker Gupta
  2004-01-19  9:44 ` Dominik Brodowski
  0 siblings, 1 reply; 4+ messages in thread
From: Diwaker Gupta @ 2004-01-19  7:16 UTC (permalink / raw)
  To: cpufreq

Hi,

I'm running 2.6.1 vanilla kernel from kernel.org with no patches. I want 
to set the default cpufreq governor to userspace. Here is the relevant 
portion of my .config:

====
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_PROC_INTF=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_24_API=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
====

Everything compiles fine, but when I boot into the new kernel, the 
default governor is still set to performance:

<diwaker@diwaker>$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance

But the userspace governor is indeed available:
<diwaker@diwaker>$ cat 
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
powersave userspace performance

Any suggestions?
TIA,
Diwaker
-- 
Diwaker Gupta
Graduate Student, Computer Sc. and Engg.
University of California, San Diego
<http://www.cse.ucsd.edu/users/dgupta>

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

* Re: cpufreq default governor?
  2004-01-19  7:16 cpufreq default governor? Diwaker Gupta
@ 2004-01-19  9:44 ` Dominik Brodowski
  2004-01-19 11:44   ` Diwaker Gupta
  0 siblings, 1 reply; 4+ messages in thread
From: Dominik Brodowski @ 2004-01-19  9:44 UTC (permalink / raw)
  To: diwaker; +Cc: cpufreq


[-- Attachment #1.1: Type: text/plain, Size: 1635 bytes --]

Hi,

I'm sorry but I cannot reproduce the behaviour you see. Do you run any
userspace cpufreq tool like cpufreqd? Can you compile the other governors as
modules, and see what happens then, please? Thanks,
	Dominik

On Sun, Jan 18, 2004 at 11:16:59PM -0800, Diwaker Gupta wrote:
> Hi,
> 
> I'm running 2.6.1 vanilla kernel from kernel.org with no patches. I want 
> to set the default cpufreq governor to userspace. Here is the relevant 
> portion of my .config:
> 
> ====
> CONFIG_CPU_FREQ=y
> CONFIG_CPU_FREQ_PROC_INTF=y
> # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
> CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
> CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
> CONFIG_CPU_FREQ_GOV_POWERSAVE=y
> CONFIG_CPU_FREQ_GOV_USERSPACE=y
> CONFIG_CPU_FREQ_24_API=y
> CONFIG_CPU_FREQ_TABLE=y
> CONFIG_X86_ACPI_CPUFREQ=y
> CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
> ====
> 
> Everything compiles fine, but when I boot into the new kernel, the 
> default governor is still set to performance:
> 
> <diwaker@diwaker>$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
> performance
> 
> But the userspace governor is indeed available:
> <diwaker@diwaker>$ cat 
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
> powersave userspace performance
> 
> Any suggestions?
> TIA,
> Diwaker
> -- 
> Diwaker Gupta
> Graduate Student, Computer Sc. and Engg.
> University of California, San Diego
> <http://www.cse.ucsd.edu/users/dgupta>
> 
> _______________________________________________
> Cpufreq mailing list
> Cpufreq@www.linux.org.uk
> http://www.linux.org.uk/mailman/listinfo/cpufreq

[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
Cpufreq mailing list
Cpufreq@www.linux.org.uk
http://www.linux.org.uk/mailman/listinfo/cpufreq

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

* Re: cpufreq default governor?
  2004-01-19  9:44 ` Dominik Brodowski
@ 2004-01-19 11:44   ` Diwaker Gupta
  2004-01-19 14:50     ` Carl Thompson
  0 siblings, 1 reply; 4+ messages in thread
From: Diwaker Gupta @ 2004-01-19 11:44 UTC (permalink / raw)
  To: Dominik Brodowski; +Cc: cpufreq

Hi,

Sorry, really stupid of me. It seems cpudynd or acpid are changing the 
default governor! I booted with both services off and the governor 
showed up okay.

BTW, do people have any opinion on which frequency daemon is better -- 
cpudynd or cpufreqd?

Diwaker

Dominik Brodowski wrote:
> Hi,
> 
> I'm sorry but I cannot reproduce the behaviour you see. Do you run any
> userspace cpufreq tool like cpufreqd? Can you compile the other governors as
> modules, and see what happens then, please? Thanks,
> 	Dominik
> 
> On Sun, Jan 18, 2004 at 11:16:59PM -0800, Diwaker Gupta wrote:
> 
>>Hi,
>>
>>I'm running 2.6.1 vanilla kernel from kernel.org with no patches. I want 
>>to set the default cpufreq governor to userspace. Here is the relevant 
>>portion of my .config:
>>
>>====
>>CONFIG_CPU_FREQ=y
>>CONFIG_CPU_FREQ_PROC_INTF=y
>># CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
>>CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
>>CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
>>CONFIG_CPU_FREQ_GOV_POWERSAVE=y
>>CONFIG_CPU_FREQ_GOV_USERSPACE=y
>>CONFIG_CPU_FREQ_24_API=y
>>CONFIG_CPU_FREQ_TABLE=y
>>CONFIG_X86_ACPI_CPUFREQ=y
>>CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
>>====
>>
>>Everything compiles fine, but when I boot into the new kernel, the 
>>default governor is still set to performance:
>>
>><diwaker@diwaker>$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
>>performance
>>
>>But the userspace governor is indeed available:
>><diwaker@diwaker>$ cat 
>>/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
>>powersave userspace performance
>>
>>Any suggestions?
>>TIA,
>>Diwaker
>>-- 
>>Diwaker Gupta
>>Graduate Student, Computer Sc. and Engg.
>>University of California, San Diego
>><http://www.cse.ucsd.edu/users/dgupta>
>>
>>_______________________________________________
>>Cpufreq mailing list
>>Cpufreq@www.linux.org.uk
>>http://www.linux.org.uk/mailman/listinfo/cpufre
> 
> q

-- 
Diwaker Gupta
Graduate Student, Computer Sc. and Engg.
University of California, San Diego
<http://www.cse.ucsd.edu/users/dgupta>

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

* Re: cpufreq default governor?
  2004-01-19 11:44   ` Diwaker Gupta
@ 2004-01-19 14:50     ` Carl Thompson
  0 siblings, 0 replies; 4+ messages in thread
From: Carl Thompson @ 2004-01-19 14:50 UTC (permalink / raw)
  To: diwaker, Diwaker Gupta; +Cc: cpufreq

Quoting Diwaker Gupta <dgupta@cs.ucsd.edu>:

> ...

> BTW, do people have any opinion on which frequency daemon is better --
> cpudynd or cpufreqd?

Try my CPUSpeed daemon!  It's the best!  ;-)

   http://carlthompson.net/software/cpuspeed

> Diwaker

Carl Thompson

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

end of thread, other threads:[~2004-01-19 14:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-19  7:16 cpufreq default governor? Diwaker Gupta
2004-01-19  9:44 ` Dominik Brodowski
2004-01-19 11:44   ` Diwaker Gupta
2004-01-19 14:50     ` Carl Thompson

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.