Re: Swap management: vm.swappiness best values?
Laurent Gauthier
Hi again, kswapd is triggered (even when there is no swap space) to reclaim some space when the memory runs low. There is no way to turn it completely off, with the swappiness parameter you can control how pro-active it will be. One of the ways it manages to "reclaim" memory (even if there is no swap storage defined) is that it can trigger a compaction of memory zones, therefore reducing memory fragmentation by removing "holes". This defragmentation will help with the allocation of larger memory blocks. If you reduce the swappiness setting to zero it will still trigger at some point, but just much later. Kind regards, Laurent.
On Tue, Mar 9, 2021 at 5:21 PM Mauro Ziliani <mauro@...> wrote:
|
|