Swap: Difference between revisions

Line 159: Line 159:
If you want to use TRIM, set <code>randomEncryption.allowDiscards</code> in addition to the <code>options</code>. This has the security implication of:
If you want to use TRIM, set <code>randomEncryption.allowDiscards</code> in addition to the <code>options</code>. This has the security implication of:
* telling whoever gets ahold of your swap drive which parts are being actually used (bad),
* telling whoever gets ahold of your swap drive which parts are being actually used (bad),
* telling your SSD to not give out the data in unused parts and to not try to keep it around during garbage collection (good).
* telling your SSD to not give out the data in unused parts and to not try to keep them around during garbage collection (good).


You will need to weigh between the two.
You will need to weigh between the two.