ksm_preload VS earlyoom

Compare ksm_preload vs earlyoom and see what are their differences.

ksm_preload

Enables legacy applications to leverage Linux's memory deduplication. (by unbrice)

earlyoom

earlyoom - Early OOM Daemon for Linux (by rfjakob)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
ksm_preload earlyoom
1 60
53 2,716
- -
10.0 8.6
over 6 years ago 16 days ago
C C
GNU General Public License v3.0 only MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ksm_preload

Posts with mentions or reviews of ksm_preload. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-09.
  • Linuxatemyram.com
    5 projects | news.ycombinator.com | 9 Oct 2023
    Same page merging only works for KVM, as that's the only case that enables it without intervention that nothing else supports. It's MADVISE for everything non-KVM, and no applications are compiled with support for telling the kernel "hey, it's OK to dedupe me". The only way to get KSM to work with userspace applications is to use LD_PRELOAD to inject the necessary bits (https://github.com/unbrice/ksm_preload) or to use a custom kernel that has a patch and extra daemon to globally enable KSM for everything (https://codeberg.org/pf-kernel/uksmd).

    I really wish this was a standard, configurable sysctl. There are many container environments (and heck, even browsers) that would benefit from this, and I cannot see any real downside.

earlyoom

Posts with mentions or reviews of earlyoom. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-13.

What are some alternatives?

When comparing ksm_preload and earlyoom you can also consider the following projects:

wsl-drop-cache - Periodically drop the WSL caches when load is low.

oomd - A userspace out-of-memory killer

prelockd - Lock executables and shared libraries in memory to improve system responsiveness under low-memory conditions

nohang - A sophisticated low memory handler for Linux

systemd - The systemd System and Service Manager

darling - Darwin/macOS emulation layer for Linux

XMousePasteBlock - Userspace tool to disable middle mouse button paste in Xorg

le9-patch - [PATCH] mm: Protect the working set under memory pressure to prevent thrashing, avoid high latency and prevent livelock in near-OOM conditions

ZenStates-Linux - Dynamically edit AMD Ryzen processor P-States

latent-diffusion - High-Resolution Image Synthesis with Latent Diffusion Models

linux - Linux kernel source tree

picom - A lightweight compositor for X11