[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
howtos:hardware:cpu_frequency_scaling [2023/12/11 09:45 (UTC)] – [Kernel Configuration] zeebrahowtos:hardware:cpu_frequency_scaling [2023/12/11 10:42 (UTC)] – [/etc/rc.d/rc.cpufreq and /etc/default/cpufreq] zeebra
Line 25: Line 25:
 ===== /etc/rc.d/rc.cpufreq and /etc/default/cpufreq ===== ===== /etc/rc.d/rc.cpufreq and /etc/default/cpufreq =====
  
-The main way to adjust frequency scaling in Slackware is to do so at boot time by making /etc/rc.d/rc.cpufreq executable (chmod +x rc.cpufreq) and selecting the governor to use by editing the file /etc/default/cpufreq. The necessary setup is done in rc.cpufreq and it reads /etc/default/cpufreq to select the governor. These things do depend on what options are available to it, and those options depend on what choice you make at boot time and which driver is in useIf you use the acpi-cpufreq driveryou can select any of the available scaling governors, if intel_pstate is in use, it will ignore the choice if it cannot be parsed.+The main way to adjust frequency scaling in Slackware is to do so at boot time by making /etc/rc.d/rc.cpufreq executable.  
 +<code>chmod +x /etc/rc.d/rc.cpufreq</code>  
 +And by selecting the governor to use by editing the file /etc/default/cpufreq. 
 +<code>nano /etc/default/cpufreq</code> 
 +<code># To select a particular CPU governor option for /etc/rc.d/rc.cpufreq, 
 +# uncomment the line below and edit it to select your choice
 +#SCALING_GOVERNOR=ondemand 
 +</code>
  
-**Available governors** and the **currently used driver** can be seen by using the cpufreq command +<note important>The necessary setup is done in /etc/rc.d/rc.cpufreq and it reads /etc/default/cpufreq to select the governor. These things do depend on what options are available to it, and those options depend on what choice you make at boot time and which driver is in use. If you use the acpi-cpufreq driver, you can select any of the available scaling governors, if intel_pstate is in use, it will ignore the choice if it cannot be parsed.</note>
-<code>cpufreq-info</code>+
  
 After the initial setup of CPU frequency scaling at boot, scaling can also be controlled manually in a variety of ways, as described below.\\ After the initial setup of CPU frequency scaling at boot, scaling can also be controlled manually in a variety of ways, as described below.\\
Line 91: Line 97:
 <!-- You must remove the tag-word "template" below before saving your new page --> <!-- You must remove the tag-word "template" below before saving your new page -->
 <!-- Some updates done, more will follow. Specifically a section about /etc/rc.d/ is high priority  --- //[[wiki:user:zeebra|zeebra]] 2023/12/10 13:34 (UTC)// --> <!-- Some updates done, more will follow. Specifically a section about /etc/rc.d/ is high priority  --- //[[wiki:user:zeebra|zeebra]] 2023/12/10 13:34 (UTC)// -->
-{{tag>howtos CPU frequency Laptop, needs_attention}}+{{tag>howtos CPU frequency Laptop cpu_frequency_scaling}}
 howtos:hardware:cpu_frequency_scaling ()