Overclocking
#25
(10-27-2016, 05:18 AM)Pander Wrote: Which command gets you the current clock speed and with which command can you change the clock speed?

PS Why don't we make a fork of raspi-config called pine64-config for these kind of things?

CPU clock speeds? 

To get the current clock speed:

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

To alter the current minimum and maximum frequencies (sudo cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies to see valid options):

echo 480000 | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
echo 1152000 | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq

To change the CPU governor (sudo cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors to see available governors):

echo interactive | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

On the pine64-config front, Terra854 has been busy putting together exactly that. I had a quick look at it, and it seems like a solid start to a useful config tool for the pine64. I did encounter a bug on the DietPi debian distro where it wouldn't install cpufrequitils in order to have a nice tool to change the cpu govenour, but you can fix that easily by running apt install cpufrequtils.
  Reply


Messages In This Thread
Overclocking - by coleshores - 03-01-2016, 12:30 PM
RE: Overclocking - by umiddelb - 03-01-2016, 01:30 PM
RE: Overclocking - by coleshores - 03-01-2016, 01:42 PM
RE: Overclocking - by GoZone - 03-10-2016, 01:09 PM
RE: Overclocking - by Ohheyalan - 03-13-2016, 01:18 PM
RE: Overclocking - by hazerty - 03-13-2016, 02:03 PM
RE: Overclocking - by GoZone - 03-24-2016, 08:45 AM
RE: Overclocking - by Andrew2 - 03-24-2016, 09:19 AM
RE: Overclocking - by GoZone - 05-31-2016, 10:22 AM
RE: Overclocking - by g_t_j - 06-05-2016, 03:07 PM
RE: Overclocking - by tllim - 06-06-2016, 01:19 AM
RE: Overclocking - by g_t_j - 06-06-2016, 02:10 PM
RE: Overclocking - by norm24 - 03-24-2016, 11:26 AM
RE: Overclocking - by g_t_j - 06-10-2016, 04:34 PM
RE: Overclocking - by longsleep - 06-10-2016, 10:58 PM
RE: Overclocking - by g_t_j - 06-11-2016, 04:37 AM
RE: Overclocking - by longsleep - 06-11-2016, 06:12 AM
RE: Overclocking - by g_t_j - 06-11-2016, 04:14 PM
RE: Overclocking - by longsleep - 06-12-2016, 01:44 AM
RE: Overclocking - by g_t_j - 06-14-2016, 06:02 AM
RE: Overclocking - by Pepe - 06-25-2016, 01:21 PM
RE: Overclocking - by tllim - 06-25-2016, 02:35 PM
RE: Overclocking - by tllim - 06-25-2016, 03:12 PM
RE: Overclocking - by Pander - 10-27-2016, 05:18 AM
RE: Overclocking - by pfeerick - 10-28-2016, 03:25 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Overclocking available? pine.tree 12 17,454 02-06-2016, 08:52 PM
Last Post: blktiger

Forum Jump:


Users browsing this thread: 1 Guest(s)