Решил поменять схему энергопотребления процессора:
Код: Выделить всё
MyHome1 pastordi # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance
MyHome1 pastordi # echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
bash: echo: ошибка записи: Недопустимый аргумент
MyHome1 pastordi # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
performance powersave
MyHome1 pastordi #
Код: Выделить всё
MyHome1 pastordi # cpupower frequency-set -g ondemand
Setting cpu: 0
Error setting new values. Common errors:
- Do you have proper administration rights? (super-user?)
- Is the governor you requested available and modprobed?
- Trying to set an invalid policy?
- Trying to set a specific frequency, but userspace governor is not available,
for example because of hardware which cannot be set to a specific frequency
or because the userspace governor isn't loaded?
MyHome1 pastordi #
Код: Выделить всё
MyHome1 pastordi # systemctl status cpupower
cpupower.service - Configure CPU power related settings
Loaded: loaded (/lib/systemd/system/cpupower.service; enabled)
Active: active (exited) since Пн 2015-04-27 08:24:12 MSK; 7h ago
Process: 4335 ExecStart=/usr/bin/cpupower $CPUPOWER_START_OPTS (code=exited, status=0/SUCCESS)
Main PID: 4335 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/cpupower.service
апр 27 08:24:12 MyHome1 cpupower[4335]: Setting cpu: 0
апр 27 08:24:12 MyHome1 cpupower[4335]: Setting cpu: 1
апр 27 08:24:12 MyHome1 cpupower[4335]: Setting cpu: 2
апр 27 08:24:12 MyHome1 cpupower[4335]: Setting cpu: 3
апр 27 08:24:12 MyHome1 systemd[1]: Started Configure CPU power related settings.
MyHome1 pastordi #
Код: Выделить всё
MyHome1 pastordi # zgrep CPU_FREQ /proc/config.gz
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_GOV_COMMON=y
CONFIG_CPU_FREQ_STAT=m
CONFIG_CPU_FREQ_STAT_DETAILS=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
MyHome1 pastordi #
Под root'ом ничего сделать нельзя. Хм... Или я чёта туплю?
Ядро 3.14.33