首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >RHEL 7静止CPU频率缩放

RHEL 7静止CPU频率缩放
EN

Unix & Linux用户
提问于 2015-12-31 20:03:05
回答 2查看 6.6K关注 0票数 2

当机器被描绘成:

RHEL6.x

  • CPU速度报告所有CPU的全部3.3Ghz速度
  • 没有安装cpupowerutils。

RHEL7.x

  • CPU速度不同(如下图所示)
  • 安装了cpupowerutils。

我检查了以下情况:

  • /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor在RHEL7.x.它表示所有CPU的performance
  • 查看kondemand是否使用pgrep -lf kondemand运行。它不是
  • 查看cpuspeed服务是否使用service cpuspeed status运行。没有找到

示例RHEL 7.x cpu频率:

代码语言:javascript
复制
grep -E '^cpu MHz' /proc/cpuinfo
cpu MHz         : 3317.273
cpu MHz         : 2028.210
cpu MHz         : 3464.226
cpu MHz         : 3237.480
cpu MHz         : 3455.332
cpu MHz         : 1913.484
cpu MHz         : 3425.167
cpu MHz         : 2592.304
cpu MHz         : 2746.218
cpu MHz         : 2739.128
cpu MHz         : 3202.417
cpu MHz         : 3368.191
cpu MHz         : 2815.441
cpu MHz         : 3165.292
cpu MHz         : 3327.457
cpu MHz         : 2539.066

电力输出:

代码语言:javascript
复制
cpupower frequency-info
analyzing CPU 0:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 0.97 ms.
  hardware limits: 1.20 GHz - 3.50 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 1.20 GHz and 3.50 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.59 GHz (asserted by call to hardware).
  boost state support:
    Supported: yes
    Active: yes
    3400 MHz max turbo 4 active cores
    3400 MHz max turbo 3 active cores
    3500 MHz max turbo 2 active cores
    3500 MHz max turbo 1 active cores
EN

回答 2

Unix & Linux用户

发布于 2017-02-23 15:25:27

RHEL7引入了一个名为“调优”的新守护进程,它涉及一系列设置,包括cpu扩展。看看这是不是乱七八糟的

票数 1
EN

Unix & Linux用户

发布于 2020-12-22 16:22:49

我喜欢做

代码语言:javascript
复制
sudo watch -n 1  cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq

在终端窗口中查看cpu速度。

使用tuned,您可以实时更改电源配置文件

代码语言:javascript
复制
tuned-adm  active

tuned-adm  list

# to set the current profile do the following

tuned-adm profile  <choice from the list>

从监视命令中观察核心频率的实时变化。

此外,yum install tuned*yum install tuna

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/252559

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档