i.MX6 Linux BSP CPU frequency governor.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.MX6 Linux BSP CPU frequency governor.

跳至解决方案
11,179 次查看
satoshishimoda
Senior Contributor I

Hi community,

I have a question about i.MX6 Linux BSP (Yocto BSP).

I want to know how the each governor of CPUFREQ driver controls CPU frequency.

My current understanding is as below.

Would you check my understanding and let me know how governors control when conservative or ondemand mode?

conservative : ?

ondemand     : ?

userspace    : Set frequency to the value written in /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed (?)

powersave    : Keep min frequency (?)

interactive  : Enable DVFS (default?)

performance  : Keep max frequency

Best Regards,

Satoshi Shimoda

标记 (3)
0 项奖励
回复
1 解答
6,141 次查看
igorpadykov
NXP Employee
NXP Employee

HI Satoshi

cpu freq governors are general linux attributes and described in common linux docs :

3.2. Using CPUfreq Governors

https://wiki.archlinux.org/index.php/CPU_frequency_scaling

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

as for i.MX6 implementation one can look at sources given in attached

Linux Manual Chapter 24 CPU Frequency Scaling (CPUFREQ) Driver

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
6,142 次查看
igorpadykov
NXP Employee
NXP Employee

HI Satoshi

cpu freq governors are general linux attributes and described in common linux docs :

3.2. Using CPUfreq Governors

https://wiki.archlinux.org/index.php/CPU_frequency_scaling

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

as for i.MX6 implementation one can look at sources given in attached

Linux Manual Chapter 24 CPU Frequency Scaling (CPUFREQ) Driver

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复