Update cpufreq-set.md

This commit is contained in:
Max Xu 2018-01-11 19:45:28 +08:00 committed by GitHub
parent 2fbd2598eb
commit 9c55758596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,20 +1,20 @@
# cpufreq-set
> A tool to modify CPU frequency settings.
> Requires root privileges.
> New frequency value range between the output of command `cpufreq-info -l`.
- Set the CPU frequency policy of CPU 1 to "userspace":
`sudo cpufreq-set -c {{1}} -g {{userspace}}`
- Set the current minimum CPU frequency of CPU 1, value range between the output of command `cpufreq-info -l`:
- Set the current minimum CPU frequency of CPU 1:
`sudo cpufreq-set -c {{1}} --min {{min_frequency}}`
- Set the current maximum CPU frequency of CPU 1, value range between the output of command `cpufreq-info -l`:
- Set the current maximum CPU frequency of CPU 1:
`sudo cpufreq-set -c {{1}} --max {{max_frequency}}`
- Set the current work frequency of CPU 1 , value range between the output of command `cpufreq-info -l` (requires "userspace" policy to be loaded):
- Set the current work frequency of CPU 1:
`sudo cpufreq-set -c {{1}} -f {{work_frequency}}`