cpufreq总概

cpufreq 涉及到的模块

此图中,1)notifier此事物的影响。

stats

 通过此接口可以看到每个频率运行的时间及调频的总次数。

在默认使用intel pstate的驱动时,看不到这些参数。

his gives the amount of time spent in each of the frequencies supported by
this CPU. The cat output will have "<frequency> <time>" pair in each line, which
will mean this CPU spent <time> usertime units of time at <frequency>. Output
will have one line for each of the supported frequencies. usertime units here
is 10mS (similar to other time exported in /proc).

::

    <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat time_in_state
    3600000 2089
    3400000 136
    3200000 34
    3000000 67
    2800000 172488


- **total_trans**

This gives the total number of frequency transitions on this CPU. The cat
output will have a single count which is the total number of frequency
transitions.

::

    <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat total_trans
    20

P-state

In truth, a P-state is both a frequency and voltage operating point. Both are scaled as the P-state increases. 

是频率与电压 操作对。

其他资料

https://lenovopress.com/lp0870.pdf

https://www.kernel.org/doc/Documentation/cpu-freq/intel-pstate.txt

https://events.static.linuxfound.org/sites/events/files/slides/LinuxConEurope_2015.pdf

https://software.intel.com/content/www/us/en/develop/blogs/what-exactly-is-a-p-state-pt-1.html  

linux cpufreq framework(1)_概述

CPU frequency scaling - ArchWiki    cpu freq和intel  p_state两个驱动使用说明

https://01.org/linux-thermal-daemon

GitHub - intel/thermal_daemon: Thermal daemon for IA  cpu温度监控

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

proware

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值