Forum
Queston... How can i get a "real" SoC clock rate? - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Others (/forum-24.html)
+--- Thread: Queston... How can i get a "real" SoC clock rate? (/thread-3990.html)



Queston... How can i get a "real" SoC clock rate? - Exnor - 23rd Aug, 2018 03:55 AM

Edit: Added Kodi stats pic.
So this happens a lot with my Pi (model 1 B 512MiB RAM, vanilla Xbian, etc, etc) but i never really bother to ask (i think? i cant find a thread here where i might have made this question already).

My CPU governor has been set to Performance since way back... so this is not new.

When i try to get the current clock rate/speed of the CPU/GPU and RAM, using xbian-stats i get:
Terminal

Runnin xbian-stats command...

Governor: performance
Memory: 512MB (368MB ARM, 144MB GPU)
Min Freq: 700Mhz | 250Mhz | 500Mhz
Max Freq: 1000Mhz | 500Mhz | 500Mhz
Voltages: +6, 1.200 | 0, 1.200
Other: TEMP_LIMIT=0C
Version: Jul 17 2018 13:28:45, version 4da89b2ba95c8826c492b1d734296c8a1a2c7d2b (clean) (release)
vcg path: /opt/vc/bin/vcgencmd
Codecs: H264 VP8 VORBIS MJPG
Booted: Wed Aug 15 03:29:18 WEST 2018

Time ARM Core h264 Core Temp (Max) IRQ/s RX B/s TX B/s
======== ======= ======= ======= =============== ====== ========== ==========
18:29:07 700Mhz 250Mhz 0Mhz 50.84C (50.84C) 464 0 0
18:29:09 700Mhz 250Mhz 0Mhz 49.77C (50.84C) 474 0 0
18:29:11 700Mhz 250Mhz 0Mhz 49.77C (50.84C) 467 0 0
18:29:14 700Mhz 250Mhz 0Mhz 50.31C (50.84C) 473 0 0^C

But in Kodi system info menu is reported my OC @ 1Ghz correctly (even the Bogomips reported are the expected ones at that clock rate)...


so i googled this and i got:

Terminal

sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
700000

and

Terminal

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
1000000

So my question is... is the unit running @ 700Mhz stock or 1Ghz OC like i've configure it? I get different results with different commands Tongue

Thanks.


RE: Queston... How can i get a "real" SoC clock rate? - Nachteule - 23rd Aug, 2018 04:16 AM

Do you really have set governor to Performance?

Code:
sudo cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

shows you the current governor


RE: Queston... How can i get a "real" SoC clock rate? - Exnor - 23rd Aug, 2018 06:52 AM

(23rd Aug, 2018 04:16 AM)Nachteule Wrote:  Do you really have set governor to Performance?

Code:
sudo cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

shows you the current governor

Well i know the current governor already lol.... but sometimes i get values like the ones iv'e posted in the initial one...

btw
Terminal

sudo cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance

Thanks.