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

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

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

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をmodule="all"に編集して再起動してモジュールをロードしようとしましたが、機能しませんでした。

私がここで何を間違っているのか?

ベストアンサー1

intel_pstate互換性のあるCPUはACPIドライバよりも細かい方法で管理されているため、通常はCPUで処理することをお勧めします。

最新のカーネルでは、場合によっては起動後に無効にすることができます。このために、offに手紙を書く/sys/devices/system/cpu/intel_pstate/status;成功すれば(制限についてはマニュアルを参照)、ACPIドライバを使用できます。これを行うには、HWPを無効にする必要があります。これを行うには、intel_pstate=no_hwpカーネルブートパラメータに追加します。

(文書にはintel_pstate=disable登録を禁止する必要があると言われているので、これがうまくいかないという事実は多少驚くほどバグを示す可能性があります。)

おすすめ記事