this post was submitted on 22 Feb 2025
28 points (100.0% liked)
Linux
50412 readers
851 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Did you need to compile a kernel to enable it? I’ve just done the project of installing Debian on a 20 year old iMac with 2.5 GB of RAM, and while zram definitely seems to help, I’d love to try this as well.
I am running Debian 12 on all of my devices with Debians vanilla kernel! :-) Just enable MGLRU on Debian like it is described in this blogpost.
One further tip for ZRAM: On my device the LZ4 algorithm was noticeable faster than ZSTD (didn't try ZSTD with the enabled MGLRU, yet) and it was important to disable the RAM page read-ahead on my device.
Yes, but maybe debian enables it by default? You can check by running
cat /sys/kernel/mm/lru_gen/enabled
If the result is
0x0007
, it means MGLRU is fully enabled.Debian does not enable it by default, cat /sys/kernel/mm/lru_gen/enabled will be a 0.