Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

100% Positive

Analyzed from 137 words in the discussion.

Trending Topics

#zswap#swap#btrfs#ram#files#zram#luck#using#zstd#ubuntu

Discussion (5 Comments)Read Original on HackerNews

seabrookmx•35 minutes ago
I've had good luck using zswap+zstd on Ubuntu 26.04. I have a Framework 13 (AMD) with 16GB, and have a 16GB swap file configured (ext4 root partition).

I had planned to upgrade the machine to 32GB of RAM but I don't really feel it's necessary at this point. Which is obviously great given the current RAM costs!

gucci-on-fleek•about 3 hours ago
I agree with everything else here, but swap files on btrfs should probably be avoided whenever possible [0].

[0]: https://btrfs.readthedocs.io/en/latest/Swapfile.html

ciferkey•about 3 hours ago
Right, you are good to do swap files on btrfs since linux 5.0 or so as long as you follow some rules. Disko thankfully covers all those details for you, but I shouldn't have skipped over that in the piece. I'll make an update when I get a chance.
eccgecko•about 3 hours ago
Thanks for this. So weird though - I literally spent the better part of the weekend reading and learning all about the differences between zram and zswap and ultimately deciding to switch out my previous zram config for zswap on my NixOS system! So seeing this pop up on my hackernews feed felt a bit spooky…