縮放 CPU 頻率
我的台式機和筆記型電腦出現過熱問題,據我從Arch Wiki和本網站的其他貢獻者那裡了解到的,我必須限制 cpu 頻率來解決問題。在我安裝的兩個系統
cpupower
和sudo cpupower frequency-info
桌面上都有AMD Phenom(tm) II X4 955 Processor
返回: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: 4.0 us hardware limits: 800 MHz - 3.20 GHz available frequency steps: 3.20 GHz, 2.50 GHz, 2.10 GHz, 800 MHz available cpufreq governors: performance schedutil current policy: frequency should be within 800 MHz and 3.20 GHz. The governor "schedutil" may decide which speed to use within this range. current CPU frequency: 800 MHz (asserted by call to hardware) boost state support: Supported: no Active: no Boost States: 0 Total States: 4 Pstate-P0: 3200MHz Pstate-P1: 2500MHz Pstate-P2: 2100MHz Pstate-P3: 800MHz
並在筆記型電腦上
Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
返回:analyzing CPU 0: driver: intel_pstate CPUs which run at the same hardware frequency: 0 CPUs which need to have their frequency coordinated by software: 0 maximum transition latency: Cannot determine or is not supported. hardware limits: 800 MHz - 3.50 GHz available cpufreq governors: performance powersave current policy: frequency should be within 800 MHz and 3.50 GHz. The governor "powersave" may decide which speed to use within this range. current CPU frequency: Unable to call hardware current CPU frequency: 1.70 GHz (asserted by call to kernel) boost state support: Supported: yes Active: yes
在筆記型電腦上,BIOS 中沒有這個詞
overclocking
,但在桌面上有一個Overclocking Profile
,裡面的內容是:Overclocking Profile 1 [None] Overclocking Profile 2 [None] Overclocking Profile 3 [None] Overclocking Profile 4 [None] Overclocking Profile 5 [None] Overclocking Profile 6 [None] OC Retry Count [3]
lsmod | grep freq
在桌面上返回:pcc_cpufreq 16384 0 acpi_cpufreq 24576 0
和筆記型電腦上的相同返回:
pcc_cpufreq 16384 0
因此,在筆記型電腦上,我首先必須:
echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo
要禁用提升,然後在筆記型電腦和台式機上,我必須像這樣設置限制:
cpupower frequency-set -u 3.00 GHz cpupower frequency-set -d 2.50 GHz
我必須用or括起來
3.00 GHz
and還是用下劃線和 and括起來?我必須在台式機的 BIOS 上做任何事情嗎?桌面上的那些是什麼?我應該為桌面的上限和下限選擇那裡指定的值嗎?筆記型電腦上似乎沒有這樣的頻率步進,所以我可以自由選擇筆記型電腦的 800 MHz 和 3.50 GHz 之間的任何值嗎?對筆記型電腦意味著什麼?2.50 GHz``""``''``3.00_GHz``2.50_GHz``available frequency steps``current CPU frequency: Unable to call hardware
“Linux 中的 CPU 溫度:節流還是讀數錯誤?” 在頻率縮放方面很有幫助,它實際上解決了這個問題,我已經嘗試在筆記型電腦和台式機上使用最大 2.5 GHz,筆記型電腦的性能明顯優於 2.5GHz 的台式機。
在 kdenlive 中渲染 16 分鐘長的影片時,筆記型電腦從未超過 80 度。另一方面,桌面達到了臨界點:在渲染
temp1
時達到PCI Adapter
了 85 次和93 次。temp2``ISA Adapter
編輯
2.1 GHz 的台式機比筆記型電腦好!筆記型電腦的核心溫度在 73 攝氏度左右,從未達到 75 攝氏度,而台式機
temp1
的核心溫度PCI Adapter
在 56 攝氏度左右,從未達到 60temp2
度,ISA Adapter
而在 65 攝氏度左右,從未達到 70 攝氏度!在這一點上,這些機器上的 Windows 10 和 Linux 在渲染時間方面沒有區別!筆記型電腦上的唯一區別是 Windows 10 在渲染過程中至少會發出一些聲音(比如敲擊塑膠),我在 Linux 上沒有聽到這種聲音!但是,如果禁用
intel_pstate
!