13-CURRENT: several GB swap being used despite plenty of free RAM

Wojciech Puchar wojtek at puchar.net
Sun Nov 18 16:54:10 UTC 2018


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


More information about the freebsd-hackers mailing list