i.MX8M Plus CPU current frequency dynamic running

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

i.MX8M Plus CPU current frequency dynamic running

Jump to solution
1,199 Views
Maotom
Contributor I

Hi

The script can check i.MX8M plus current running frequency by " sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq". There are 3 kinds available freqencey  1200000, 160000  and 1800000 shown by command "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies". After check current frequency second by second found the CPU frequency run between  1600000 and 1800000 

2025-Aug-01_09:27:17 CPU 52000
1600000
2025-Aug-01_09:27:18 CPU 52000
1600000
2025-Aug-01_09:27:19 CPU 52000
1600000
2025-Aug-01_09:27:20 CPU 52000
1800000
2025-Aug-01_09:27:21 CPU 52000
1800000

What is the policy for CPU frequency dynamic running?

i.MX8M 

0 Kudos
Reply
1 Solution
1,173 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi @Maotom 

Scaling governors are used in the Linux kernel to set the CPU frequency. CPU frequencies can be scaled
automatically depending on the system load either in response to ACPI events or manually by userspace
programs. For more information about governors, read governors.txt from www.kernel.org/doc/Documentation/
cpu-freq/governors.txt.

B.R

View solution in original post

0 Kudos
Reply
3 Replies
1,174 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi @Maotom 

Scaling governors are used in the Linux kernel to set the CPU frequency. CPU frequencies can be scaled
automatically depending on the system load either in response to ACPI events or manually by userspace
programs. For more information about governors, read governors.txt from www.kernel.org/doc/Documentation/
cpu-freq/governors.txt.

B.R

0 Kudos
Reply
1,147 Views
Maotom
Contributor I
Got it,Thanks
0 Kudos
Reply
1,149 Views
Maotom
Contributor I
 
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2144816%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ei.MX8M%20Plus%20CPU%20current%20frequency%20dynamic%20running%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2144816%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3EThe%20script%20can%20check%20i.MX8M%20plus%20current%20running%20frequency%20by%20%22%26nbsp%3Bsudo%20cat%20%2Fsys%2Fdevices%2Fsystem%2Fcpu%2Fcpu0%2Fcpufreq%2Fcpuinfo_cur_freq%22.%20There%20are%203%20kinds%20available%20freqencey%26nbsp%3B%201200000%2C%20160000%26nbsp%3B%20and%201800000%20shown%20by%20command%20%22cat%20%2Fsys%2Fdevices%2Fsystem%2Fcpu%2Fcpu0%2Fcpufreq%2Fscaling_available_frequencies%22.%20After%20check%20current%20frequency%20second%20by%20second%20found%20the%20CPU%20frequency%20run%20between%26nbsp%3B%201600000%20and%201800000%26nbsp%3B%3C%2FP%3E%3CP%3E2025-Aug-01_09%3A27%3A17%20CPU%2052000%3CBR%20%2F%3E1600000%3CBR%20%2F%3E2025-Aug-01_09%3A27%3A18%20CPU%2052000%3CBR%20%2F%3E1600000%3CBR%20%2F%3E2025-Aug-01_09%3A27%3A19%20CPU%2052000%3CBR%20%2F%3E1600000%3CBR%20%2F%3E2025-Aug-01_09%3A27%3A20%20CPU%2052000%3CBR%20%2F%3E1800000%3CBR%20%2F%3E2025-Aug-01_09%3A27%3A21%20CPU%2052000%3CBR%20%2F%3E1800000%3C%2FP%3E%3CP%3EWhat%20is%20the%20policy%20for%20CPU%20frequency%20dynamic%20running%3F%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2Fi.MX8M%2Fpd-p%2Fi.MX8M%22%20class%3D%22lia-product-mention%22%20data-product%3D%22503-1%22%20target%3D%22_blank%22%3Ei.MX8M%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2149047%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX8M%20Plus%20CPU%20current%20frequency%20dynamic%20running%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2149047%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EGot%20it%2CThanks%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2145767%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX8M%20Plus%20CPU%20current%20frequency%20dynamic%20running%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2145767%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F253341%22%20target%3D%22_blank%22%3E%40Maotom%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EScaling%20governors%20are%20used%20in%20the%20Linux%20kernel%20to%20set%20the%20CPU%20frequency.%20CPU%20frequencies%20can%20be%20scaled%3CBR%20%2F%3Eautomatically%20depending%20on%20the%20system%20load%20either%20in%20response%20to%20ACPI%20events%20or%20manually%20by%20userspace%3CBR%20%2F%3Eprograms.%20For%20more%20information%20about%20governors%2C%20read%20governors.txt%20from%20%3CA%20href%3D%22http%3A%2F%2Fwww.kernel.org%2Fdoc%2FDocumentation%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ewww.kernel.org%2Fdoc%2FDocumentation%2F%3C%2FA%3E%3CBR%20%2F%3Ecpu-freq%2Fgovernors.txt.%3C%2FP%3E%0A%3CP%3EB.R%3C%2FP%3E%3C%2FLINGO-BODY%3E