ubuntu系統(tǒng)筆記本電池壞掉性能下降(卡頓解決)
更新時間:2023年10月08日 08:50:22 作者:frank
這篇文章主要為大家介紹了ubuntu系統(tǒng)筆記本電池壞掉性能下降(卡頓解決)方法詳解,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進步,早日升職加薪
問題描述
開機出現(xiàn)以下問題
the ac power adapter type cannot be determined
開機選擇diagnose進行檢查發(fā)現(xiàn)
the battery is reaching the end of its life
顯示電池已經(jīng)到達生命盡頭
問題原因分析
電池壞掉后cpu動不動就跑滿了,因為此時cpu的工作模式被修改了
安裝cpufrequency工具
sudo apt-get install cpufrequtils
查看cpu信息
cpufreq-info
所有內核都變成了powersave的模式
修改模式
sudo cpufreq-set -c 0 -g performance sudo cpufreq-set -c 1 -g performance sudo cpufreq-set -c 2 -g performance sudo cpufreq-set -c 3 -g performance modprobe msr wrmsr 0x1FC 2 //關閉BD PROCHOT watch -n 1 "cat /proc/cpuinfo | grep MHz"
再次查看 cpufreq-info ,此時模式已經(jīng)修改過來,電腦不再卡頓
systemctl stop ondemand systemctl disable ondemand vim /etc/sysfs.conf devices/system/cpu/cpu0/cpufreq/scaling_governor = performance devices/system/cpu/cpu1/cpufreq/scaling_governor = performance devices/system/cpu/cpu2/cpufreq/scaling_governor = performance devices/system/cpu/cpu3/cpufreq/scaling_governor = performance reboot
以上就是ubuntu系統(tǒng)筆記本電池壞掉性能下降(卡頓解決)的詳細內容,更多關于ubuntu系統(tǒng)性能卡頓解決的資料請關注腳本之家其它相關文章!
相關文章
rsync同出出現(xiàn) IO error encountered導致無法刪除文件的解決方法
今天,我在服務器上發(fā)現(xiàn)通過rsync同步的文件有問題,在鏡像服務器這邊的文件沒有同步刪除,于是在終端手工運行了一下命令,發(fā)現(xiàn)有以下報錯IO error encountered — skipping file deletion2018-02-02DELL服務器 Dell PowerEdge服務器RAID卡驅動大全
這篇文章主要介紹了DELL服務器 Dell PowerEdge服務器RAID卡驅動,因為官方的很多系統(tǒng)都不帶陣列卡驅動,需要安裝驅動才可以,一般情況下2003用集成raid驅動的系統(tǒng)才可以安裝或者按F6加載驅動2016-04-04服務器斷電導致虛擬機數(shù)據(jù)丟失的恢復方法詳解
這篇文章主要介紹了服務器斷電導致虛擬機數(shù)據(jù)丟失的恢復方法,較為詳細的分析了服務器斷電導致的數(shù)據(jù)丟失情況與相應的故障處理技巧,需要的朋友可以參考下2018-01-01