인텔 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
등록을 금지해야 한다고 언급되어 있으므로 이것이 작동하지 않는다는 사실은 다소 놀랍고 버그를 나타낼 수 있습니다.)