Temperature
Linux 中的程序“lm-sensors”有多可靠?
Linux中的程序有多可靠
lm-sensors
?當我執行時watch sensors
,我看到溫度大幅跳變,在 2 秒的刷新間隔內高達 10 攝氏度。下面的兩個讀數顯示了這一點,兩個螢幕截圖相隔 2 秒,Core 1 在它們之間向下跳躍 8 度。閱讀1:
Every 2.0s: sensors Thu Nov 19 14:02:41 2020 iwlwifi_1-virtual-0 Adapter: Virtual device temp1: +66.0°C acpitz-virtual-0 Adapter: Virtual device temp1: +59.0°C coretemp-isa-0000 Adapter: ISA adapter Package id 0: +67.0°C (high = +100.0°C, crit = +100.0°C) Core 0: +61.0°C (high = +100.0°C, crit = +100.0°C) Core 1: +67.0°C (high = +100.0°C, crit = +100.0°C) Core 2: +60.0°C (high = +100.0°C, crit = +100.0°C) Core 3: +59.0°C (high = +100.0°C, crit = +100.0°C) pch_skylake-virtual-0 Adapter: Virtual device temp1: +55.5°C
2 秒後讀取 2:
Every 2.0s: sensors Thu Nov 19 14:02:43 2020 iwlwifi_1-virtual-0 Adapter: Virtual device temp1: +65.0°C acpitz-virtual-0 Adapter: Virtual device temp1: +61.0°C coretemp-isa-0000 Adapter: ISA adapter Package id 0: +59.0°C (high = +100.0°C, crit = +100.0°C) Core 0: +59.0°C (high = +100.0°C, crit = +100.0°C) Core 1: +59.0°C (high = +100.0°C, crit = +100.0°C) Core 2: +58.0°C (high = +100.0°C, crit = +100.0°C) Core 3: +57.0°C (high = +100.0°C, crit = +100.0°C) pch_skylake-virtual-0 Adapter: Virtual device temp1: +55.5°C
對於新的 AMD 和 Intel CPU,這是完全可以預料的,因為它們的熱量密度非常小,因為晶體管非常小,數十億個晶體管擠在非常小的空間中。
如果您不想看到如此高的溫度或溫度波動,請禁用渦輪增壓:
echo 0 | sudo tee /sys/devices/system/cpu/cpufreq/boost
Intel CPU 可能會有所不同,請諮詢https://askubuntu.com/a/620114