Skip to content

Consider to switch to tuneD from power-profiles-daemon #216

@ptr1337

Description

@ptr1337

power-profiles-daemon

Is currently limited to specific quirks and they are fully hardcoded. Also it does not support a plugin system or equal, which makes it harder to integrate and/or even upstream things.

Tuned

Has very many plugins, which can be used for different usecases. Theyre mainly focused on server workloads tough, but this would be interesting for the Server Edition in the future too.
Its possible to handle CPU, disk, network, scheduler, VM and co with tuned. Adding new specific quirks its enough adding a python file with the plugin system - there would be no further daemon needed or equal.

I have forked tuneD and added following features:

Profiles

I have created profiles for the "cachyos-desktop", which do following (scx is not set, just as an example)

Profile Base AMD X3D scx scaling_min_freq Notes
cachyos-gaming standalone cache scx_lavd (gaming) example nonlinear performance governor, THP=always
cachyos-desktop balanced frequency scx_bpfland (auto) example nonlinear THP=madvise
cachyos-laptop balanced-battery frequency scx_bpfland (powersave) example nonlinear battery-aware
cachyos-powersave powersave frequency scx_bpfland (powersave) example cpuinfo_min maximum savings

All profiles ship vm.swappiness=133 (zram/zstd), sched_autogroup=1, NUMA balancing off, and compaction_proactiveness=0.

  • power-saver→ cachyos-powersave
  • balanced → cachyos-desktop(cachyos-laptop on battery)
  • performance→ cachyos-gaming

we could here also further enhance using PoC or ADIOS Disk scheduler in specific cases. Its pretty interesting

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions