Get more memory with zram or zswap 0 ▲ Solene'% 1 hour ago · Tech · hide · 0 comments # Introduction The main laptop I use is a Lenovo x390 with only 8 GB of memory, which is not a lot nowadays with a web browser and a few applications opened. The memory cannot be upgraded on this laptop because it is soldered on it, but thanks to memory compression I can easily squeeze a few extra GB out of it. I wrote about compression with BTRFS in a previous article, it can save a lot of disk space depending on the data. This time, it is about compressing memory with zram or zswap, two features of the Linux kernel. => https://dataswamp.org/~solene/2022-09-21-btrfs-compression.html Sharing some statistics about BTRFS compression In this blog post, you will learn what zram and zswap are, how they differ, and how to check if they are doing a good job on your system. I have been experimenting with both in various cases. I found zswap to give better results in most cases, but it requires a real swap to work. # zram and zswap Both features compress memory pages, but they work in a… No comments yet. Log in to reply on the Fediverse. Comments will appear here.