[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SSDs and discard (was: Summary: Moving /tmp to tmpfs makes it useless)

On Sat, Jun 23, 2012 at 06:00:15PM +0300, Touko Korpela wrote:
Tollef Fog Heen wrote:
You need to enable it in all layers (fstab, crypttab, lvm.conf), yes.
For now you shouldn't use discard option with SSDs, it's bad for
performance. Better is to run fstrim periodically.

Does this mean you shouldn’t use discard in fstab, but you need the option in crypttab and lvm.conf (or TRIM requests are filtered)? Or don’t you need any discard options in any layer to get fstrim to work?


| Stephan Seitz          E-Mail: stse@fsing.rootsland.net |
| Public Keys: http://fsing.rootsland.net/~stse/keys.html |

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply to: