prelockd
le9-patch
Our great sponsors
prelockd | le9-patch | |
---|---|---|
6 | 18 | |
100 | 182 | |
- | - | |
2.5 | 1.8 | |
6 months ago | 11 months ago | |
Python | Python | |
MIT License | Creative Commons Zero v1.0 Universal |
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.
prelockd
-
Linuxatemyram.com
This may or may not preserve your desktop and other important applications in an OOM situation. https://github.com/hakavlad/prelockd
- force specific program to use ram instead of swap as much as possible?
- Looking for better scheduler for high core system
- Can someone explain me why do DEs crash like any other application?
- Prelockd
- Amazon 46.50% with 4.79% runtime slowdown using proactive memory reclaim
le9-patch
- le9-patch prevents system freezes on low-end systems
-
zram: swappiness, vfs_cache_pressure, page-cluster, dirty_ratio and dirty_background_ratio settings for gaming machines with HDD and low RAM?
Also, are you using a stock kernel? Try using this patchset https://github.com/hakavlad/le9-patch and more specifically set this
-
Does Linux’s memory management suck?
This kernel patch work really well: https://github.com/hakavlad/le9-patch/
- le9 / google mglru patch in pop os kernel
-
The case of the programs that were launched with impossible command line options
Oh that’s a known problem. There are many patch sets floating around that fix it by triggering the OOM killer when the system is thrashing: https://github.com/hakavlad/le9-patch
I’ve never ran into this specific problem back when I was daily driving desktop Linux, but I did run into 1000 similar ones that needed bandaid solutions. It’s death of a thousand cuts: https://news.ycombinator.com/item?id=28490753
-
Help me out here, why does Windows 10 handle my low memory situation better than Linux (so far)? How do I fix it?
I actually do use the Zen kernel already. If you are already using the zen kernel , make sure to use the latest one which has le9 patches , imho this patch can Improve user experience in tight memory situations. Check this https://github.com/hakavlad/le9-patch, saw many people praise this , but ymmv. Best of luck
-
Moving Google Toward the Mainline
- Limit the amount of thrashing or protect some pages from being reclaimed. This has been proposed by Google first and several other people since then, but AFAIK it has never been implemented in the mainline kernel.
Regarding the latter solution, there is a patchset called le9-patch[1] that is included in some alternative Linux kernels and it should be relatively safe to use.
[1]: https://github.com/hakavlad/le9-patch
- Is there a way to make EndeavourOS [XCFE] faster in a laptop with 2GB ram?
- I don't understand RAM resource management on Linux
-
nohang: A sophisticated low memory handler for Linux
Patch i was talking about le9-patch. it's only a proof of concept with very rough edges, but consider it isn't written by an experienced kernel developer with deep knowledge of memory subsystem.
What are some alternatives?
nohang - A sophisticated low memory handler for Linux
memavaild - Improve responsiveness during heavy swapping: keep amount of available memory
earlyoom - earlyoom - Early OOM Daemon for Linux
mio - Cross-platform C++11 header-only library for memory mapped file IO
oomd - A userspace out-of-memory killer
vmtouch - Portable file system cache diagnostics and control
ZenStates-Linux - Dynamically edit AMD Ryzen processor P-States
pf-kernel
sway - i3-compatible Wayland compositor
ksm_preload - Enables legacy applications to leverage Linux's memory deduplication.
darling - Darwin/macOS emulation layer for Linux