Jan Panteltje writes:
> On a sunny day (Fri, 24 Jan 2020 09:23:25 +0000 (UTC)) it happened obruT
> wrote in :
>
>>On 2020-01-24, Jan Panteltje wrote:
>>[...]
>>> What is the point of using all memory for caching?
>>> Makes no sense to me.
>>
>>It makes perfect sense :) Other guys alredy answered why is that
>>no problem so I will not repeat...
>>
>>> Is Linux DEAD?
>>
>>Depends :)
>>
>>If using of swap for "inactive" processes bothers you, you
>>can always change swapiness setting.
>>
>>Change it with "sysctl vm.swappiness=VALUE where VALUE is
>>some value lower than default (60).
>>
>>If you want to have it persistent across reboots, put it
>>in sysctl.conf.
>>
>>Search for swappiness keyword to find detailed explanation
>>about what is it and what you can expect with changing of
>>that value.
>
>
> OK, found this link
> https://www.howtoforge.com/tutorial/linux-swappiness/
>
> Yes, cool,
> On my system it is set to 60, but WHY THEN is it filling almost the
> whole memory
> with cache?
Because otherwise the memory would be wasted. You paid for the silicon,
you’re paying for the electricity that powers it, using it store idle
pages is not a good use of those resources. You are attacking a
non-problem.
--
https://www.greenend.org.uk/rjk/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|