[solved] check cpu freq ..??

Post Reply
phaseshifter
Posts: 3063
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: N-1..c1+ ..c-2..xu3 lite,xu4...u-3..
u-2...other odroid acc`s as well
Contact:

[solved] check cpu freq ..??

Unread post by phaseshifter » Thu Mar 08, 2018 9:17 am

what code is required to list the cpu cores reported freq`s..pls

at present when i am using this with h-k`s debian

Code: Select all

sudo  cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq
and is showing my large cores at 1.4Ghz and the quad as 1.5ghz

now when i run this code using meveric`s image and mate desktop
i am getting the correct values..displayed with the above code
and have used his cpu control to adjust the cores for max freq`s possible
Last edited by phaseshifter on Thu Mar 08, 2018 9:45 am, edited 1 time in total.
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

DarkBahamut
Posts: 327
Joined: Tue Jan 19, 2016 10:19 am
languages_spoken: english
ODROIDs: XU4, N1
Contact:

Re: check cpu freq ..??

Unread post by DarkBahamut » Thu Mar 08, 2018 9:36 am

scaling_cur_freq is the current frequency in use by the governor

Code: Select all

cat /sys/devices/system/cpu/cpufreq/policy*/scaling_cur_freq
scaling_min_feq = minimum freq currently available to the governor
scaling_max_freq = maximum freq currently available to the governor

cpuinfo_min_freq = minimum freq supported by the CPU
cpuinfo_max_freq = maximum freq supported by the CPU

phaseshifter
Posts: 3063
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: N-1..c1+ ..c-2..xu3 lite,xu4...u-3..
u-2...other odroid acc`s as well
Contact:

Re: check cpu freq ..??

Unread post by phaseshifter » Thu Mar 08, 2018 9:44 am

ok thank`s yes now it reports correctly..

i had also coded @crash`s cpu tip for the governor set to performance..

although still seems odd that 2 different images report different freq`s though..
with my code used..but as you explained thank`s..
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

phaseshifter
Posts: 3063
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: N-1..c1+ ..c-2..xu3 lite,xu4...u-3..
u-2...other odroid acc`s as well
Contact:

Re: [solved] check cpu freq ..??

Unread post by phaseshifter » Fri Mar 09, 2018 2:25 am

Code: Select all

cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq
does this work for any linux in general..???
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

User avatar
mad_ady
Posts: 5385
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Contact:

Re: [solved] check cpu freq ..??

Unread post by mad_ady » Fri Mar 09, 2018 3:34 am

Yes. odroid-cpu-control uses it to display in a more compact way.

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 1 guest