Re: F35 Change: Use power-profiles-daemon on Workstation (late Self-Contained Change proposal)
On Mon, Jul 26, 2021 at 6:15 AM Vitaly Zaitsev via devel wrote: > > On 23/07/2021 17:16, Michael Catanzaro wrote: > > Hi, there is an answer here: > > https://gitlab.freedesktop.org/hadess/power-profiles-daemon#tuned-and-tlp > > > Both are good projects to use for the purpose of experimenting with > > particular > > settings to see if they'd be something that can be implemented by default, > > or to put some fine-grained, static, policies in place on server-type > > workloads > > which are not as fluid and changing as desktop workloads can be. > > Instead of adding new desktop-oriented profiles for the TuneD daemon, > they are implementing another daemon from scratch. > > Tuned works fine on desktops with custom profiles like this: > > [main] > summary=Optimize for Linux gaming > include=desktop > > [cpu] > governor=performance > energy_perf_bias=performance > > End users are able to switch between profiles with tuned-adm (CLI) or > tuned-switcher (GUI). > At this point, both GNOME (40) and KDE Plasma (5.23) have implemented support for power-profile-daemon's APIs, so we're kind of stuck here. While I would have preferred to see more investment into the Dynamic Tuning Daemon (tuned), that's not what happened. I don't know if the Red Hat Performance group was ever contacted before power-profiles-daemon development started, but unfortunately, it doesn't matter now. -- 真実はいつも一つ!/ Always, there's only one truth! ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: F35 Change: Use power-profiles-daemon on Workstation (late Self-Contained Change proposal)
On Sat, Jul 24 2021 at 03:25:17 PM -0700, Michel Alexandre Salim via devel wrote: Could this be made explicit in the testing instructions, or is the version in F34 sufficiently different that any feedback from F34 users will likely not be relevant? Sure, I'll add it to the instructions. There is one important behavior difference between F34 and F35: in F34 the setting is nonpersistent, so it gets reset when you reboot. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: F35 Change: Use power-profiles-daemon on Workstation (late Self-Contained Change proposal)
On Fri, Jul 23, 2021 at 10:09:20AM -0400, Ben Cotton wrote: > https://fedoraproject.org/wiki/Changes/Power_Profiles_Daemon > > == Summary == > We will install power-profiles-daemon in Fedora Workstation and enable > it by default. power-profiles-daemon allows the user to choose between > optimizing for system performance or battery life. > Neal kindly informed me that this was actually built for F34 too, and installing the package is sufficient to get it to show in GNOME Control Center's Power pane. Could this be made explicit in the testing instructions, or is the version in F34 sufficiently different that any feedback from F34 users will likely not be relevant? Thanks, -- Michel Alexandre Salim profile: https://keyoxide.org/mic...@michel-slm.name signature.asc Description: PGP signature ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: F35 Change: Use power-profiles-daemon on Workstation (late Self-Contained Change proposal)
On 23/07/2021 23:42, Michael Catanzaro wrote: If tuned wants to be an alternative, it would need a compatible D-Bus API. TuneD already has a powerful D-Bus API. tuned-adm and tuned-switcher uses it. gnome-control-center should add integration with TuneD and not vice versa. -- Sincerely, Vitaly Zaitsev (vit...@easycoding.org) ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: F35 Change: Use power-profiles-daemon on Workstation (late Self-Contained Change proposal)
On Fri, Jul 23, 2021 at 10:09:20AM -0400, Ben Cotton wrote: > == Benefit to Fedora == > Shipping power-profiles-daemon enables GNOME to display and offer > users the ability to adjust configuration related to power management > similar to other operating systems, which can improve the quality of > the on-battery experience (with respect to longevity of operating on > battery power). Are there any statistics about how much battery life is gained? Zbyszek ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: F35 Change: Use power-profiles-daemon on Workstation (late Self-Contained Change proposal)
On Fri, Jul 23 2021 at 05:35:11 PM +0200, Vitaly Zaitsev via devel wrote: End users are able to switch between profiles with tuned-adm (CLI) or tuned-switcher (GUI). So to be clear, power-profiles-daemon has integration into gnome-control-center, not an extra app. gnome-settings-daemon integration is incoming, to automatically temporarily switch to battery saving mode when on low battery. If tuned wants to be an alternative, it would need a compatible D-Bus API. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: F35 Change: Use power-profiles-daemon on Workstation (late Self-Contained Change proposal)
On 23/07/2021 17:16, Michael Catanzaro wrote: Hi, there is an answer here: https://gitlab.freedesktop.org/hadess/power-profiles-daemon#tuned-and-tlp Both are good projects to use for the purpose of experimenting with particular settings to see if they'd be something that can be implemented by default, or to put some fine-grained, static, policies in place on server-type workloads which are not as fluid and changing as desktop workloads can be. Instead of adding new desktop-oriented profiles for the TuneD daemon, they are implementing another daemon from scratch. Tuned works fine on desktops with custom profiles like this: [main] summary=Optimize for Linux gaming include=desktop [cpu] governor=performance energy_perf_bias=performance End users are able to switch between profiles with tuned-adm (CLI) or tuned-switcher (GUI). -- Sincerely, Vitaly Zaitsev (vit...@easycoding.org) ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: F35 Change: Use power-profiles-daemon on Workstation (late Self-Contained Change proposal)
Hi, apologies for this change being submitted a little late. The change has actually been fully implemented for a couple months now, and already approved by the Workstation WG (it only affects Workstation), but we feel a change proposal is important for documentation and promotion purposes. On Fri, Jul 23 2021 at 04:59:25 PM +0200, Vitaly Zaitsev via devel wrote: On 23/07/2021 16:09, Ben Cotton wrote: We will install power-profiles-daemon in Fedora Workstation and enable it by default. power-profiles-daemon allows the user to choose between optimizing for system performance or battery life. Why not TuneD[1] (developed by Red Hat by the way)? Hi, there is an answer here: https://gitlab.freedesktop.org/hadess/power-profiles-daemon#tuned-and-tlp Michael ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: F35 Change: Use power-profiles-daemon on Workstation (late Self-Contained Change proposal)
On 23/07/2021 16:09, Ben Cotton wrote: We will install power-profiles-daemon in Fedora Workstation and enable it by default. power-profiles-daemon allows the user to choose between optimizing for system performance or battery life. Why not TuneD[1] (developed by Red Hat by the way)? TuneD is a system tuning service for Linux. Features: - monitors connected devices using the udev device manager - tunes system settings according to a selected profile - supports various types of configuration like sysctl, sysfs, or kernel boot command line parameters, which are integrated in a plug-in architecture - supports hot plugging of devices and can be controlled from the command line or through D-Bus, so it can be easily integrated into existing administering solutions: for example, with Cockpit - stores all its configuration cleanly in one place – in the TuneD profile – instead of having configuration on multiple places and in custom scripts [1]: https://tuned-project.org/ -- Sincerely, Vitaly Zaitsev (vit...@easycoding.org) ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
F35 Change: Use power-profiles-daemon on Workstation (late Self-Contained Change proposal)
https://fedoraproject.org/wiki/Changes/Power_Profiles_Daemon == Summary == We will install power-profiles-daemon in Fedora Workstation and enable it by default. power-profiles-daemon allows the user to choose between optimizing for system performance or battery life. == Owner == * Name: [[User:Hadess| Bastien Nocera]] * Email: bnoc...@redhat.com * Name: [[User:Catanzaro|Michael Catanzaro]] * Email: mcatanz...@redhat.com * Name: [[User:Ngompa|Neal Gompa]] * Email: ngomp...@gmail.com == Detailed Description == From the upstream README: power-profiles-daemon offers to modify system behaviour based upon user-selected power profiles. There are 3 different power profiles, a "balanced" default mode, a "power-saver" mode, as well as a "performance" mode. The first 2 of those are available on every system. The "performance" mode is only available on select systems and is implemented by different "drivers" based on the system or systems it targets. In addition to those 2 or 3 modes (depending on the system), "actions" can be hooked up to change the behaviour of a particular device. For example, this can be used to disable the fast-charging for some USB devices when in power-saver mode. GNOME's Settings and shell both include interfaces to select the current mode, but they are also expected to adjust the behaviour of the desktop depending on the mode, such as turning the screen off after inaction more aggressively when in power-saver mode. == Feedback == == Benefit to Fedora == Shipping power-profiles-daemon enables GNOME to display and offer users the ability to adjust configuration related to power management similar to other operating systems, which can improve the quality of the on-battery experience (with respect to longevity of operating on battery power). == Scope == * Proposal owners: Add Recommends: power-profiles-daemon to gnome-control-center package. Add systemd preset to fedora-release. * Other developers: N/A (not needed for this Change) * Release engineering: N/A (not needed for this Change) * Policies and guidelines: N/A (not needed for this Change) * Trademark approval: N/A (not needed for this Change) * Alignment with Objectives: Nope. == Upgrade/compatibility impact == power-profiles-daemon will be installed on upgrade to Fedora 35 if gnome-control-center is installed. Since the default power profile is the balanced mode, users should not notice performance changes (sans bugs), but the option to manually select either performance or power saving mode will now be present. == How To Test == Visit the Power settings panel in gnome-control-center and switch between performance, balanced, and power save mode. Look for unexpected behavior changes over long periods of time. For example, selecting Performance mode should improve system performance but reduce battery life. Selecting power save mode should reduce performance but increase battery life. Selecting balanced mode should not change anything. The selected power save mode should persist across system reboots. == User Experience == GNOME Control Center will show a new section in the Power page giving users the option to select power modes: * Balanced (the default) * Performance (to maximize performance) * Power saver (to maximize battery life) User selection of these profiles will set various tunables to meet the needs as described in the profiles. == Dependencies == gnome-control-center depends on power-profiles-daemon to offer power saving options. If not installed, these options will not be present in the power panel. == Contingency Plan == * Contingency mechanism: we can easily remove the Recommends: in gnome-control-center or the preset in fedora-release if necessary. * Contingency deadline: N/A (not a System Wide Change) * Blocks release? No == Documentation == The only documentation is the upstream project README: https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/blob/main/README.md == Release Notes == Fedora Workstation now ships with power-profiles-daemon installed and enabled. -- Ben Cotton He / Him / His Fedora Program Manager Red Hat TZ=America/Indiana/Indianapolis ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure