トップ «前の日記(2020-11-22(日)) 最新 次の日記(2020-11-24(火))» 編集

新秀の介の日記

過去の日記

2020-11-23(月) 引き続き晴れ

_ 今日は寝坊

珍しく7時頃まで寝ていた。一度5時過ぎに目が覚めて、また寝たのが影響したのかも。ともあれ、連休の最終日は、のんびりと過ごすことにする。

_ CPUの動作周波数が正しく読めない?

気づいたのは昨日なのだが、cpufreq-utilsなどでCPUの現在の動作周波数が正しく読めていないっぽいことに気づいた。

$ cpufreq-info 
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 4294.55 ms.
  hardware limits: 2.20 GHz - 4.05 GHz
  available frequency steps: 4.05 GHz, 2.80 GHz, 2.20 GHz
  available cpufreq governors: ondemand, conservative, powersave, userspace, performance, schedutil
  current policy: frequency should be within 2.20 GHz and 4.05 GHz.
                  The governor "schedutil" may decide which speed to use
                  within this range.
  current CPU frequency is 4.05 GHz.
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 4294.55 ms.
  hardware limits: 2.20 GHz - 4.05 GHz
  available frequency steps: 4.05 GHz, 2.80 GHz, 2.20 GHz
  available cpufreq governors: ondemand, conservative, powersave, userspace, performance, schedutil
  current policy: frequency should be within 2.20 GHz and 4.05 GHz.
                  The governor "schedutil" may decide which speed to use
                  within this range.
  current CPU frequency is 4.05 GHz.

---

analyzing CPU 15:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 15
  CPUs which need to have their frequency coordinated by software: 15
  maximum transition latency: 4294.55 ms.
  hardware limits: 2.20 GHz - 4.05 GHz
  available frequency steps: 4.05 GHz, 2.80 GHz, 2.20 GHz
  available cpufreq governors: ondemand, conservative, powersave, userspace, performance, schedutil
  current policy: frequency should be within 2.20 GHz and 4.05 GHz.
                  The governor "schedutil" may decide which speed to use
                  within this range.

とすべてのコア(というかスレッドか)が最大周波数で動作していることになっている。少なくとも、今のRyzen 7 3700Xを導入したときには正しく読めていたので、流石にそれはないはず。今のところは原因は不明だが。

Tags: Debian

Copyright (C) 2005-2012 by Hidenosuke. All rights reserved.
mailto: hidenosuke_at_hidenosuke_dot_org or hideo.oshima_at_gmail_dot_com