Why don't more distros use ZRAM and EarlyOOM by default.
Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Why don't more distros use ZRAM and EarlyOOM by default.
I first discovered this stuff when using Fedora. I'm now daily driving Debian and have ZRAM and EarlyOOM setup. It runs so well, I don't understand why most distros just use a traditional SWAP partition and no EarlyOOM. ZRAM is extremely fast because it's compressing data onto the RAM instead of putting it on the storage drive. And EarlyOOM can be a life saver for a misbehaving app to prevent it from locking up the system. I've had only positive experiences. Why don't more user friendly distros have these setup OOTB?
Doesn't Ubuntu use that?
I'm pretty sure Linux Mint does, judging from lots of command output from various users here.
Also, isn't OOM a different scenario than swapping? Meaning, OOM means shutdown, swap means slowdown?
No, Linux Mint uses a swap file and so does Ubuntu.
OOM isn't related to swapping, it kills processes that are consuming memory out of control and are at risk of locking up the system. ZRAM and OOM are both memory management features which Fedora adopted on the same release. That's how they're related.
No, Linux Mint uses a swap file and so does Ubuntu.
Well I'm 100% sure I've seen plenty of noobs(*) posting their fdisk output, and it contained half a dozen zram partitions.
(*) definitely unable to set it up themselves, so it must have been OOTB.
Quote:
Originally Posted by TheJooomes
OOM isn't related to swapping
That's what I said.
It was you who put them in relation:
Quote:
I don't understand why most distros just use a traditional SWAP partition and no EarlyOOM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.