May 23

Changing CPU frequencies on Linux

CPU frequencies in Linux (Ubuntu specifically) can be temporarily modified by writing to the “scaling_governor”  in -


One needs to be root to be able to write to this file.

The available governors can be found by -

cat s/ys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors

The available governors are – conservative ondemand userspace powersave performance.

By default, the governor is set to “ondemand”, which means the CPU frequency is scaled as required by the system. For maximum performance, the governor should be set as “performance”.

One can do -

sudo update-rc.d ondemand disable

… to keep the governor you set persistent across reboots.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>