On Tue, 15 May 2018 19:59:53 -0600
JD <jd1008(a)gmail.com> wrote:
# /bin/cpupower --cpu all frequency-set -g performance 2G
# /bin/cpupower --cpu all frequency-info | grep "current CPU
frequency is" current CPU frequency is 2.80 GHz (asserted by call to
hardware). current CPU frequency is 2.80 GHz (asserted by call to
hardware).
Cpu can accept frquencies as low as 800MHz.
So, does anyone have a more magical incantation to force the 2 cores
to run at 2.0 GHz?
You could try adding --max? I'm not sure what the default is, might be
--min.
When governor is set to performance, the CPU runs full out all the time.
It is possible to change the governor on a running system, but I'm not
sure how. You could change it to one of the below other than
performance, if it has been compiled into the kernel. As you can see,
I have only the ondemand governor in my kernel.
These are the settings for my CPU, from boot/config-[]
# DEVFREQ Governors
CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=y
# CONFIG_DEVFREQ_GOV_PERFORMANCE is not set
# CONFIG_DEVFREQ_GOV_POWERSAVE is not set
# CONFIG_DEVFREQ_GOV_USERSPACE is not set
# CONFIG_DEVFREQ_GOV_PASSIVE is not set
Also, IIRC, the setting of CPU frequency is usually done directly in the
BIOS / firmware. In the kernel docs they say that some CPUs can't be
set from the kernel (but don't give a list). i.e. the BIOS would be
your only option if you have one of those, and it sounds like you
might.