[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Swappiness in Buster



On 06/07/2020 23:27, deloptes wrote:

> May be look deeper in documentation - I recall asking few years ago and was
> answered that now it would cache whatever it can and will free on demand.
> swap is done only if memory is really insufficient.
> 
> I don't recall when or where I asked read this
> 

I probably wouldn't understand much delving deeper into the
documentation or even code^^
Using up all the available RAM for disk cache and freeing cache when
memory is needed is what Linux did for as long as I can remember and
still does.
Swapping being only done when there is no memory available is exactly
what the "swappiness" parameter did when set to "1" in Stretch, but this
doesn't seem to work in Buster anymore as it swaps out the diskcache
even when there is memory available.


Reply to: