Disable zswap on Arch, since zram is enabled.#130
Disable zswap on Arch, since zram is enabled.#130cvlc12 wants to merge 1 commit intosystemd:mainfrom
Conversation
9ffdf91 to
2a09e49
Compare
|
CachyOS also uses |
|
Also disabled on Fedora by default since it uses zram |
2a09e49 to
c0d97e0
Compare
|
I think it would be better to put zram behind a profile. I personally prefer to stick with zswap, like Arch does by default, if it was behind a profile it would be easy to configure. I just came across that article that remind me to comment this PR: https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-what.html the author is a kernel dev working on memory management. |
c0d97e0 to
9024117
Compare
Closing in favor of #155 which makes more sense. |
Arch has zswap enabled by default, whereas Fedora/Debian don't. So currently, ParticleOS Arch images have both zswap and zram enabled concurrently which the Arch wiki says we shouldn't do.
So we should either disable zswap as per this PR, or alternatively remove zram-generator from default packages on the Arch profile (which might be simpler and closer to distro default ?)
See also #41 (comment)