1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/cpufreq-set.md

21 lines
511 B
Markdown
Raw Normal View History

2018-01-06 14:00:12 +08:00
# cpufreq-set
> A tool to modify CPU frequency settings.
2018-01-06 14:03:49 +08:00
> Requires root privileges.
2018-01-06 14:00:12 +08:00
- Set the CPU frequency policy of CPU 1 to "userspace":
`sudo cpufreq-set -c {{1}} -g {{userspace}}`
- Set the minimum CPU frequency of CPU 1:
`sudo cpufreq-set -c {{1}} --min {{min_frequency}}`
- Set the maximum CPU frequency of CPU 1:
`sudo cpufreq-set -c {{1}} --max {{max_frequency}}`
- Set the work frequency of CPU 1 (requires "userspace" policy to be loaded):
`sudo cpufreq-set -c {{1}} -f {{work_frequency}}`