:: Re: [DNG] SSD and trim service
Top Page
Delete this message
Reply to this message
Author: al3xu5
Date:  
To: dng
Subject: Re: [DNG] SSD and trim service
Thu, 17 Nov 2022 17:13:51 -0700 - Gregory Nowak via Dng
<dng@???>:

> [...]
>
> If you don't login as root, use su or sudo.
>
> >     ii) /etc/sysctl.d/99-swappiness.conf
> >            vm.swappiness=10  

>
> This should work exactly the same under devuan. Just copy
> /etc/sysctl.d/99-swappiness.conf from the old system to the devuan
> system under /etc/systemctl.d.


If you have enough RAM for the ordinary tasks you perform so that it is
not normally saturated, then to avoid swapping on the SSD, I suggest to set:

vm.swappiness=1


Regards
al3xu5

--
Say NO to copyright, patents, trademarks and industrial design
restrictions!
____________________________________________________________________________

Public GPG/PGP key: 8FC2 3121 2803 86E9 F7D8 B624 DA50 835B 2624 A36B