Author: Gastón Date: To: dng Subject: Re: [DNG] SSD and trim service
On Fri, Nov 18, 2022 at 10:53:38AM +0100, Martin Steigerwald wrote: > Gastón via Dng - 18.11.22, 01:50:46 CET:
> > > ii) how to configure the 'swappiness'
> >
> > for this you need to edit the file: /etc/sysctl.conf and add at the
> > end the following line
> >
> > vm.swappiness=20
>
> No need to edit "/etc/sysctl.conf". The "procps" init script sets values
> from files in "/etc/sysctl.d" just fine. Using a separate file eases
> package upgrades that update the main "sysctl.conf" file.
>
Thanks for the suggestion Martin, I moved the line related to swap to a
local.conf file in the folder "/etc/sysctl.d/"