-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TLP drastically reduces disk performance when on battery #776
Comments
Hi, very strange indeed. And no, TLP does not touch any hidden tunables, everything can be seen in the output of But maybe just writing a certain tunable, regardless of the value, causes the symptoms. Perhaps in conjunction between kernel and firmware/BIOS, if the latter possibly makes changes depending on the power source. I can only suggest trying around and deactivating individual settings completely using a blank string, as you have already done for the disk parameters. You'll have to reboot after every change. My first suspect would be
Platform profile is implemented by the firmware/BIOS. Good luck. |
Hello, Thank you for your response. On my laptop model, these profiles only affect the thermal envelope allocated to the CPU and GPU, as well as the fan speed/hysteresis. Nothing else. It is only after uninstalling or disabling TLP that I achieve the same performance levels on battery and AC power. However, I noticed that tweaking CPU_SCALING_GOVERNOR_ON_BAT can slightly improve the situation. As a result, I made some adjustments to these parameters, which provide better battery performance, but it still doesn’t match the full performance level available when plugged in or within Windows (on BAT/AC) ℹ️ New (effective) configuration
|
You didn't even respond to my suggestion to deactivate individual settings. Did you try it? Btw, the clearest representation to show your changes to the defaults is:
|
Hello,
I’ve been using TLP for a while, and I suspected that it was significantly slowing down disk performance when I was on battery.
I spent the whole afternoon investigating this suspicion, and it turns out that it is indeed the case, and quite significantly so.
I deliberately set the same values for the disk and CPU parameters in both battery (BAT) and AC modes, yet the issue persists.
Here is a screenshot showing the best performance (from 3 iterations) achieved in the different modes. :
ℹ️ Look for my actual (effective) configuration
When I disable TLP (with
TLP_ENABLE=0
) or uninstall it, I get the correct disk performance in all situations, whether on battery or plugged in.I’ve searched through the official documentation, but I can’t find any parameter that could explain this behavior.
Moreover, since the disk and CPU settings are identical, I should be getting similar results whether the computer is plugged into the wall or on battery. Also, I don't have this issue on Windows 11 23h2 .
Thus, the only explanation I can find is that TLP is affecting more than just these parameters within the system, though I can’t pinpoint exactly where. It seems to be an additional feature causing this issue, and we don’t have the option to fix it through the settings provided by TLP.
Expected behavior
Normally, by using the same disk and CPU settings for both AC and BAT modes, the disk performance should not be affected and should remain similar.
Additional context
System information:
Fedora Linux 41 Kinoite (41.20241228.0)
KDE Plasma version: 6.2.4
KDE Frameworks version: 6.9.0
Qt version: 6.8.1
Kernel version: 6.12.6-200.fc41.x86_64
Graphics Platform: Wayland
CPU: AMD Ryzen 7 6800HS
dGPU: AMD Radeon RX 6700S (disabled)
Memory: 24 GiB
Laptop model: ASUS GA402RJ_GA402RJ
Network card: Mediatek® Wi-Fi 6E MT7922
Disk: NVMe Crucial P3 Plus SSD 4To PCIe Gen4 (CT4000P3PSSD801)
Filesystem: BTRFS on LUKS
TLP 1.6.1 (installed with
rpm-ostree install tlp
)The text was updated successfully, but these errors were encountered: