On 25/11/03 05:42PM, zyxhere💭 wrote:
> On Sun, 2025-10-26 at 11:38 -0400, Kenton Groombridge wrote:
> > Hi,
> > 
> > A little while ago the upstream TuneD project added their own
> > implementation of power-profiles-daemon, tuned-ppd. At a high level,
> > both of these services provide a D-Bus API to set various power states
> > on the system, e.g. "powersave" or "performance".
> > 
> > While modifying the ebuild for sys-apps/tuned to install it[1], I
> > figured we ought to go ahead and switch the default implementation of
> > power-profiles-daemon in its reverse dependencies to sys-apps/tuned for
> > the following reasons:
> > 
> > 1) The upstream power-profiles-daemon project[2] appears to have
> > stalled, with no activity in over 8 months.
> > 2) TuneD provides more features and more available power profiles. Some
> > of these profiles are already well optimized for various workloads.
> > 3) TuneD arguably has better support, having been around for more than a
> > decade.
> > 4) Users who wish to use power-profiles-daemon anyway can just install
> > it manually instead of TuneD. We're only changing the default here.
> 
> Reading https://bugzilla.redhat.com/show_bug.cgi?id=2293628#c46 makes
> me skeptical about changing the default to it
> > 

I was made aware of this comment before, too. In my short testing I
wasn't able to reproduce the author's claims about about egregious CPU
usage by tuned for the "Thinkpad case." I don't have the capacity to
test the long-running CPU usage claims though.

Maybe the former was was fixed, or maybe it was an isolated incident.
I'm not able to tell. Even so, while the ~3 second CPU time is a
measurable difference, if that difference is a big enough concern for
the attentive user, they have the choice to opt for
power-profiles-daemon anyway.

I think ultimately what matters more here is first impressions for power
management on a new system to a new user. I'm of the opinion that
TuneD's profiles are more refined, cover a wider variety of use cases,
and is much better documented. Again, users have the ability to just
use something else if they want.

> > Looking at other distros, Fedora has already switched to using
> > tuned-ppd[3]. Debian sid still defaults to power-profiles-daemon, but
> > there is a separate tuned-ppd package that can provide it. Arch has no
> > default, as both power-profiles-daemon and tuned-ppd are optional
> > dependencies.
> > 
> > I intend to make this change within the next week or two unless there
> > are any outstanding concerns.
> > 
> > [1] https://github.com/gentoo/gentoo/pull/43982
> > [2] https://gitlab.freedesktop.org/upower/power-profiles-daemon
> > [3] 
> > https://fedoraproject.org/wiki/Changes/TunedAsTheDefaultPowerProfileManagementDaemon

-- 
Kenton Groombridge
Gentoo Linux Developer, SELinux Project

Attachment: signature.asc
Description: PGP signature

Reply via email to