Overview

Request 1166521 accepted

Add Conflicts against power-profiles-daemon and tlp as noted in tuned.service and tuned's README.md.

Loading...

Thomas Renninger's avatar

The services do conflict, but not the packages themselves?

Is there a specific problem installing both (or all 3 packages)?

One must only take care that the services are not running at the same time and this is done here: tuned.service Conflicts=cpupower.service auto-cpufreq.service tlp.service power-profiles-daemon.service Otherwise it's an advantage to be able to install all tools and try out which one saves most battery or is most performant by switching the services on/off and compare.


Atri Bhattacharya's avatar

No, in fact users must be actively discouraged from having multiple power tuning apps installed in their systems for multiple reasons:

  • Simply having conflicts in the service does not cut it, as race conditions during boot may disable one in preference to other, leading to hard to diagnose bugs like these: https://github.com/redhat-performance/tuned/issues/396
  • Disabling the service does not disable TLP entirely (not sure if something similar applies to power-profiles-daemon): https://github.com/linrunner/TLP/issues/564#issuecomment-874967167
  • I believe, at least on the GNOME pattern, power-profiles-daemon is installed by default making its presence kind of hidden from the user. Then a curious user installs tuned (which as of now, goes through swimmingly) but cannot figure out just why they cannot enable tuned.service. It would be much better to inform the user right during package installation that tuned would conflict with power-profiles-daemon and tlp in every possible way.

If users want to try out tuned, they should be, to be on the safer side, recommended to do so by fully uninstalling any existing instances of tlp or ppd. Conflicts at the package level does that.


Atri Bhattacharya's avatar

So, what is the verdict here, chief?


Request History
Atri Bhattacharya's avatar

badshah400 created request

Add Conflicts against power-profiles-daemon and tlp as noted in tuned.service and tuned's README.md.


Thomas Renninger's avatar

trenn accepted request

Ok, let's go for it.
Thanks.

openSUSE Build Service is sponsored by