
デバイスがイメージング中の場合:
RHEL6.x
- CPU速度は、すべてのCPUに対して3.3 Ghzの全体速度を報告します。
- cpupowerutilsがインストールされていません
RHEL7.x
- CPU速度はさまざまです(以下の例を参照)。
- cpupowerutils インストール済み
以下を確認しました。
/sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
RHEL7.xで。performance
すべてのCPUで動作すると言われています。- kondemandが実行されていることを確認するには、を使用します
pgrep -lf kondemand
。 - cpuspeedサービスが実行されていることを確認するには、
service cpuspeed status
.notfoundを使用してください。
RHEL 7.x CPU周波数の例:
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
CPU電源出力:
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
答え1
RHEL7 には、CPU スケーリングを含むさまざまな設定に関連する「tuned」という新しいデーモンが導入されました。実行していること、何が間違っているかを確認してください。
答え2
私は好きです
sudo watch -n 1 cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq
ターミナルウィンドウでCPU速度を確認してください。
tuned
変更に応じてリアルタイムで電源プロファイルを変更する
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