У меня есть две ОС на моем ноутбуке. Первым является Ubuntu 12.04, и это довольно в порядке, но слишком старое и поврежденное моими неопытными действиями (ручные установки пакета, и т.д.). Вторым является Ubuntu 16.04. Это была новая установка (не, обновляют), и я установил много приложений и библиотек в нем.
Внезапно я заметил, что Ubuntu 16.04 замедляется. Единица становится изменчивой, все приложения, запускаемые медленно. Это происходит однажды некоторое время, особенно после длительного периода работы. (И особенно когда мои друзья, большинство которых является пользователями Windows, работают со мной.)
cpufreq-info
говорит:
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009 Report errors and bugs to cpufreq@vger.kernel.org, please. analyzing CPU 0: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 0 CPUs which need to have their frequency coordinated by software: 0 maximum transition latency: 10.0 us. hardware limits: 800 MHz - 2.30 GHz available frequency steps: 2.30 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 1000 MHz, 800 MHz available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil current policy: frequency should be within 800 MHz and 1.40 GHz. The governor "ondemand" may decide which speed to use within this range. current CPU frequency is 1.41 GHz. cpufreq stats: 2.30 GHz:5,45%, 1.80 GHz:3,30%, 1.60 GHz:2,71%, 1.40 GHz:4,81%, 1.20 GHz:8,84%, 1000 MHz:17,69%, 800 MHz:57,20% (276340) analyzing CPU 1: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 1 CPUs which need to have their frequency coordinated by software: 1 maximum transition latency: 10.0 us. hardware limits: 800 MHz - 2.30 GHz available frequency steps: 2.30 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 1000 MHz, 800 MHz available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil current policy: frequency should be within 800 MHz and 1.40 GHz. The governor "ondemand" may decide which speed to use within this range. current CPU frequency is 1.47 GHz. cpufreq stats: 2.30 GHz:9,57%, 1.80 GHz:3,13%, 1.60 GHz:2,55%, 1.40 GHz:4,67%, 1.20 GHz:8,55%, 1000 MHz:16,73%, 800 MHz:54,80% (256609) analyzing CPU 2: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 2 CPUs which need to have their frequency coordinated by software: 2 maximum transition latency: 10.0 us. hardware limits: 800 MHz - 2.30 GHz available frequency steps: 2.30 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 1000 MHz, 800 MHz available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil current policy: frequency should be within 800 MHz and 1.40 GHz. The governor "ondemand" may decide which speed to use within this range. current CPU frequency is 1.41 GHz. cpufreq stats: 2.30 GHz:8,27%, 1.80 GHz:3,19%, 1.60 GHz:2,57%, 1.40 GHz:4,60%, 1.20 GHz:8,56%, 1000 MHz:16,26%, 800 MHz:56,54% (274971) analyzing CPU 3: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 3 CPUs which need to have their frequency coordinated by software: 3 maximum transition latency: 10.0 us. hardware limits: 800 MHz - 2.30 GHz available frequency steps: 2.30 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 1000 MHz, 800 MHz available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil current policy: frequency should be within 800 MHz and 1.40 GHz. The governor "ondemand" may decide which speed to use within this range. current CPU frequency is 1.34 GHz. cpufreq stats: 2.30 GHz:4,96%, 1.80 GHz:3,40%, 1.60 GHz:3,15%, 1.40 GHz:6,25%, 1.20 GHz:12,28%, 1000 MHz:15,64%, 800 MHz:54,31% (303947)
Могли быть различные значения вместо 1.40 GHz
, даже 920 MHz
и 800 MHz
.
intel_pstate
отключен с grub
опция.
dmesg | grep temperature
говорит [19065.630210] CPU3: Core temperature above threshold, cpu clock throttled (total events = 2551) [19065.630212] CPU2: Core temperature above threshold, cpu clock throttled (total events = 2551) [19065.630214] CPU1: Package temperature above threshold, cpu clock throttled (total events = 2729) [19065.630216] CPU0: Package temperature above threshold, cpu clock throttled (total events = 2729) [19065.630219] CPU2: Package temperature above threshold, cpu clock throttled (total events = 2729) [19065.630225] CPU3: Package temperature above threshold, cpu clock throttled (total events = 2728) [19065.641347] CPU3: Core temperature/speed normal [19065.641350] CPU2: Core temperature/speed normal [19065.641358] CPU1: Package temperature/speed normal [19065.641361] CPU0: Package temperature/speed normal [19065.641387] CPU2: Package temperature/speed normal [19065.641393] CPU3: Package temperature/speed normal [19783.068723] CPU2: Core temperature above threshold, cpu clock throttled (total events = 2780) [19783.068727] CPU3: Core temperature above threshold, cpu clock throttled (total events = 2780) [19783.068734] CPU1: Package temperature above threshold, cpu clock throttled (total events = 2963) [19783.068738] CPU0: Package temperature above threshold, cpu clock throttled (total events = 2963) [19783.068746] CPU3: Package temperature above threshold, cpu clock throttled (total events = 2962) [19783.068760] CPU2: Package temperature above threshold, cpu clock throttled (total events = 2963) [19783.078851] CPU2: Core temperature/speed normal [19783.078854] CPU3: Core temperature/speed normal [19783.078885] CPU0: Package temperature/speed normal [19783.078888] CPU1: Package temperature/speed normal [19783.078891] CPU3: Package temperature/speed normal [19783.078897] CPU2: Package temperature/speed normal
cat /sys/devices/system/cpu/cpufreq/policy0/bios_limit
говорит 2300000
sensors
говорит' '' coretemp-isa-0000 Адаптер: идентификатор 0 Пакета адаптера ISA: +72.0°C (высоко = +80.0°C, критика = +85.0°C) Базовый 0: +72.0°C (высоко = +80.0°C, критика = +85.0°C) Базовый 1: +72.0°C (высоко = +80.0°C, критика = +85.0°C)
Адаптер acpitz-virtual-0: Виртуальное устройство temp1: +70.0°C (критика = +120.0°C) temp2: +29.8°C (критика = +120.0°C)
Адаптер nouveau-pci-0100: адаптер PCI ядро GPU: +1.08 В (минута = +0.83 В, макс. = +1.08 В) temp1: +72.0°C (высоко = +95.0°C, hyst = +3.0°C) (критика = +105.0°C, hyst = +5.0°C) (emerg = +135.0°C, hyst = +5.0°C) '''
/sys/module/processor/parameters/ignore_ppc
вручную установлен на 1
sudo modprobe acpi_cpufreq
lsmod | grep acpi_cpufreq
не говорит ничто
sudo sh -c "echo 2300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
не имеет никакого эффекта
uname -a
говорит Linux nicknout 4.13.0-26-generic #29~16.04.2-Ubuntu SMP Tue Jan 9 22:00:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Переключающийся регулятор не имеет значения.
Pluginn от зарядного устройства и перевключения его назад не имеет значения.
Иногда низкая эффективность появляется в течение нескольких секунд, и затем макс. частота восстанавливает к 2,3 ГГц
Это не была на самом деле ошибка, это была регулярная функция, чтобы не перегреваться. Ifi Вы действительно хотите отключить это (который не рекомендуется), просто сделайте:
sudo killall thermald
thermald
был представлен в Ubuntu 14.04