↧
Answer by user11509478 for How to keep executable code in memory even under...
To answer the question, here's a simple/preliminary patch to not evict Active(file)(as seen in /proc/meminfo) if it's less than 256 MiB, that seems to work ok (no disk thrashing) with linux-stable...
View ArticleAnswer by Vladimir Nikishkin for How to keep executable code in memory even...
The memory.min parameter in the cgroups-v2 memory controller should help.Namely, let me quote:"Hard memory protection. If the memory usage of a cgroup is within its effective min boundary, the cgroup’s...
View ArticleAnswer by user10239615 for How to keep executable code in memory even under...
WARNING: Do not use this patch if you have swap enabled, because two users reported worse effects. I've only tested this patch with swap disabled in kernel! (ie. CONFIG_SWAP is not set)Until further...
View ArticleHow to keep executable code in memory even under memory pressure ? in Linux
The goal here is to keep every running process' executable code in memory during memory pressure, in Linux.In Linux, I am able to instantly (1 sec) cause high memory pressure and trigger the OOM-killer...
View Article
More Pages to Explore .....