Skip to content

solus-hardware-config v15

Compare
Choose a tag to compare
@ikeydoherty ikeydoherty released this 31 Jan 15:30
· 5 commits to master since this release

This release of solus-hardware-config assists in reducing the overall boot time of Solus

  • Convert build system to meson
  • Clean up and merge similarities
  • Rewrite CPU on demand service in C
  • Drop dependency on cpupower binary & package

The cpu-powersave.service can activate (and stop) the cpu-powersave binary, replacing the old on-demand-cpupower-switch.service that utilised bash scripts. As a result, with local testing the service now completes in 39ms as opposed to 109ms on my local hardware. Additionally it is removed from the critical chain to not block other systemd units to further help with parallel boot.

The cpu-powersave service replaces the old service entirely, providing the same functionality. The Solus kernel is configured to use the performance governor by default, and late in the boot (multi-user.target) the unit will transition the system into ondemand for cpufreq systems and powersave for intel_pstate systems. This is all detected completely automatically.

As an additional bonus, users can simply sudo systemctl stop cpu-powersave.service to immediately transition all CPU governors to performance mode (and likewise start again to go back to power saving).

Users wishing to permanently disable this should sudo systemctl mask cpu-powersave.service