:: Re: [DNG] SSD and trim service
Página Inicial
Delete this message
Reply to this message
Autor: Gastón
Data:  
Para: dng
Assunto: Re: [DNG] SSD and trim service
Hi, I recently had to do these configurations, I share some of my
notes...

On Thu, Nov 17, 2022 at 07:06:26PM +0100, Rand Pritelrohm via Dng wrote:
> But I still need to tweak the management of my SSD disk, so I need to
> find:
>    i) a 'trimming' service

This thread in the Devuan forum may be useful to you
https://dev1galaxy.org/viewtopic.php?pid=13950#p13950

How to properly activate TRIM for your SSD on Linux: fstrim, lvm and
dm-crypt
http://blog.neutrino.es/2013/howto-properly-activate-trim-for-your-ssd-on-linux-fstrim-lvm-and-dmcrypt/

I have decided not to activate TRIM, because I have the LVM + LUKS
encrypted installation. I have left approximately 10% of free space on
the SSD without partitioning as Overprovisioning.

I also recommend reading this post:
https://www.spinics.net/lists/raid/msg40916.html

>    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

save and reboot


--
gast0n