CachyOS / CachyOS/CachyOS-Settings
Consider to switch to tuneD from power-profiles-daemon
- Dominant language
- Shell
- Stars
- 443
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Description
## 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:
- sched-ext integration via scx-loader (tested and working)
- 3D V Cache changes to switch easily between "performance" and cache. This would then also remove the wiki entry for it (https://wiki.cachyos.org/configuration/general_system_tweaks/#amd-3d-v-cache-optimizer)
- Backported scaling_min_freq from ppd to keep feature parity (not tested)
### 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
Contributor guide
Assessment
This issue has not been assessed yet.