Hacker GitHub

← All repos

hakavlad/prelockd

View on GitHub ↗ ★ 136 Python

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

7 mentions on Hacker News by 6 people: 1 story, 6 comments · first 2020-11-17 · latest 2026-03-07

Mentions per year 7 mentions · busiest year 2021 (3)
20082026
  1. Potentially https://github.com/hakavlad/prelockd ?
    comment by nasretdinov · 2026-03-07 · in Modernizing swapping: virtual swap spaces
  2. …least bad solution would be to warn user in advance and let them choose processes to kill. See also https://github.com/hakavlad/prelockd
  3. This may or may not preserve your desktop and other important applications in an OOM situation. https://github.com/hakavlad/prelockd I've heard some good results with it and the applications locked in memory is configurable.
    comment by Timber-6539 · 2023-10-10 · in Linux ate my RAM (2009)
  4. ▲ 18
    Prelockd
    story by rrss · 2021-06-19 · 0 comments
  5. I wonder how does this compare to the state of the art solutions from the author of Nohang: https://github.com/hakavlad/prelockd https://github.com/hakavlad/memavaild https://github.com/hakavlad/le9-patch in terms of % saved memory or %…
    comment by The_rationalist · 2021-06-10 · in Introduce DAMON-based Proactive Reclamation
  6. …data does oomd does it too? Finally the author of nohang is working on arguably superior solutions: https://github.com/hakavlad/prelockd https://github.com/hakavlad/memavaild https://github.com/hakavlad/le9-patch It's unfortunate that…
  7. Look at the new tools: https://github.com/hakavlad/prelockd https://github.com/hakavlad/memavaild It can greatly improve responsiveness. Demo: https://youtu.be/QquulJ06dAo - playing supertux + 12 `tail /dev/zero` in background…