Re: Improving KDE Plasma Performance on Low-Resource Systems
Konstantin Kharlamov <[email protected]>
| Newsgroups | gmane.comp.kde.devel.general |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 2026-08-23 at 13:20 +0200, Łukasz Wojniłowicz wrote: > On 26-08-22 18:59, Konstantin Kharlamov wrote: > > On Mon, 2026-08-17 at 10:13 +0300, Lost Nebula wrote: > > 2. You're using ZRAM with SWAP, that's just wrong. You want either > > "just ZRAM" or "ZSWAP + SWAP". Your combination of "ZRAM + SWAP" > > isn't > > going to give you the experience you expect. I can refer you to > > this > > article that goes deeper into this topic: > > https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-what.html > > Thanks for sharing the link. I used ZRAM + SWAP too, > but my system rarely runs out of RAM, so I guess it didn't matter > that much. > However when it does run out of RAM, then I think ZSWAP should fit my > use case better. > > Your tip, should certainly run better for the OP, which I believe > experiences > heavy swapping. Happy to help! 😊 > I wasn't aware that there are two swapping strategies and my Fedora > defaults to ZRAM. Yeah, though to be fair, Fedora also defaults to not using SWAP file/partition. So I guess if someone modifies their system, Fedora expectations are that the user know what they're doing. There are talks about unifying both ZRAM and ZSWAP, which would completely alleviate the problem being discussed, but I would not expect anything notable to be happening in 2-3 years in that regard. That said, every kernel release there are lots refactoring and optimizations, including for SWAP (example for last released kernel as of writing the words https://kernelnewbies.org/Linux_7.2#Swap_table_phase_IV ), so having the most recent kernel certainly helps as well. You have a recent kernel in Fedora, but Idk for the OP because they don't seem to have mentioned their distro (unless I missed it).