3 ms·
Over the last few years there has been ongoing work to improve this. Including improved pressure detection, multi-generational LRU, large huge page swap and a b
by the8472 3y ago
Over the last few years there has been ongoing work to improve this. Including improved pressure detection, multi-generational LRU, large huge page swap and a bunch of other things. Some aren't enabled by default, some need userspace daemons to make use of them.
So out-of-the-box experience of some random distro is not necessarily the best you can get, especially on older kernels.
- foresto 3y ago> there has been ongoing work to improve this. Including improved pressure detection, Are you referring to the /proc/pressure interface? https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/accounting/psi.rst https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...
- the8472 3y agoYes, the pressure information is used by userspace OOM killers but afaik also internally to detect whether progress has been made on reclaiming memory and it's supposed to be better than the previous progress heuristic.