Difference between revisions of "CPU: Reset Speed"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
| Line 10: | Line 10: | ||
for x in /sys/devices/system/cpu/*/cpufreq/; do echo 1700000 | sudo tee $x/scaling_max_freq; done | for x in /sys/devices/system/cpu/*/cpufreq/; do echo 1700000 | sudo tee $x/scaling_max_freq; done | ||
| + | |||
| + | |||
| + | ==Menggunakan cpupower== | ||
| + | |||
| + | |||
| + | Provided by: linux-tools-common_3.13.0-24.46_all bug | ||
| + | |||
| + | NAME | ||
| + | |||
| + | cpupower frequency-set - A small tool which allows to modify cpufreq settings. | ||
| + | |||
| + | SYNTAX | ||
| + | |||
| + | cpupower [ -c cpu ] frequency-set [options] | ||
| + | |||
| + | DESCRIPTION | ||
| + | |||
| + | cpupower frequency-set allows you to modify cpufreq settings without having to type e.g. | ||
| + | "/sys/devices/system/cpu/cpu0/cpufreq/scaling_set_speed" all the time. | ||
| + | |||
| + | OPTIONS | ||
| + | |||
| + | -d --min <FREQ> | ||
| + | new minimum CPU frequency the governor may select. | ||
| + | |||
| + | -u --max <FREQ> | ||
| + | new maximum CPU frequency the governor may select. | ||
| + | |||
| + | -g --governor <GOV> | ||
| + | new cpufreq governor. | ||
| + | |||
| + | -f --freq <FREQ> | ||
| + | specific frequency to be set. Requires userspace governor to be available and | ||
| + | loaded. | ||
| + | |||
| + | -r --related | ||
| + | modify all hardware-related CPUs at the same time | ||
Revision as of 08:46, 3 January 2020
Cek Speed
sudo -i # paste <(cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_min_freq) <(cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq) <(cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_max_freq) | column -s $'\t' -t
Reset
To change the maximum frequency lower (you can't change it higher) use this command to change it from 2200 Mhz to 1700 Mhz:
for x in /sys/devices/system/cpu/*/cpufreq/; do echo 1700000 | sudo tee $x/scaling_max_freq; done
Menggunakan cpupower
Provided by: linux-tools-common_3.13.0-24.46_all bug
NAME
cpupower frequency-set - A small tool which allows to modify cpufreq settings.
SYNTAX
cpupower [ -c cpu ] frequency-set [options]
DESCRIPTION
cpupower frequency-set allows you to modify cpufreq settings without having to type e.g. "/sys/devices/system/cpu/cpu0/cpufreq/scaling_set_speed" all the time.
OPTIONS
-d --min <FREQ>
new minimum CPU frequency the governor may select.
-u --max <FREQ>
new maximum CPU frequency the governor may select.
-g --governor <GOV>
new cpufreq governor.
-f --freq <FREQ>
specific frequency to be set. Requires userspace governor to be available and
loaded.
-r --related
modify all hardware-related CPUs at the same time