Changing frequency governor permanently before first boot

Hi,

I have an issue with frequency scaling. Currently, the frequency governor is “ondemand”. I want to make it to “userspace”. Is there any way to change it permanently so that each time I don’t need to change it?
@anon91830841
@srini
@architt
@Loic

Thanks,
Sakthi

There are several ways to achieve this, but I suggest you to install/update cpufrequtils (e.g. with Debian apt-get install cpufrequtils) and add/edit /etc/default/cpufrequtils with the following content:

GOVERNOR="userspace"

Thank you for your support! @Loic