TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: TURBO@ALGOL.X.Y
from: JAN PANTELTJE
date: 2020-01-24 13:19:00
subject: Re: Question about ever g

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?

Anyways, I just did this:
sysctl vm.swappiness=5

And repeated my system load experiment by starting both firefox and chrome at
the same time..
Now the swap size in not increasing.
I am inclined to set the swappiness to zero, but if this works it is probably
safer,
Will add it to the startup script.
Many many thanks!!

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.