Add tuned power profile defaults

Make PPD power profiles go through our own tuned wrappers.
Keep the wrappers close to upstream TuneD defaults while adding PCIe ASPM
settings per profile, and use a Performance profile more suited for
desktops instead of inheriting throughput-performance's server-esque VM
and disk tuning, which probably does more harm than good by messing with
dirty_bytes and disk readahead - wasting cache.
This commit is contained in:
Thomas Duckworth
2026-07-03 09:08:17 +00:00
parent 6d073eb6ca
commit bfa96b06c2
6 changed files with 74 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
# SPDX-FileCopyrightText: 2026 Thomas Duckworth <tduck@filotimoproject.org>
[main]
default=balanced
battery_detection=true
sysfs_acpi_monitor=true
[profiles]
power-saver=kde-linux-power-saver
balanced=kde-linux-balanced
performance=kde-linux-performance
[battery]
balanced=kde-linux-balanced-battery
power-saver=kde-linux-power-saver-battery

View File

@@ -0,0 +1,9 @@
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
# SPDX-FileCopyrightText: 2026 Thomas Duckworth <tduck@filotimoproject.org>
[main]
summary=KDE Linux balanced profile for battery power
include=balanced-battery
[sysfs]
/sys/module/pcie_aspm/parameters/policy=powersave

View File

@@ -0,0 +1,9 @@
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
# SPDX-FileCopyrightText: 2026 Thomas Duckworth <tduck@filotimoproject.org>
[main]
summary=KDE Linux balanced profile
include=balanced
[sysfs]
/sys/module/pcie_aspm/parameters/policy=default

View File

@@ -0,0 +1,22 @@
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
# SPDX-FileCopyrightText: 2026 Thomas Duckworth <tduck@filotimoproject.org>
[main]
summary=KDE Linux performance profile
include=balanced
[cpu]
governor=performance
energy_perf_bias=performance
energy_performance_preference=performance
min_perf_pct=100
boost=1
[acpi]
platform_profile=performance
[scsi_host]
alpm=max_performance
[sysfs]
/sys/module/pcie_aspm/parameters/policy=performance

View File

@@ -0,0 +1,9 @@
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
# SPDX-FileCopyrightText: 2026 Thomas Duckworth <tduck@filotimoproject.org>
[main]
summary=KDE Linux power saver profile for battery power
include=kde-linux-power-saver
[sysfs]
/sys/module/pcie_aspm/parameters/policy=powersupersave

View File

@@ -0,0 +1,9 @@
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
# SPDX-FileCopyrightText: 2026 Thomas Duckworth <tduck@filotimoproject.org>
[main]
summary=KDE Linux power saver profile
include=powersave
[sysfs]
/sys/module/pcie_aspm/parameters/policy=powersave