Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 2020 07:02:42 +0200
From:      Polytropon <freebsd@edvax.de>
To:        "@lbutlr" <kremels@kreme.com>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Swapping when memory is idle??
Message-ID:  <20200821070242.3597d05a.freebsd@edvax.de>
In-Reply-To: <D2FB0F28-E822-48FF-BCEF-AC023831EDBE@kreme.com>
References:  <CAAdA2WP8cr-uRgDRT_GX0faCSAFWORn9UMwqLZOWtLgXd0Hc9w@mail.gmail.com> <D2FB0F28-E822-48FF-BCEF-AC023831EDBE@kreme.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 20 Aug 2020 12:40:32 -0600, @lbutlr wrote:
> Once a page is in swap it will stay there until it is needed.

Or until the operator deactivates and reactivates swap (using
the swapoff / swapon programs), which would lead to anything
still in swap being "synced" with RAM as long as there is enough
capacity to hold them. THis is of course a heavy interference
with how the OS manages memory, and often not a good idea. ;-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200821070242.3597d05a.freebsd>