Package Base Details: tuned

Git Clone URL: https://aur.archlinux.org/tuned.git (read-only, click to copy)
Keywords: daemon monitoring python system tuning
Submitter: irtimmer
Maintainer: SunRed
Last Packager: SunRed
Votes: 21
Popularity: 0.82
First Submitted: 2016-01-26 12:09 (UTC)
Last Updated: 2024-02-22 13:30 (UTC)

Packages (2)

Pinned Comments

SunRed commented on 2022-07-04 15:25 (UTC)

The package was missing compiled python modules prior to version 2.18.0-2. Thanks goes to @ChrisTX for the hint. If you encounter errors like these

tuned: /usr/lib/python3.10/site-packages/tuned/__pycache__/__init__.cpython-310.pyc exists in filesystem
tuned: /usr/lib/python3.10/site-packages/tuned/__pycache__/consts.cpython-310.pyc exists in filesystem
tuned: /usr/lib/python3.10/site-packages/tuned/__pycache__/exceptions.cpython-310.pyc exists in filesystem
tuned: /usr/lib/python3.10/site-packages/tuned/__pycache__/logs.cpython-310.pyc exists in filesystem
tuned: /usr/lib/python3.10/site-packages/tuned/__pycache__/patterns.cpython-310.pyc exists in filesystem
tuned: /usr/lib/python3.10/site-packages/tuned/__pycache__/version.cpython-310.pyc exists in filesystem

when updating, append

--overwrite /usr/lib/python3.10/site-packages/tuned/__pycache__\* --overwrite /usr/lib/python3.10/site-packages/tuned/\*/__pycache__\*

to your pacman or AUR helper command when installing/updating.

Latest Comments

1 2 3 Next › Last »

8ar10der commented on 2024-03-21 09:00 (UTC)

@SunRed It works well. Thanks a lot. The default option in the config file is what I am looking for.

SunRed commented on 2024-03-20 21:07 (UTC)

@8ar10der Make sure the tuned-ppd service is off if you don't want to use the power-profiles-daemon compatibility daemon (or just uninstall the optional dependency) or set the config for the ppd daemon in /etc/tuned/ppd.conf accordingly.

E.g. my config for my desktop looks like this:

[main]
# The default PPD profile
default=balanced

[profiles]
# PPD = TuneD
power-saver=desktop-powersave
balanced=desktop
performance=throughput-performance

8ar10der commented on 2024-03-20 12:33 (UTC) (edited on 2024-03-20 12:34 (UTC) by 8ar10der)

An issue? When the service start/restart, it will always switch the tuned profile to the balanced not what I settled in the tuned-adm

tuned.ppd.controller: Switching to profile 'balanced'

SunRed commented on 2024-02-22 13:34 (UTC)

@sanyarajan This happened due to the new ppd target apparently having filesystem conflicts with power-profiles-daemon. I've split the package now and made tuned-ppd optional to install for those who, for whatever reason, need power-profiles-daemon installed and don't want to use the tuned compatibility daemon. Keep in mind that running the service of power-profiles-daemon and cpupower as stated on the readme of the tuned project is deemed incompatible and not supported.

sanyarajan commented on 2024-02-21 21:02 (UTC)

When installing I get an error about conflicting files:

error: failed to commit transaction (conflicting files)
tuned: /usr/share/dbus-1/system-services/net.hadess.PowerProfiles.service exists in filesystem (owned by power-profiles-daemon)
tuned: /usr/share/dbus-1/system.d/net.hadess.PowerProfiles.conf exists in filesystem (owned by power-profiles-daemon)
Errors occurred, no packages were upgraded.

SunRed commented on 2024-02-21 18:30 (UTC)

@frap129 Thanks for the hint. I included it now.

frap129 commented on 2024-02-21 14:42 (UTC) (edited on 2024-02-21 15:35 (UTC) by frap129)

In the latest release, tuned provides another service that allows it to handle dbus calls to power-profiles-daemon. It needs to be installed explicitly, with make install-ppd. I've edited the PKGBUILD do include make DESTDIR="${pkgdir}" install-ppd, and verified that tuned-ppd.service gets installed and runs. Could you add this to the package? Thanks

everyx commented on 2023-05-05 13:29 (UTC)

Traceback (most recent call last):
  File "/usr/bin/tuned", line 27, in <module>
    import tuned.logs
ModuleNotFoundError: No module named 'tuned'

Due to the upgrade of the Python version, you may need to rebuild the package and install it again.

SunRed commented on 2022-11-09 18:28 (UTC)

@everyx imo conflicts should be added if otherwise the package isn't installable due conflicts on the filesystem but not necessarily if functionality overlaps. Since all these packages depend on a systemd service to be active it should be up to the user if packages are installed at the same time and what services are started.

everyx commented on 2022-11-01 02:11 (UTC) (edited on 2022-11-01 02:11 (UTC) by everyx)

Should we add conflict with power-profiles-daemon and cpupower?