!!!# nano /etc/init.d/ondemand
Для Ubuntu 14.04
# cat /proc/cpuinfo | grep MHz
# update-rc.d ondemand disable
# reboot
Для Ubuntu 16.04 (systemd)
# cat /proc/cpuinfo | grep MHz
# systemctl status ondemand
# systemctl stop ondemand
# systemctl disable ondemand
# reboot
# systemctl status ondemand
● ondemand.service - LSB: Set the CPU Frequency Scaling governor to "ondemand" Loaded: loaded (/etc/init.d/ondemand; bad; vendor preset: enabled) Active: inactive (dead) Docs: man:systemd-sysv-generator(8)
# cat /proc/cpuinfo | grep MHz cpu MHz : 3402.905 cpu MHz : 3400.000 cpu MHz : 3400.000 cpu MHz : 3400.000 cpu MHz : 3400.415 cpu MHz : 3400.415 cpu MHz : 3400.622 cpu MHz : 3399.792
До:
После:
Динамическое изменение частоты CPU (cpufreqd)
# apt-get install acpi acpitool lm-sensors cpufreqd cpufrequtils
# acpitool --cpu | grep scaling
Freq. scaling driver : intel_pstate
# acpitool -cpu
# nano /etc/cpufreqd.conf
; apt-get install lm-sensors
# sensors asus-isa-0000 Adapter: ISA adapter cpu_fan: 0 RPM acpitz-virtual-0 Adapter: Virtual device temp1: +27.8°C (crit = +119.0°C) temp2: +29.8°C (crit = +119.0°C) coretemp-isa-0000 Adapter: ISA adapter Physical id 0: +29.0°C (high = +84.0°C, crit = +100.0°C) Core 0: +27.0°C (high = +84.0°C, crit = +100.0°C) Core 1: +29.0°C (high = +84.0°C, crit = +100.0°C) Core 2: +25.0°C (high = +84.0°C, crit = +100.0°C) Core 3: +26.0°C (high = +84.0°C, crit = +100.0°C)
# watch grep \"cpu MHz\" /proc/cpuinfo
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors performance powersave
Политика управления частотой процессора «ondemand» и iowait в Ubuntu
Комментариев нет:
Отправить комментарий