web-dev-qa-db-ja.com

cpufreqドライバーをintel pstateからacpiに変更します。

Intel pstate cpufreqドライバーを無効にして、最大のCPU制御を取得するためにそれをacpiに置き換えようとしています。私はこれを試しました。

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

私がする時 cpufreq-infoそれでも表示されます

.
.
.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).

/ etc/default/modules/acpiをmodules = "all"に編集してモジュールをロードして再起動しようとしましたが、機能しません

ここで何が悪いのですか?

1
JRD

intel_pstate ACPIドライバーよりもきめ細かい方法で互換性のあるCPUを管理するため、一般的には、ACPIドライバーに処理を任せた方がよいでしょう。

最近のカーネルでは、ブート後にそれを無効にできる場合があります。これを行うには、 write off to /sys/devices/system/cpu/intel_pstate/status ;これが成功した場合(制限についてはドキュメントを参照)、ACPIドライバを代わりに使用できるはずです。これを機能させるには、HWPを無効にする必要がある場合があります。これを行うには、カーネルブートパラメータにintel_pstate=no_hwpを追加します。

(ドキュメントには、intel_pstate=disableが登録をまったく妨げるべきであると記載されているため、それが機能しないという事実は多少意外であり、バグを示している可能性があります。)

2
Stephen Kitt