On Tue, Dec 18, 2012 at 7:06 AM, Sylvain Alain <d2racing911@xxxxxxxxx> wrote: > So, if I don't use the discard command, how often do I need to run the > fstrim command ? If your ssd isn't a pile of crap, never. SSD's are always over-provisioned, and so every time an erase block fills up, the drive knows that there must be one erase-block worth of garbage which could be compacted, erased, and added to the pool of empty blocks. The crappiest ones only do this as needed (which is why their write speed plummets with use), and really benefit from people forcing the issue with -o discard or occasional fstrim. Everything else should get along fine without it, although an occasional fstrim certainly won't hurt: it just shouldn't help much. > I found this thread : https://patrick-nagel.net/blog/archives/337 It's worth noting that there's a large number of very effective tricks that an ssd can perform to almost completely negate the caveat mentioned there. It really is a solved problem in a modern ssd. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
