#zRAM
2 GB tip: the XFCE edition is the lightest Mint, and zram (sudo apt install zram-tools) makes the RAM stretch further. Before buying more, `sudo dmidecode -t memory` shows if there's a free slot; many older laptops take one more stick.
November 28, 2026 at 2:32 AM
Actionable: enable zswap with zstd on any Linux box with SSD. Useful reads: Chris Down's "zswap vs zram — when to use what" (chrisdown.name/2026/03/24/zswap-v…) and Hayden James' "I was wrong! zswap IS better than zram" (https://linuxblog.io/zswap-better-than-zram/). Both 2026, both definitive.
November 26, 2026 at 5:17 PM
It says pages written to a zram disk are compressed and stored in memory itself, and that there is little point creating a zram larger than twice the size of memory since the kernel expects a 2:1 compression ratio.
November 28, 2026 at 5:53 PM
The author's 32GB machine ran 100+ Firefox tabs only because zram absorbed the overflow.
November 26, 2026 at 5:16 PM
Running 24/7 autonomous agents on a free ARM cloud box without crashing.

Battle-tested playbook: watchdogs, zram, zombie process reaping, and crash recovery.

https://github.com/Amz34/selfhosted-agent-stack

#SelfHosted #OpenSource #Linux
November 25, 2026 at 6:12 PM
Wikipedia adds a warning that zram carries great risk without backup swap, so don't rip out your swap setup on the strength of one blog post.

If you have an older laptop or a small cloud machine that keeps running out of memory, try zram before you spend money on RAM.
November 28, 2026 at 5:53 PM
Wikipedia adds a warning that zram carries great risk without backup swap, so don't rip out your swap setup on the strength of one blog post.

If you have an older laptop or a small cloud machine that keeps running out of memory, try zram before you spend money on RAM. Watch your memory use with […]
Original post on mastodon.social
mastodon.social
November 28, 2026 at 5:55 PM
Running 24/7 autonomous agents on a free ARM cloud box without crashing.

Battle-tested playbook: watchdogs, zram, zombie process reaping, and crash recovery.

https://github.com/Amz34/selfhosted-agent-stack

#SelfHosted #OpenSource #Linux
November 27, 2026 at 6:12 PM
Running 24/7 autonomous agents on a free ARM cloud box without crashing.

Battle-tested playbook: watchdogs, zram, zombie process reaping, and crash recovery.

https://github.com/Amz34/selfhosted-agent-stack

#SelfHosted #OpenSource #Linux
November 23, 2026 at 6:12 PM
The HN thread's loudest debate: zram vs zswap. 'mrob' never wants disk swap — "I want my userspace OOM killer to trigger immediately." 'seabrookmx' counters: zswap with zstd on Ubuntu 16GB "basically don't think about RAM anymore."
November 26, 2026 at 5:17 PM
Memory compression isn't new. macOS has done it since Mavericks (2013). Windows since 2015. Android phones rely on it. But most Linux distros — Ubuntu, Debian, Arch — leave it off by default. Fedora and Pop!_OS enable zram out of the box.
November 26, 2026 at 5:16 PM
A developer hit RAM limits running parallel AI workloads. Instead of buying hardware, he enabled zram compression — fitting 5.7GB of browser tabs into 1.7GB physical RAM. A 3.35:1 ratio on commodity Linux. 👇
November 26, 2026 at 5:16 PM
The trick is zram, and the blog's advice, from its own title, is not to buy more RAM yet but to compress what you have.

The author reports exactly that result: 5.7G of data in 1.7G of RAM, which works out to roughly 3.35 to one.
November 28, 2026 at 5:53 PM
'zamalek' notes zram 7.0 added compressed_writeback — but 'jmakov' found a catch: a 4KB page compressing to 1KB still consumes a 4KB disk block. 100GB at 5:1 ratio still writes 100GB to SSD. AMD's MEXT tech aims to fix this; Linux hasn't caught up.
November 26, 2026 at 5:17 PM
haven't been able to check for a bit, so glad to know that i made the right choice for the mint install lol
also thanks a ton for the zram-tools recommendation, i haven't known of it till now, and i'm sad to announce that i can't do anything about the ram situation
November 28, 2026 at 4:07 AM
Linux squeezed nearly six gigabytes into less than two gigabytes of memory...

A Linux user writing at Curious Bits opened so many Firefox tabs that they nearly filled system memory, then showed 5.7G of data sitting in 1.7G of RAM. The trick is zram, and the blog's advice, from its own title, is […]
Original post on mastodon.social
mastodon.social
November 28, 2026 at 5:54 PM
Kter veen maš zram? 🤌 😂
November 19, 2026 at 5:44 PM
Se mi precej sanja, da vem kdo to dela 😋🤤
Brtek. Kir veen maš zram?
November 19, 2026 at 1:00 PM
Trying out zram (https://www.bitecode.dev/u/doc.ubuntu-fr.org-zram) to compress what is in RAM, so far so good.

Got a third of the laptop RAM compressed, some of that is allocated to swap (!) and the ratio so far has been 4:1 compression.
zram [Wiki ubuntu-fr]
www.bitecode.dev
November 20, 2026 at 10:02 AM
For standard desktop use, the worst memory pressure comes from browser and Electron bloat. While zram cushions the blow, tab discarding and sleeping background processes tend to be far more effective than trying to compress runaway heaps.
November 20, 2026 at 4:00 PM
Modern zram and zswap have made memory compression a legitimate way to stretch older hardware, trading surplus CPU cycles to avoid swapping to disk. Compressing dormant pages works remarkably well for background daemons and memory leaks, far removed from 90s SoftRAM snake oil. #linux
November 20, 2026 at 4:00 PM
From the archive: Optimize Linux Zswap in your homelab. Learn how the new batched writeback I/O patch works, zswap vs zram, and how to overcommit Proxmox RAM.

https://linuxcore.dev/homelab/linux-zswap-batched-writeback-homelab-ram-tuning/
Linux Zswap Homelab Guide: Batched Writeback & Tuning
Optimize Linux Zswap in your homelab. Learn how the new batched writeback I/O patch works, zswap vs zram, and how to overcommit Proxmox RAM.
linuxcore.dev
November 18, 2026 at 2:42 PM