【笔记】CPU 性能调节

测试环境:
EGS 服务器;

CPU 频率调节驱动

BIOS 设置 Hardware P-States 为 Native Mode,
BIOS 关闭 EIST,intel_pstate,但是 pstate 只能有 10 个,所以 CPU 频率只能 800MHz ~ 1700 MHz,turbo mode 自动关闭,且不可被开启。

[root@localhost ~]# paste <(ls $intel_pstate) <(cat $intel_pstate/*) | column -s $'\t' -t

hwp_dynamic_boost  0
max_perf_pct       100
min_perf_pct       100
no_turbo           1
num_pstates        10
status             active
turbo_pct          0

[root@localhost ~]# 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:  Cannot determine or is not supported.
  hardware limits: 800 MHz - 1.70 GHz
  available cpufreq governors: performance powersave
  current policy: frequency should be within 800 MHz and 1.70 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 1.65 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes

BIOS 设置 Hardware P-States 为Native Mode with No Legacy Support。
BIOS 开启/关闭 EIST,intel_pstate,但是 pstate 只能有 10 个,所以 CPU 频率只能 800MHz ~ 1700 MHz,turbo mode 自动关闭,且不可被开启。

BIOS 设置 Hardware P-States 为 Disable。
BIOS 开启或关闭 EIST,intel_cpufreq。pstate 状态个数识别正常。但是工作频率一直在标称频率。turbo mode 自动关闭,且不可被开启。

[root@localhost ~]# paste <(ls $intel_pstate) <(cat $intel_pstate/*) | column -s $'\t' -t

max_perf_pct  100
min_perf_pct  100
no_turbo      1
num_pstates   31
status        passive
turbo_pct     59

[root@localhost ~]# cpupower frequency-info
analyzing CPU 0:
  driver: intel_cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 20.0 us
  hardware limits: 800 MHz - 2.00 GHz
  available cpufreq governors: conservative ondemand userspace powersave performance schedutil
  current policy: frequency should be within 2.00 GHz and 2.00 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 2.00 GHz (asserted by call to kernel)
  boost state support:
    Supported: no
    Active: no

BIOS 设置 Hardware P-States 为 Out of Band Mode。
OS 内,没有 /sys/devices/system/cpu/intel_pstate 文件夹,没有 /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver 文件。


CPU frequency scaling
CPU Performance Scaling
谁动了我的 CPU 频率 —— CPU 性能之迷 Part 2

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值