CPU frequency scaling
Enable Governor Performance Module in Debian Distributions
intel_pstate CPU Performance Scaling Driver
Как проверить информацию о процессоре и процессоре в Linux
Как посмотреть температуру в Ubuntu | Debian | LinuxMint
$ cat /proc/cpuinfo | grep MHz
$ watch -n 0.1 "cat /proc/cpuinfo | grep -i mhz"
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
performance powersave
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
intel_pstate
Enable Governor Performance Module in Debian Distributions
intel_pstate CPU Performance Scaling Driver
Как проверить информацию о процессоре и процессоре в Linux
Как посмотреть температуру в Ubuntu | Debian | LinuxMint
$ cat /proc/cpuinfo | grep MHz
$ watch -n 0.1 "cat /proc/cpuinfo | grep -i mhz"
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
performance powersave
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
intel_pstate
echo performance | tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
http://forums.debian.net/viewtopic.php?f=7&t=132840&p=642449&hilit=freq#p642449
cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
$ sudo cp
/etc/default/
grub
/etc/default/
grub.original
$ sudo
$ sudo sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet"
/GRUB_CMDLINE_LINUX_DEFAULT="intel_pstate=disable"
/'
/etc/default/
grub
$ sudo update-grub
$ sudo shutdown -r now
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
acpi-cpufreq
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
ondemand performance schedutil
Управление режимами работы процессора
$ sudo apt install cpufrequtils
$ sudo cp /etc/init.d/cpufrequtils /etc/init.d/cpufrequtils.original
$ sudo sed -i 's/GOVERNOR="ondemand"
/G
OVERNOR="
performance"
/' /etc/init.d/cpufrequtils
$ sudo sed -i 's/MAX_SPEED="0"
/
MAX_SPEED="3600"
/' /etc/init.d/cpufrequtils
$ sudo sed -i 's/MIN_SPEED="0"/MIN_SPEED="3600"
/' /etc/init.d/cpufrequtils
$ sudo systemctl daemon-reload
$ sudo systemctl restart cpufrequtils
$ cat /proc/cpuinfo | grep MHz
cpu MHz : 800.000
cpu MHz : 800.000
cpu MHz : 800.000
cpu MHz : 800.000
cpu MHz : 1000.000
cpu MHz : 1000.000
cpu MHz : 800.000
cpu MHz : 800.000
$ sudo cpufreq-set -c 0 -g performance
$ sudo cpufreq-set -c 1 -g performance
$ sudo cpufreq-set -c 2 -g performance
$ sudo cpufreq-set -c 3 -g performance
$ sudo cpufreq-set -c 4 -g performance
$ sudo cpufreq-set -c 5 -g performance
$ sudo cpufreq-set -c 6 -g performance
$ sudo cpufreq-set -c 7 -g performance
$ cat /proc/cpuinfo | grep MHz cpu MHz : 3601.000 cpu MHz : 3601.000 cpu MHz : 3601.000 cpu MHz : 3601.000 cpu MHz : 3601.000 cpu MHz : 3601.000 cpu MHz : 3601.000 cpu MHz : 3601.000
$ cpufreq-info
$ nano start_per.sh
sudo cpufreq-set -c 0 -g performance
sudo cpufreq-set -c 1 -g performance
sudo cpufreq-set -c 2 -g performance
sudo cpufreq-set -c 3 -g performance
sudo cpufreq-set -c 4 -g performance
sudo cpufreq-set -c 5 -g performance
sudo cpufreq-set -c 6 -g performance
sudo cpufreq-set -c 7 -g performance
Сохранить.
$ chmod +x start_per.sh
$ ./start_per.sh
$ cat /proc/cpuinfo | grep MHz
cpu MHz : 3601.000
cpu MHz : 3601.000
cpu MHz : 3601.000
cpu MHz : 3601.000
cpu MHz : 3601.000
cpu MHz : 3601.000
cpu MHz : 3601.000
cpu MHz : 3601.000
Комментариев нет:
Отправить комментарий