Code review comment for ~joalif/ubuntu/+source/systemd:lp1806012

Revision history for this message
Trent Lloyd (lathiat) wrote :

I had a quick look at what other distributions are currently doing.

From what I can see it seems that Fedora and Arch are currently using the 'cpupower' tool (from linux-tools-common on Ubuntu, kernel-tools on Fedora) and then have a systemd service which relatively simply kicks off a call to 'sudo cpupower -c all frequency-set -g powersave' or similar. That systemd service isn't upstream in the kernel though.

RHEL seems to primarily use tuned to drive the change, which has it's own script to manually twiddle the /sys/devices/system/cpu/*/cpufreq/scaling_governor files.

« Back to merge proposal