in all computers of my family (two desktops and three notebooks) SSD hard disks are used, on which Manjaro, EndeavourOS and Vanilla Arch are running, where the machines with Manjaro are my productive systems. On each of these computers, the SSDs are fully encrypted with LUKS, which I consider especially important on the notebooks. All systems are installed on BTRFS, including timeshift snapshots.
In general, it is recommended to use TRIM to increase the lifetime of an SSD. However, automatic trimming is not known to work with Cryptsetup in the default configuration. On the other hand, the controller of modern SSDs already takes care of some memory optimizations.
What would you recommend me? Should I configure Cryptsetup to allow automatic trimming, should I do a different base configuration, or is it fine as is? Of course I want optimal speed and long lifetime of the SSDs, but I don’t want to neglect the security aspect completely.
(I mainly use two Kingston 2.5" SATA SSD A400 960 GB, two 1TB SSDs from Western Digital (Green WD) and one with 500 GB from InnovationIT)