• MorphOS Developer
    geit
    Posts: 1031 from 2004/9/23
    Trim "frees" unused blocks on the media. In easy words: It tells the SSD which blocks the file system currently does not use.

    This - as said - speeds up ssd access, as the SSD knows a block is unused and so the controller does not need to backup that block if it decides to use another block to store constant data. (wearleveling)

    So in theory trim would also extent the live span of your SSD. Practically this does not really matter unless the physical block size matches the file system block size and all partitions are proper allined. In most cases, I guess, this is not the case as most SSDs use at least 2K block. Probably even 8K or bigger chunks and you would need to use the same blocksize in SFS or whatever file system you use. Also the RDB section and the reserved block area must match that size or the block offset is wrong.

    If you want to do something to keep the health of the drive, follow the instructions given by ASiegel/Piru. Also when reparitioning the drive after trimming, keep the above in mind. I would simply not care about allinement and just leave some non partitioned area at the end. Since these blocks will never be touched by MorphOS, the SSD will forever know these blocks are free to use.

    If you want to use trim to increase your SSDs speed, this is a waste of time. Even in worst case any recent SSD is multiple times faster than any of our systems can handle.

    Geit


    [ Edited by geit 23.11.2014 - 14:35 ]
  • »23.11.14 - 13:33
    Profile