[Share Experiences] intel处理器驱动的调度问题
Tofloor
poster avatar
fslong
deepin
2023-04-29 18:32
Author

老规矩,还是先交代背景,在昨天那个电源管理帖子https://bbs.deepin.org/post/255788的启发下,我尝试了下选择cpu驱动,有一些发现:

  1. 按理说 intel_pstate是比 intel_cpufreq更新的驱动管理,对于功耗和cpu频率控制应该更好。
  2. 但我昨天尝试从 intel_pstate切换到 intel_cpufreq之后发现真香,不烫了,响应也很快,电源调度变成了 ondermand
  3. 今天另外一台机器也这么弄了下,但离谱的是居然失效了。不管选啥调度,cpu都按主频在跑,反倒不如不改回旧的调度。

这就奇怪了,后来仔细想了下,大概是CPU的不同的原因吧:

  1. 昨天改的起作用的是 i5 6300u,6代笔记本低电压的CPU
  2. 今天改的不起作用的是 i5 8400,8代台式机CPU
  3. 笔记本的调度一般都比较控制功耗,再加上那台机器CPU比较老,改成 intel_cpufreq之后有效果
  4. 台式机一般不太控制功耗,再加上这台机器CPU相对较新,改成 intel_cpufreq反倒效果不好

所以有了下面的猜测,欢迎感兴趣的老铁自行测试:

  1. 老的CPU(6代及以前)不要使用 intel_pstate,可能底层就有一些东西不支持,效果会不太好,切换到旧的 intel_cpufreq驱动反而好一些。
  2. 新一些的CPU(8代及以后)得使用 intel_pstate,不然改成 powersave都按照主频在跑,非常热。

有谁用的是7代CPU,可以测试下,看看是用哪个好。

Reply Favorite View the author
All Replies
fslong
deepin
2023-04-29 18:34
#1

总结下简版就是:老电脑用老驱动,新电脑用新驱动。

Reply View the author
jjcui8595
deepin
2023-04-29 18:50
#2
fslong

总结下简版就是:老电脑用老驱动,新电脑用新驱动。

同意

Reply View the author
Amber
deepin
2023-04-29 18:59
#3

我AMD台式tail

Reply View the author
阿尼樱奈奈
deepin
2023-04-29 19:02
#4
fslong

总结下简版就是:老电脑用老驱动,新电脑用新驱动。

这个可以applaud

Reply View the author
fslong
deepin
2023-04-29 19:58
#5
Amber

我AMD台式tail

intel用deepin都烫手,我想问下,老铁amd用deepin,手还好么?

Reply View the author
jiutian123
deepin
2023-04-29 22:24
#6
fslong

intel用deepin都烫手,我想问下,老铁amd用deepin,手还好么?

怎么切换的,改的那里说一下 那个连接不对confused

Reply View the author
fslong
deepin
2023-04-29 23:01
#7
jiutian123

怎么切换的,改的那里说一下 那个连接不对confused

得改grub,比较敏感操作,你搜下吧,关键字:

关闭intel_pstate

Reply View the author
jiutian123
deepin
2023-04-30 05:05
#8
fslong

得改grub,比较敏感操作,你搜下吧,关键字:

关闭intel_pstate

节能模式 不错 就是 平衡模式还是有点

Reply View the author
Amber
deepin
2023-05-01 04:01
#9
fslong

intel用deepin都烫手,我想问下,老铁amd用deepin,手还好么?

啊,台式机无所谓啦,我都超频上水冷了,还在意它烫不烫手吗?joy

Reply View the author