Altere o driver cpufreq do intel pstate para acpi

0

Eu estou tentando desativar o driver intel pstate cpufreq e substituí-lo por acpi para obter o controle máximo de cpu. Eu tentei isso.

vim /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="intel_pstate=disable quiet splash"
or 
GRUB_CMDLINE_LINUX_DEFAULT="intel_pstate=disable" in a separate line
grub-mkconfig -o /boot/grub/grub.cfg
No change so i reboot
reboot

sudo service cpufreqd restart
sudo modprobe acpi-cpufreq

Quando eu faço cpufreq-info , ele ainda mostra

.
.
.analyzing CPU 23:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 23
  CPUs which need to have their frequency coordinated by software: 23
  maximum transition latency: 0.97 ms.
  hardware limits: 1.20 GHz - 3.30 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 3.30 GHz and 3.30 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 3.12 GHz (asserted by call to hardware).
analyzing CPU 24:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 24
  CPUs which need to have their frequency coordinated by software: 24
  maximum transition latency: 0.97 ms.
  hardware limits: 1.20 GHz - 3.30 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 3.30 GHz and 3.30 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 2.39 GHz (asserted by call to hardware).
analyzing CPU 25:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 25
  CPUs which need to have their frequency coordinated by software: 25
  maximum transition latency: 0.97 ms.
  hardware limits: 1.20 GHz - 3.30 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 3.30 GHz and 3.30 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.26 GHz (asserted by call to hardware).
analyzing CPU 26:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 26
  CPUs which need to have their frequency coordinated by software: 26
  maximum transition latency: 0.97 ms.
  hardware limits: 1.20 GHz - 3.30 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 3.30 GHz and 3.30 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 3.27 GHz (asserted by call to hardware).
analyzing CPU 27:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 27
  CPUs which need to have their frequency coordinated by software: 27
  maximum transition latency: 0.97 ms.
  hardware limits: 1.20 GHz - 3.30 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 3.30 GHz and 3.30 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 2.17 GHz (asserted by call to hardware).

Eu também tentei carregar os módulos editando / etc / default / modules / acpi para modules="all" e reiniciei mas não funciona

O que estou fazendo errado aqui?

    
por JRD 07.09.2018 / 12:50

1 resposta

1

intel_pstate gerencia CPUs compatíveis de uma forma mais refinada melhor do que o driver ACPI pode, então, em geral, é melhor deixá-lo lidar com as coisas.

Com os kernels recentes, é possível desativá-lo, em alguns casos, após o boot. Para fazer isso, escreva off to /sys/devices/system/cpu/intel_pstate/status ; Se isso for bem-sucedido (consulte a documentação para limitações), você poderá usar o driver ACPI. Você pode precisar desativar o HWP para que isso funcione; para fazer isso, adicione intel_pstate=no_hwp aos seus parâmetros de inicialização do kernel.

(A documentação menciona que intel_pstate=disable deve impedi-lo de se registrar, então o fato de que isso não está funcionando para você é um tanto surpreendente e pode indicar um bug.)

    
por 07.09.2018 / 13:14