nohang
le9-patch
nohang | le9-patch | |
---|---|---|
29 | 18 | |
1,047 | 188 | |
- | - | |
4.3 | 1.8 | |
9 months ago | over 1 year 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.
nohang
-
There is an oom kill count in Linux
For desktop use, nohang does what the name says.
https://github.com/hakavlad/nohang
- Rare question
- Zswap vs zram in 2023, what's the actual practical difference?
-
Why is systemd-oomd still a thing
Personally I thought https://github.com/hakavlad/nohang worked pretty well, and it'll also notify the user if it's about to start killing things, but I haven't bothered to install it in fedora. I did tweak the systemd-oomd config to be less aggressive though.
-
Arch linux randomly freezes, especially when playing a youtube video or performing other video-related workload
SOLUTION: After struggling with this nightmarish unpredictable kernel panic for two weeks, I confirmed nohang is capable of stopping this problem for real.
- Hakavlad / nohang – A sophisticated low memory handler for Linux
-
Релиз ядра Linux 6.1
посмотри https://github.com/hakavlad/nohang/issues/122
-
How do i install packages in ZORIN OS
I'm trying to install this app called " nohang" for memory problems. https://github.com/hakavlad/nohang i wasn't sure which type zorin is based on.
-
Am I doing RAM wrong?
Thanks. Looking into this as well. Further digging in this sub over the past couple days have brought up earlyoom as well as https://github.com/hakavlad/nohang as interesting things to pursue.
-
Distro with best ram management on 8gb of memory?
Sounds like the complaints indicated on nohang's repo. I also have low memory. nohang and zram make mine work better than macs/wins with higher memory.
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?
earlyoom - earlyoom - Early OOM Daemon for Linux
oomd - A userspace out-of-memory killer
prelockd - Lock executables and shared libraries in memory to improve system responsiveness under low-memory conditions
Ananicy - Ananicy - is Another auto nice daemon, with community rules support (Use pull request please)
ZenStates-Linux - Dynamically edit AMD Ryzen processor P-States
Ananicy Cpp - A full, event-based rewrite of Ananicy made in C++ for better performance.
abseil-cpp - Abseil Common Libraries (C++)
systemd-swap - Script for creating hybrid swap space from zram swaps, swap files and swap partitions.
darling - Darwin/macOS emulation layer for Linux