未解决
此帖子已超过 5 年
4 消息
0
5192
如何在R730xd上锁定CPU主频?
最近需要在R730xd上锁定CPU主频(为了做研究),但遇到一些困难,现在的设置是这样的:
1)用的操作系统和内核版本是Ubuntu 16.04 and 4.15.0-33-generic.
2)禁用了intel_pstate 驱动 (Add "intel_pstate=disable" to /etc/default/grub)
现在运行 cat /sys/deices/system/cpu/cpu*/cpufreq/scaling_driver 会显示sacpi-cpufreq
2) 用了userspace governor (sudo cpupower frequency-set -g userspace)
现在运行 cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor 会显示 userspace
3) 设置了指定的频率 (sudo cpupower frequency-set -f 2.2G)
现在运行cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq 会显示 2200000
4) 现在的BIOS power management 设置如下:
- CPU Power Management -> OS DBPM
- Memory Frequency -> Maximum Performance
- Turbo Boost -> Disabled
- C1E -> Disabled (When set to Enabled, the processor is allowed to switch to minimum performance state when idle)
- C States -> Disabled (C States allow the processor to enter lower power states when idle)
- Collaborative CPU Performace Control -> Enabled
- Uncore Frequency -> Maximum
- Energy Efficient Policy -> Performance
但是, 如果使用 watch -n 1 "cat /proc/cpuinfo | grep MHz" 来监测CPU频率的话, 会发现频率是实时变化的 (用 i7z 来看也是一样的). 当且仅当负载上去之后 (比如用stress -c 40) CPU的频率才会稳定在2.2GHz.
为了做研究我必须要让CPU频率锁定(在我自己的台式机上是可以实现的),请问在这台服务器上怎么锁住频率?
Monica_Yang
2 Intern
2 Intern
•
1.2K 消息
0
2018年9月18日 00:00
Hi, 硬件层面我看到您已经禁用了超频、C1E、C States等,除此之外我们也暂时没有更好的方法提供给您。建议您可以到intel以及系统相关的论坛去查找一下,看看是否有相似的案例或者相应的建议。
MaoJun
1 消息
0
2018年11月27日 08:00
我们也遇到类似的问题,关闭睿频也不行。但是hp的服务器就完全没问题。
Dell-WenboL
Moderator
Moderator
•
128 消息
0
2018年11月27日 23:00
Dell-WenboL
Moderator
Moderator
•
128 消息
0
2018年11月27日 23:00