A couple months ago, I upgraded kernels on desktop PC from 5.4.231-1 to 6.1.12-1.
Since then, I’ve been experiencing lag spikes in various places - opening folders in Dolphin, editing and saving files in Kate and (spac)emacs, etc takes a few seconds every so often. Even things like running org-clock-in can trigger this lag.
I’ve noticed that most every time this happens, I hear my internal storage HDD spinning up (WD Black), where I frequently save files. Manjaro is installed on a separate SSD.
APM level is 128, which according to hdparm documentation should “not permit spin-down”.
The autosuspend_delay_ms setting is 15 seconds here, not sure if this is normal/default or not. I’ve tried editing this value manually but ran into some readonly issues, so not sure if there’s a proper way to do that.
Anyone have any ideas on what could be the cause of this, or experienced something similar? Before upgrading there was never much lag at all.
It causes more wear to a HDD to have it spin up and down all the time — spindle motor load and head wear due to friction during landing and takeoff — than to keep the thing spinning the whole time. In my case, it’s spinning 24/7, because I normally never power down the computer — UNIX was designed to stay up and running 24/7 anyway.
You’re right, I did have tlp installed. Must’ve been installed as part of a system update or something.
The settings didn’t look that unreasonable, save for maybe AHCI_RUNTIME_PM_TIMEOUT which was set to 15, but AHCHI_RUNTIME_PM_ON_AC wasn’t enabled in the first place.
Do you think it’s worth fiddling with the TLP settings, or is it better to just uninstall it since I’m on desktop?
Either way, I’ll keep observing the lag effects for now.