Hello,
I have a notebook with a 1.5 GHz Mobile Celeron processor running Crux
Linux. The kernel options for speedstep are compiled in and the default
cpu governor is set to "performance" [1]. Nevertheless the cpu does not
always run with its highest frequency. This makes usage of the notebook
unresponsive. E.g. it takes almost a second to switch from one virtual
screen to another when running X.
I have found out that I can disable cpu frequency scaling running the
following command: "cpufreq-selector -g performance"
So I have put this command into rc.local. But having it in rc.local
does not have the desired effect. The cpu frequency continues to scale
down after booting until I issue the above command again when being
logged in. Why does the above command in rc.local have no effect? Or is
there another command I could put into rc.local to disable frequency
scaling at boot time?
I do not run the laptop on battery so saving battery life time is not
an issue.
[1] kernel 2.6.26 config:
CONFIG_X86_SPEEDSTEP_CENTRINO=y
CONFIG_X86_SPEEDSTEP_CENTRINO_TABLE=y
CONFIG_X86_SPEEDSTEP_ICH=y
# CONFIG_X86_SPEEDSTEP_SMI is not set
CONFIG_X86_SPEEDSTEP_LIB=y
# CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK is not set
# CPU Frequency scaling
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
# CONFIG_CPU_FREQ_DEBUG is not set
# CONFIG_CPU_FREQ_STAT is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# 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=y
# CONFIG_X86_CPUFREQ_NFORCE2 is not set
CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
Regards,
Markus