Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
在DEEPIN添加启动脚本让CPU自动提速
Experiences and Insight
2017
views ·
1
replies ·
To
floor
Go
ls929931823
deepin
2016-06-17 02:13
Author
对于
自动睿频的CPU,如果插电环境使用,想让CPU全速运行,可使用
sudo cpufreq-set -g performance 但每次重新开机后,此命令失效,仅仅是临时调整而已。
参考网上的将命令加载到自启动文件里,可以解决这个问题。
具体步骤如下,供大家自行参考,因涉及到系统启动层面,所以请谨慎操作。
sudo vi /etc/init.d/max_cpu.sh #启动VI编辑器编辑脚本文件,内容如下:
#!/bin/sh
#chkconfig:max_cpu 80 90
#description:max_cpu
echo "你的管理密码"|sudo cpufreq-set -g performance
接下来保存退出。(VI的具体使用请自行度娘)
sudo chmod +x max_cpu.sh #赋予权限
sudo chkconfig --add max_cpu.sh #将脚本添加到自启动中去
注意:DEEPIN不自带chkconfig,需要自行安装:sudo apt-get install chkconfig
重启查看效果,搞定~
Reply
Like 0
Favorite
View the author
All Replies
gongyf
deepin
2016-06-17 04:28
#1
我只是希望能够显卡能火力全开,装上闭源显卡驱动而不死机,能正常玩刀塔2 就住够了。开源显卡驱动实在是坑爹,这个用专业词语叫将就
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More
具体步骤如下,供大家自行参考,因涉及到系统启动层面,所以请谨慎操作。
sudo vi /etc/init.d/max_cpu.sh #启动VI编辑器编辑脚本文件,内容如下:
#!/bin/sh
#chkconfig:max_cpu 80 90
#description:max_cpu
echo "你的管理密码"|sudo cpufreq-set -g performance
接下来保存退出。(VI的具体使用请自行度娘)
sudo chmod +x max_cpu.sh #赋予权限
sudo chkconfig --add max_cpu.sh #将脚本添加到自启动中去
注意:DEEPIN不自带chkconfig,需要自行安装:sudo apt-get install chkconfig
重启查看效果,搞定~