Maurice Kinal wrote to andy5995 on 08/31/2026 02:35 <=-
Hej andy5995!
Using zramfs is new to me, I've been using it for about a month. I
have 14GB Ram.
New to me as well. Offhand it sounds like /dev/ramX which I used to
use before I became familiar with the kernel's tmpfs. Comparing tmpfs with nvme0n1p2 - which I currently have mounted on /dev/lfs;
zram is a Linux kernel module that allows you to set up compressed >filesystems in RAM.
zram-tools uses this module to set up compressed swap space. This is useful >on systems with low memory or servers running a large amount of services with >data that's easily swappable but that you may wish to swap back fast without >sacrificing disk bandwidth.
By default it allocates a maximum of 50% of memory, although it only uses >what it needs. You can configure this in /etc/default/zramswap.
I unintentionally gave you incorrect info. zram not zram fs.
Maurice Kinal wrote to andy5995 on 09/04/2026 13:49 <=-
Hej andy5995!
Offhand it looks to me like compressed tmpfs, which sounds like a
really good idea for systems with limited physical ram. You have my interest piqued and I am formulating a plan to test it soon. Normally
I avoid compression but in this case it looks to be a desirable alternative to tmpfs. We'll see. Thanks for the heads up.
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 4 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 497103:12:37 |
| Calls: | 182 |
| Files: | 744 |
| D/L today: |
70 files (10,038K bytes) |
| Messages: | 73,675 |