ksm_preload

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

Ksm_preload Alternatives

Similar projects and alternatives to ksm_preload

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better ksm_preload alternative or higher similarity.

ksm_preload reviews and mentions

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.

Stats

Basic ksm_preload repo stats
1
53
10.0
about 6 years ago

unbrice/ksm_preload is an open source project licensed under GNU General Public License v3.0 only which is an OSI approved license.

The primary programming language of ksm_preload is C.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com