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: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,138 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 12:15:44 |
| Calls: | 14,617 |
| Calls today: | 3 |
| Files: | 186,485 |
| D/L today: |
15,606 files (5,284M bytes) |
| Messages: | 2,581,644 |