Não foi realmente um bug, foi reqular recurso para evitar o superaquecimento. Se você realmente quiser desabilitar isso (que não é recomendado), faça:
sudo killall thermald
thermald
foi introduzido no Ubuntu 14.04
Eu tenho dois sistemas operacionais no meu notebook. O primeiro é o Ubuntu 12.04 e é bastante OK, mas muito antigo e danificado por minhas ações inexperientes (instalações de pacotes manuais, etc). O segundo é o Ubuntu 16.04. Foi uma nova instalação (não atualização) e eu instalei muitos aplicativos e bibliotecas nele.
De repente, notei que o Ubuntu 16.04 desacelera. A unidade fica instável, todos os aplicativos são executados lentamente. Ocorre de vez em quando, especialmente após um longo período de trabalho. (E especialmente quando meus amigos, a maioria dos quais são usuários do Windows, estão trabalhando comigo.)
cpufreq-info
diz:
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to [email protected], 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)
Pode haver valores diferentes em vez de 1.40 GHz
, até 920 MHz
e 800 MHz
.
intel_pstate
está desativado com a opção grub
.
dmesg | grep temperature
diz
[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
diz
2300000
sensors
diz
'' '
coretemp-isa-0000
Adaptador: adaptador ISA
ID do pacote 0: + 72.0 ° C (alto = + 80.0 ° C, crítico = + 85.0 ° C)
Nleo 0: + 72,0 (alto = + 80,0, crit = + 85,0)
N�leo 1: + 72,0 � (elevado = + 80,0 �, crit = + 85,0 �)
acpitz-virtual-0 Adaptador: dispositivo virtual temp1: + 70,0 ° C (crit = + 120,0 ° C) temp2: + 29,8 ° C (crit = + 120,0 ° C)
nouveau-pci-0100 Adaptador: adaptador PCI Núcleo da GPU: +1,08 V (min = +0,83 V, máx = +1,08 V) temp1: + 72,0 ° C (alta = + 95,0 ° C, hyst = + 3,0 ° C) (crit = + 105,0, = 5,0) (emerg = + 135,0 ° C, hyst = + 5,0 ° C) '' '
/sys/module/processor/parameters/ignore_ppc
é definido manualmente como 1
sudo modprobe acpi_cpufreq
%código%
não diz nada
lsmod | grep acpi_cpufreq
%código%
não tem efeito
sudo sh -c "echo 2300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"
diz
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
O governador de chaves não importa.
Conecte o carregador e volte a ligá-lo não importa.
Às vezes, o baixo desempenho é exibido por vários segundos e, em seguida, o max freq é restaurado para 2,3 GHz
Não foi realmente um bug, foi reqular recurso para evitar o superaquecimento. Se você realmente quiser desabilitar isso (que não é recomendado), faça:
sudo killall thermald
thermald
foi introduzido no Ubuntu 14.04