News for hackers. Stuff that matters.
Re:Do not buy RAM, compress by hobo123 on Thursday November 19, 2026 @02:58PM (#50565442)
You can also combine both. Linux has zswap.
Re:Do not buy RAM, compress by dotancohen on Thursday November 19, 2026 @05:43PM (#50567566)
Tell me more. I'm on Debian, using mostly ext4 filesystems.
Re:Do not buy RAM, compress by hobo123 on Friday November 20, 2026 @12:29AM (#50570523)
Sorry, not familiar with details, I just know it's there.
Re:Do not buy RAM, compress by tmtvl on Friday November 20, 2026 @04:24AM (#50572206)
There's Chris Down's Debunking zswap and zram myths (<https://news.ycombinator.com/item?id=47500746>).

If you want to check out whether your system has zswap enabled, you can look at /sys/module/zswap/parameters/enabled, which will be 0 if zswap isn't enabled and 1 or Y if it is. You can look at the kernel docs (<https://docs.kernel.org/admin-guide/mm/zswap.html>) for more.

Re:Do not buy RAM, compress by dotancohen on Friday November 20, 2026 @02:28PM (#50580509)
Terrific, thank you, I will look into this.
Re:Do not buy RAM, compress by lproven on Friday November 20, 2026 @05:31AM (#50572746)
> Tell me more.

I tried to summarise hows and whys here, in case it helps:

https://www.theregister.com/on-prem/2026/03/13/ram-is-gettin...

Re:Do not buy RAM, compress by dotancohen on Friday November 20, 2026 @02:28PM (#50580502)
I will go over that, thank you.