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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

611 Views
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?

Labels (2)
Tags (1)
0 Kudos
2 Replies

519 Views
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 Kudos

519 Views
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 Kudos