Is it bad to defrag a ssd? Or just pointless? [duplicate]
I've read on some websites that it's bad to defrag an ssd. But I'm reading on this website now and one person was like "You didnt do any harm its just not necessary to defrag it." I feel like that's wrong since every other website I've read says it will damage the ssd.
Mostly pointless, but of course there is a penalty to pay in that you are shortening your SSD life cycle. There is an excellent PCWorld magazine article, where the guy did amass some independent, and original, evidence. He reaches the conclusion above by comparing the accomplishments of 4 programs, otherwise quite successful in defragmenting HDDs, not SSds.
No, you should not defrag an SSD. And performing one will actually reduce the life of your drive. All of the SSD manufacturer’s know of this problem and they have come up with an optimization technique with the use of the TRIM command.
Currently, with HDDs and SSDs, if you delete some data on the hard drive, the operating system does not actually remove the content from the disk, it just deletes the pointer to the address and therefore “deletes” the data. That’s probably why you’re heard of secure delete or government security file deletion, which actually overwrites the deleted data with gibberish so no one can use advanced tools to read data later on.
This issue of data not actually being deleted is what causes the lifespan of SSDs to be reduced. If the drive knew which areas of memory didn’t contain any important data, it could simply re-use it for new data. The TRIM command is supported by the latest SSDs and will optimize the hard drive so that it reduces the number of writes/deletions and therefore extends the life of your SSD significantly.