cpufreq-set.md: add page

coverage
Max Xu 2018-01-06 14:00:12 +08:00 committed by GitHub
parent 5d30dbfc4d
commit b293ccb7e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# cpufreq-set
> A tool to modify CPU frequency settings.
> Requires root privileges.
- 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}}`