web-dev-qa-db-ja.com

CPUスケーリング頻度を設定できません

私はclevow605sj(Eurocom Electra 2)にUbuntu 15.04を持っていますが、ファンがオンになると非常に大きくなります。これが受け入れられない場合もあるので、実際にはCPUを絞って、パフォーマンスを低下させたいと思います。問題は、ユーザースペースガバナーを利用できるようにできないことです。現在私は持っています:

$ Sudo cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
performance powersave

だから私は走った:

$ Sudo modprobe cpufreq_conservative cpufreq_ondemand cpufreq_powersave cpufreq_stats cpufreq_userspace freq_table

エラーメッセージが表示されないため、このコマンドは成功したようです。しかしながら、

$ lsmod | grep freq

何も返しません。私はモジュールについてあまり知らないので、非常に単純な間違いをしている可能性があります。私はここでこのガイドに従おうとしています: https://www.pantz.org/software/cpufreq/usingcpufreqonlinux.html 。役立つ場合のcpufreq-infoの出力は次のとおりです。

$ cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to [email protected], please.
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: 800 MHz - 3.20 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 800 MHz and 3.20 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 3.01 GHz (asserted by call to hardware).
analyzing CPU 1:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 0.97 ms.
  hardware limits: 800 MHz - 3.20 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 800 MHz and 3.20 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 2.92 GHz (asserted by call to hardware).
analyzing CPU 2:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 2
  CPUs which need to have their frequency coordinated by software: 2
  maximum transition latency: 0.97 ms.
  hardware limits: 800 MHz - 3.20 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 800 MHz and 3.20 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 3.06 GHz (asserted by call to hardware).
analyzing CPU 3:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 3
  CPUs which need to have their frequency coordinated by software: 3
  maximum transition latency: 0.97 ms.
  hardware limits: 800 MHz - 3.20 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 800 MHz and 3.20 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 3.03 GHz (asserted by call to hardware).
1
leptogenesis

もう少し掘り下げてみると、intel_pstateドライバーは実際には/ sys/devices/system/cpu/intel_pstate/max_perf_pctでこれに対して完全に別個のメカニズムを持っていることがわかりました: https://www.kernel.org/doc/ Documentation/cpu-freq/intel-pstate.txt 。古いcpufreqガバナーの方法でこれをうまく再生する方法があるかどうかを確認するのはまだ興味深いでしょう、そしてなぜmodprobeがエラーを返さないのに効果がないように見えるのか興味がありますが、今のところこれは私。

1
leptogenesis