acpitz-virtual-0
Adapter: Virtual device
temp1: +50.0°C (crit = +100.0°C)
thinkpad-isa-0000
Adapter: ISA adapter
fan1: 3274 RPM
temp1: +50.0°C
temp2: +0.0°C
temp3: +0.0°C
temp4: +0.0°C
temp5: +0.0°C
temp6: +0.0°C
temp7: +0.0°C
temp8: +0.0°C
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +50.0°C (high = +95.0°C, crit = +105.0°C)
Core 2: +44.0°C (high = +95.0°C, crit = +105.0°C)
我的二手x201天热不开空调很容易cpu过热直接断电,将笔记本cpu对应下面垫高通风会好一点。因为是集成的intel显卡,所以常见的Linux下显卡发热问题应该不会。
从深度商店搜cpufreq,安装了cpufrequtils,装了看不到有哪些命令
x201@x201-pc:~$ dpkg -l cpufreq* ----------->只知道包名称部分,用 -l 选项查看
期望状态=未知(u)/安装(i)/删除(r)/清除(p)/保持(h)
| 状态=未安装(n)/已安装(i)/仅存配置(c)/仅解压缩(U)/配置失败(F)/不完全安装(H)/触发器等待(W)/触发器未决(T)
|/ 错误?=(无)/须重装(R) (状态,错误:大写=故障)
||/ 名称 版本 Architecture 描述
+++-=================-=============-=============-=======================================
ii cpufrequtils 008-1 amd64 utilities to deal with the cpufreq Linu
x201@x201-pc:~$ dpkg -L cpufrequtils -------->知道准确的包名称,用 -L 查看细节了解可用的命令
/.
/usr
/usr/bin
/usr/bin/cpufreq-info ---------> 可用的命令
/usr/bin/cpufreq-set ---------> 可用的命令
/usr/bin/cpufreq-aperf ---------> 可用的命令
/usr/share
/usr/share/doc
……
x201@x201-pc:~$ cpufreq-info ----------->查看cpu频率详情
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0: -------------->核心0的情况,我的cpu i7 是双核4线程,所以有4个核心core
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: 10.0 us.
hardware limits: 1.20 GHz - 2.67 GHz ----------->硬件许可的频率范围,下一行为可用的频率步进值
available frequency steps: 2.67 GHz, 2.67 GHz, 2.53 GHz, 2.40 GHz, 2.27 GHz, 2.13 GHz, 2.00 GHz, 1.87 GHz, 1.73 GHz, 1.60 GHz, 1.47 GHz, 1.33 GHz, 1.20 GHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance---->cpu频率使用策略:节能(最低频率)/平衡/用户定义/省电/最佳性能(全速运行)
current policy: frequency should be within 1.20 GHz and 2.40 GHz. --------->我改过后的,所以频率范围为 1.20GHz到2.40GHz,策略为用户自定义
The governor "userspace" may decide which speed to use
within this range.
current CPU frequency is 1.33 GHz.
cpufreq stats: 2.67 GHz:1.41%, 2.67 GHz:0.05%, 2.53 GHz:0.14%, 2.40 GHz:0.14%, 2.27 GHz:0.19%, 2.13 GHz:0.17%, 2.00 GHz:0.23%, 1.87 GHz:0.25%, 1.73 GHz:0.32%, 1.60 GHz:0.33%, 1.47 GHz:0.35%, 1.33 GHz:10.13%, 1.20 GHz:86.28% (12466)
接下来还有3个core的分析
对每个核进行设定的方式类似
sudo cpufreq-set -c 0 -g userspace -d 1.20GHz -u 2.40GHz ------->设定核心0,采用userspace用户定义的策略,最低频率1.20GHz,最高2.40GHz