[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.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:hardware:cpu_frequency_scaling [2013/12/16 22:32 (UTC)] – [Example] metaschima | howtos:hardware:cpu_frequency_scaling [2013/12/16 22:36 (UTC)] – [Further reading] metaschima | ||
---|---|---|---|
Line 29: | Line 29: | ||
===== Checking the CPU frequency settings ===== | ===== Checking the CPU frequency settings ===== | ||
- | Slackware comes with the cpufrequtils package which helps to configure frequency scaling in an appropriate manner. You can check the settings on your system with the command | + | Slackware comes with the '' |
<code bash> | <code bash> | ||
- | Or using sysfs: | + | Or if you don't have the package installed: |
- | <code bash>cat / | + | <code bash>cat / |
+ | cat / | ||
where " | where " | ||
- | ===== The configuration ===== | ||
- | The cpufrequtils package provides two commands. With '' | ||
- | The '' | ||
===== Setting the CPU frequency settings ===== | ===== Setting the CPU frequency settings ===== | ||
Line 64: | Line 62: | ||
as long as the interface exists. | as long as the interface exists. | ||
===== Further reading ===== | ===== Further reading ===== | ||
- | I recommend reading the manpages for cpufreq-info and cpufreq-set. | + | The manpages for '' |
+ | |||
+ | The kernel | ||
A decent explanation of P states and how they are handled in the kernel: https:// | A decent explanation of P states and how they are handled in the kernel: https:// |