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,136 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 14:44:02 |
| Calls: | 14,591 |
| Calls today: | 2 |
| Files: | 186,473 |
| D/L today: |
9,656 files (2,981M bytes) |
| Messages: | 2,577,486 |