Ubuntu 18.04系統(tǒng)的風(fēng)扇管理就沒(méi)有Windows強(qiáng)大,有些機(jī)器的的噪音很影響平時(shí)的工作,又不想換風(fēng)扇,現(xiàn)在整理了這篇文章解決Ubuntu電源管理的一些問(wèn)題。
更多參考:http://www.sfodin.cn/Linux/2017-12/149232.htm
系統(tǒng): Ubuntu 18.04.4 LTS
問(wèn)題:CPU風(fēng)扇聲音大
解決:安裝tlp
目前,tlp是我試過(guò)的唯一可以在18.04,16.04,14.04完美控制CPU和風(fēng)扇的軟件
[linuxidc@linux:~/www.linuxidc.com]$ sudo add-apt-repository ppa:linrunner/tlp
[linuxidc@linux:~/www.linuxidc.com]$ sudo apt-get install tlp tlp-rdw
配置
sudo gedit /etc/tlp.conf
會(huì)出現(xiàn)配置文件,要使該行生效的意思,就要去掉改行前面的”#”
# Set to 0 to disable, 1 to enable TLP.
TLP_ENABLE=1
設(shè)置數(shù)值=1,確保TLP是生效的.
以下也是需要修改的地方
# Set Intel P-state performance: 0..100 (%)
# Limit the max/min P-state to control the power dissipation of the CPU.
# Values are stated as a percentage of the available performance.
# Requires an Intel Core i processor with intel_pstate driver.
CPU_MIN_PERF_ON_AC=0
CPU_MAX_PERF_ON_AC=60
CPU_MIN_PERF_ON_BAT=0
CPU_MAX_PERF_ON_BAT=30
這個(gè)選項(xiàng)前面原先是有#的,在修改好CPU_MAX_PERF_ON_AC后保存退出。
最后, 在終端輸入,啟動(dòng)電源模式
sudo tlp ac
如果你想進(jìn)一步設(shè)置,比如說(shuō)關(guān)閉CPU的睿頻功能,改成0即可
# Set the CPU “turbo boost” feature: 0=disable, 1=allow
# Requires an Intel Core i processor.
# Important:
# – This may conflict with your distribution’s governor settings
# – A value of 1 does *not* activate boosting, it just allows it
CPU_BOOST_ON_AC=0
CPU_BOOST_ON_BAT=0
如果沒(méi)效果,請(qǐng)重啟電腦,或者看看是不是開(kāi)啟了ac模式,或者是不是#忘記去掉了,這時(shí)電腦的聲音應(yīng)該安靜下來(lái)了。