[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 revisionBoth sides next revision
howtos:hardware:cpu_frequency_scaling [2022/06/08 10:44 (UTC)] – [Sources] zeebrahowtos:hardware:cpu_frequency_scaling [2023/12/10 12:59 (UTC)] – updating zeebra
Line 4: Line 4:
  
 ===== Overview ===== ===== Overview =====
-CPU frequency scaling is carried out by the kernel, but requires that the relevant UEFI/BIOS options be enabled, such as Intel (EnhancedSpeedstep. Slackware comes with all requirements necessary to use this feature. +CPU frequency scaling is carried out by the kernel, there are currently two main ways of thinking about CPU Frequency Scaling, and these are based on the driver which is in use. By default "p-states" implements CPU Frequency Scaling and cannot be compiled out of the Kernel. This has been the case for Intel for quite some time, and recently (as of 2023"p-states" are also implemented for AMD. It is however possible to disable p-states, which will set the controlling driver to "acpi-cpufreq".\\ "P-states" use the default scaling mechanisms of the CPU and in many cases leave more decisions to the CPU. There are two frequency caling "governors" for this mode, "performance" and "powersave". If you change the scaling driver to acpi-cpufreq, you can disable the p-states of the CPU or put them in a passive mode. Acpi is an "industry standard" and related to this topic you can use it to scale your CPU in a different way by using acpu-cpufreq scaling governors.\\ Until somewhat recently there were 5 scaling governors for acpi-cpufreq, "performance", "powersave", "userspace", "ondemand" and "conservative", with "ondemand" often being the default. A 6th governor "schedutil" was added and made the default option in the Kernel and by Slackware. It seems complicated, but you only really have to consider the two main modes of CPU Frequency Scaling, which is p-state and acpi-cpufreq. Slackware by default comes with all requirements necessary to use these feature. 
  
 ===== Kernel Config Requirements ===== ===== Kernel Config Requirements =====
 howtos:hardware:cpu_frequency_scaling ()