How is the frequency and % CPU usage related on i.MX6 Sabre SD?

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

How is the frequency and % CPU usage related on i.MX6 Sabre SD?

862 次查看
ramanareddy
Contributor I

Hi,

 I am using i.MX6Q SABRE SD with linux 3.18.29 kernel. I ran the following script on it with two different

frequencies -> 996000 and 792000

I ran the following script:

while :

do

expr 88888888888888 \* 77777777777777777

done

The %CPU used is ~ 30% with both the frequencies. How is this calculated?

标签 (2)
标记 (1)
0 项奖励
回复
2 回复数

770 次查看
b36401
NXP Employee
NXP Employee

This 30% CPU usage meas that it is loaded a bit more than 1/4.
It is exactly what you can see loading one core with these arithmetic calculations and some minor load for interfacing and background.
And the frequency is almost does not matter.

Have a great day,
Victor

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

0 项奖励
回复

770 次查看
ramanareddy
Contributor I

Thanks Victor. But what are effects of different frequencies, if not %CPU usage? If CPU Usage is not dependent on frequency, then what else it is dependent on?

0 项奖励
回复