怎样从intel_cpufreq回到intel_pstate
Tofloor
poster avatar
rekees2020
deepin
2020-09-20 23:55
Author
看了@jingle回复别人的帖子说可以去app4deepin.com升级内核,确实好用,已经升到5.8.10 xanmod1但是这个内核对CPU的功率控制用的是intel_pstate的被动模式,即intel_cpufreq
看到xanmod论坛上说,在grub里加intel_pstate=enable就可以回到intel_pstate,但是无效
权宜之计是开机自动运行echo active|sudo tee /sys/devices/system/cpu/intel_pstate/status
有没有更好的方法?
Reply Favorite View the author
All Replies
avatar
SamLukeYes
deepin
2020-09-21 00:21
#1
可以参考这个方法创建一个 systemd 服务:https://github.com/tweakdeveloper/adb-starter
这样就不用每次手动执行命令了
Reply View the author
avatar
joo
deepin
2020-09-21 06:00
#2
Reply View the author
avatar
rekees2020
deepin
2020-09-21 07:07
#3
本帖最后由 rekees2020 于 2020-9-20 23:11 编辑

没有直接关系
我这个帖子说的问题是,5.8.10 xanmod1内核把intel_pstate驱动调到了被动模式,即intel_cpufreq
贴出来的链接没提到intel_pstate的两个模式-- active和passive
问题其实已经解决了,就是用echo active|sudo tee /sys/devices/system/cpu/intel_pstate/status,只是考虑选择用什么方式实现这条命令开机自动运行,可选的方式很多
Reply View the author
avatar
SamLukeYes
deepin
2020-09-21 07:18
#4
https://bbs.deepin.org/post/202549
没有直接关系
我这个帖子说的问题是,5.8.10 xanmod1内核把intel_pstate驱动调到了被动模式,即intel_cpuf ...

用 systemd 吧,我在 2 楼发的是一个例子,改成你的命令就行了
Reply View the author
avatar
howdeep
deepin
2021-03-02 06:52
#5

在grub里加intel_pstate=active就可以回到intel_pstate,注意是active,不是enable

Reply View the author