This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
software:linux_powersave [2022/09/07 07:02] – [Software for tuning] chris | software:linux_powersave [2022/11/13 12:06] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== What? ===== | ||
+ | I have a Thinkpad T590 with Fedora 36, which is 24deg celsius when idling already spinning up the fan, so collecting hints on saving power. Also, to improve battery life. | ||
+ | Downsides of cooling: depending on what you implement | ||
+ | * your system might react slower or not at all to requests of higher performance. I.e. lowering maximum cpu/gpu frequency and disabling boost can lead to lower framerates in games, bad performance for video chat software, and so on. Many settings can be done so the system offers power just as needed, so adapts dynamically. Otherwise, you could i.e. with 'tlp stop' before doing video chat do the tuning yourself. | ||
+ | * security implications: | ||
+ | |||
+ | ===== First steps ===== | ||
+ | * verify if you can improve cooling with physical placement: I have the Thinkpad T590 between a Playstation 4 and a fiber modem: that's not ideal for cooling. Already placing some spacers between these devices, so that air can flow between them, can improve cooling. | ||
+ | * stop unneeded software: run top or htop to see running software. For me, python3 for my sway status bar needs quite some cpu cycles | ||
+ | * run a slim window manager (sway here). | ||
+ | * run ' | ||
+ | * run ' | ||
+ | |||
+ | ===== Software for tuning ===== | ||
+ | * **powertop:: | ||
+ | * **pcp:** I use pcp to watch the temperature sensors + fan in 5min steps. With a config file / | ||
+ | * **tlp:** modify / | ||
+ | * https:// | ||
+ | ===== Kernel tuning ===== | ||
+ | * potentially: | ||
+ | * potential win: less consumption for your workload | ||
+ | * potential downside: opens up the security issues. Benchmark well to see if it's worth it for you! | ||
+ | * Some of these might also now work, for example T590 firmware disables TSX apparently, so it can not be activated from the linux kernel. | ||
+ | * " |