Skip to content

Rework profiles#2

Open
ventureoo wants to merge 7 commits intocachyosfrom
rework-profiles
Open

Rework profiles#2
ventureoo wants to merge 7 commits intocachyosfrom
rework-profiles

Conversation

@ventureoo
Copy link
Member

It's main part of CachyOS/CachyOS-Settings#216

Unlike the original proposal, it provides only 3 profiles specifically to make tuned-ppd easier to work with by directly mapping profiles for energy saving, normal use and games (so-called performance mode in PPD). Most of profiles are basically just copying our setup from cachyos-settings, but I’ve also added some new ones like radeon_powersave.

It also separates cachyos specific profiles from built-in tuned profiles, for more independence and we might want to move them into another package/repository.

@ventureoo ventureoo requested a review from ptr1337 March 15, 2026 18:24
Copy link
Member

@ptr1337 ptr1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looking okay, but I need to look into the diry_bytes and radeon display stuff. We need to check if those changes are introducing regressions.

Few comments tho

@ventureoo ventureoo force-pushed the rework-profiles branch 2 times, most recently from b3ab7e6 to af6168d Compare March 16, 2026 20:25
Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
There is no big difference with cachyos-powersave, and we want to keep 3
profiles for direct mapping on PPD profiles.

Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
We want to rely only on our own profiles to avoid regressions due to
changes in the tuned upstream and possibly move them into a separate package.

Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
THP always gives much performance gain in most cases, so in my opinion
it makes no sense to switch to madvise, given that desktop profiles will
be used by default.

Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
@ventureoo ventureoo requested review from 1Naim and ptr1337 March 19, 2026 18:52

[sysctl]
vm.laptop_mode=5
dirty_writeback_centisecs=1500
Copy link
Member

@1Naim 1Naim Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant.

edit: nevermind, different sysctl. It lacks the vm prefix though, is that correct?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You removed this file but forgot to change the profile mapping for tuned-ppd.

I do also notice the lack of a battery profile for balanced. I think we need some form of laptop profile back. The powersave profile seems to be too extreme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants