Hacker News new | past | comments | ask | show | jobs | submit
So why is zswap (basically zram+swap) not enabled by default everywhere?
Because it is a user choice, and there are applications where it is inappropriate. For desktop Linux it should probably be on, as long as its clear to the user - but yeah, for many other Linux use cases its inappropriate.
“Because it is a user choice”

That’s true of everything. Default setups make those choices.

Maybe it should generally be on and and only switched off when it is inappropriate.
Maybe it should be generally on for desktop-focused distros and generally off for server-focused ones. The distros that focus on doing both well might want to recommend it in the installer when told it's primarily a desktop installation and explain the tradeoffs.

For a server, it really depends on what kind of service you're providing whether it would be helpful. We might want to let server admins, SREs, production engineers, or platform engineers to make an active decision about it.

I have a hard time imagining cases where swapping or running out of RAM is preferable to RAM compression.
loading story #50562867
zswap works very differently to zram.