top | item 46897994

(no title)

ChocolateGod | 24 days ago

I'd like to see Linux gain support for actual memory compression, without the need to go through zram, similar to macOS/Windows.

discuss

order

homebrewer|24 days ago

zram has been "obsolete" for years, I don't know why people still reach for it. Linux supports proper memory compression in the form of zswap

https://wiki.archlinux.org/title/Zswap

RealStickman_|24 days ago

I didn't realize zswap also uses in-memory compression. It might be a combination of poor naming and zram being continuously popular.

rascul|24 days ago

It is not obsolete. It's also useful for other things.

ChocolateGod|24 days ago

Because I'd rather compress ram when running low on memory rather than swapping to my disks. zram is also default on some distros (e.g. Fedora).

JamesTRexx|24 days ago

I use zswap, which is a non-fixed intermediate layer between RAM and swap and worked great on my old laptop which had a max of 4GB RAM. Even use it now on my current 32GB laptop.

Full compression would be nicer, but I'd also like to see ECC emulation (or alternative) as a cheaper alternative to the real hardware, although with current prices that might be less so.