Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2018 17:53:52 +0100 (CET)
From:      Wojciech Puchar <wojtek@puchar.net>
To:        Stefan Blachmann <sblachmann@gmail.com>
Cc:        Cy Schubert <Cy.Schubert@cschubert.com>, Ian Lepore <ian@freebsd.org>, Wojciech Puchar <wojtek@puchar.net>, freebsd-hackers Hackers <freebsd-hackers@freebsd.org>, Rebecca Cran <rebecca@bluestop.org>, Mark Johnston <markj@freebsd.org>
Subject:   Re: 13-CURRENT: several GB swap being used despite plenty of free RAM
Message-ID:  <alpine.BSF.2.20.1811181752010.24142@puchar.net>
In-Reply-To: <CACc-My33oRg7eqjfDuEQU51inyydc66Hx%2B-DysqmdKyyMVVJsA@mail.gmail.com>
References:  <freebsd-hackers@freebsd.org> <F5ACF6D0-DBD7-416F-9AAC-7709771FE545@yahoo.com> <201811180154.wAI1smhg049214@slippy.cwsent.com> <CACc-My33oRg7eqjfDuEQU51inyydc66Hx%2B-DysqmdKyyMVVJsA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
why someone changes WELL WORKING swapping algorithm?

On Sun, 18 Nov 2018, Stefan Blachmann wrote:

> So I guess the unwillingness of the developer team to add an option
> like "NoPreemptiveSwapping", which disables swapping out as long as
> there is free physical memory available, is of psychological nature.

in FReeBSD 12 there is

vm.swap_idle_threshold2: 10
vm.swap_idle_threshold1: 2
vm.swap_idle_enabled: 0


which works as expected and can be turned on or off as required.

what's wrong with it



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1811181752010.24142>