SSD Performance (On Linux): TRIM
Here there’ s a post on how to optimize ssd performace on Linux exploiting the TRIM command.
And here there’s post on why exploiting TRIM is dangerous when a ssd underpin and encrypted volume:
TRIM command (if supported by both OS and ssd device) tell to erase unused blocks, i.e. a file deletion leads to have blocks allocated to it to be zeroed.
Well now it is possible tell where encrypted data are: where not zeroed space is; and it is possible to get unencrypted data!