Suggestion: add zswap support #4419
JaviLib
started this conversation in
Discussions
Replies: 1 comment 1 reply
|
I don't have strong opinions on the default setup (zram vs disk swap + zswap), or what th installer should offer, but I did write a post on how to manually switch to disk swap with zswap: |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Just like in Bazzite, I suggest to use zswap support, with lz4hc (fast and efficient) compression algorithm, and a default swapfile with the same size of the RAM. This can increase stability on heavy loads.
I think the size of de swapfile could be asked in the installer, and then make a ujust script to adjust it once the system is installed.
Also a
vm.swappiness=180is very convinient insysctl.confby default. This is a standard recommendation on systems with nvme as primary device, and it greatly benefits when zswap is activated.What do you think?
All reactions