[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Scaling governor via sysctl?

On Fri, 29 Jan 2010 23:26:40 +0100, Carl Johnson <carlj@peak.org> wrote:

"Tilo Schwarz" <tilo@tilo-schwarz.de> writes:

On Thu, 28 Jan 2010 05:42:13 +0100, Todd A. Jacobs
<nospam@codegnome.org>  wrote:

I'd like to set my scaling governor in /etc/sysctl.conf, rather than by
echoing a value to:


However, I'm not finding a key for it via the sysctl utility. When I

    sysctl -a | fgrep -i cpu

I get nothing. Why can I write to a value in sysfs that can't be
accessed with sysctl? And more importantly, how am I supposed to do this
at boot without sysctl.conf?

I use sysfs.conf:

#grep demand /etc/sysfs.conf
devices/system/cpu/cpu0/cpufreq/scaling_governor = ondemand

If you have the cpufrequtils package installed, then just edit
/etc/defaults/cpufrequtils to specify which you want at boot.

I don't have the cpufrequtils package installed.



Reply to: