We used to set that to powersave (and ondemand on non-pstate) in ondemand.service, but have since removed the service in groovy.
I believe the default governor kernel-side outside Ubuntu is usually CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND, which translates to ondemand pre-pstates, and powersave on pstates (compare Fedora), whereas Enterprise systems usually pick PERFORMANCE too (compare RHEL)
- probably because most distributions focus on normal end users and enterprise on server and workstation. We don't have that distinction of course, so I'm not sure what the best way out is - default to powersave/ondemand and make server installer write performance - or vice versa default to performance and make ubiquity configure powersave for desktop.
@Colin: I agree with all of that.
Our kernel-side default is not powersave, but performance, across generic and oem, at the very least:
$ grep CPU_FREQ_ DEFAULT_ GOV_.*= y /boot/config-5.* 5.4.0-26- generic: CONFIG_ CPU_FREQ_ DEFAULT_ GOV_PERFORMANCE =y 5.4.0-42- generic: CONFIG_ CPU_FREQ_ DEFAULT_ GOV_PERFORMANCE =y 5.6.0-1018- oem:CONFIG_ CPU_FREQ_ DEFAULT_ GOV_PERFORMANCE =y 5.6.0-1020- oem:CONFIG_ CPU_FREQ_ DEFAULT_ GOV_PERFORMANCE =y
/boot/config-
/boot/config-
/boot/config-
/boot/config-
We used to set that to powersave (and ondemand on non-pstate) in ondemand.service, but have since removed the service in groovy.
I believe the default governor kernel-side outside Ubuntu is usually CONFIG_ CPU_FREQ_ DEFAULT_ GOV_ONDEMAND, which translates to ondemand pre-pstates, and powersave on pstates (compare Fedora), whereas Enterprise systems usually pick PERFORMANCE too (compare RHEL)
- probably because most distributions focus on normal end users and enterprise on server and workstation. We don't have that distinction of course, so I'm not sure what the best way out is - default to powersave/ondemand and make server installer write performance - or vice versa default to performance and make ubiquity configure powersave for desktop.