Wednesday, May 15, 2024
 Popular · Latest · Hot · Upcoming
13
rated 0 times [  13] [ 0]  / answers: 1 / hits: 48497  / 1 Year ago, sat, march 25, 2023, 7:40:35

After playing with GRUB profiling and installing preload, default scaling governor suddenly becomes 'performance' not 'ondemand'. I tried to enable /etc/init.d/ondemand service, but nothing changes - after reboot or resume, governor is always 'performance'. Do anybody knows what happened and how to revert old behaviour.



I'm using HP 6710s laptop.


More From » kernel

 Answers
3

You can Manually set the governor by running the cpufreq-set command (as root).

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the commands below.



sudo cpufreq-set -c 0 -g ondemand


To install cpufreq-set:



sudo aptitude install cpufrequtils



cpufrequtils includes a daemon which allows users to set the desired scaling, governor and min/max clock speeds for all processor
cores at boot-time. Before starting the daemon, edit
/etc/default/cpufrequtils as root, selecting the desired governor and
setting the min/max speed for your CPU(s), for example:



/etc/conf.d/cpufreq


#configuration for cpufreq control
# valid governors:
# ondemand, performance, powersave,
# conservative, userspace
governor="ondemand"
# valid suffixes: Hz, kHz (default), MHz, GHz
min_freq="1GHz"
max_freq="2GHz"



Source: archlinux.org


[#37715] Sunday, March 26, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ersoggles

Total Points: 69
Total Questions: 111
Total Answers: 111

Location: Vanuatu
Member since Sun, Oct 2, 2022
2 Years ago
ersoggles questions
;