[solved] check cpu freq ..??

Moderators: odroid, mdrjr

[solved] check cpu freq ..??

Unread postby 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.
odroid N-1 16Gb emmc orange..
phaseshifter
 
Posts: 2841
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

Re: check cpu freq ..??

Unread postby 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
DarkBahamut
 
Posts: 305
Joined: Tue Jan 19, 2016 10:19 am
languages_spoken: english
ODROIDs: XU4

Re: check cpu freq ..??

Unread postby 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..
odroid N-1 16Gb emmc orange..
phaseshifter
 
Posts: 2841
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

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

Unread postby 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..???
odroid N-1 16Gb emmc orange..
phaseshifter
 
Posts: 2841
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

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

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

Yes. odroid-cpu-control uses it to display in a more compact way.
User avatar
mad_ady
 
Posts: 3841
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2


Return to Issues

Who is online

Users browsing this forum: No registered users and 1 guest