Substitute for SSD TRIM
  • Order of the Butterfly
    Order of the Butterfly
    dake
    Posts: 204 from 2007/9/14
    From: The building p...
    If I have used a SSD drive for a while the writing performance will be slower.
    But let say you have this 100Gb disk only 50% full, then if you write a 1Gb file on it and overwrite this file 49 times, wouldnt 49GB be marked as free? And get full write performance again:)
  • »26.01.12 - 17:05
    Profile
  • MorphOS Developer
    Piru
    Posts: 588 from 2003/2/24
    From: finland, the l...
    dake,
    Quote:

    If I have used a SSD drive for a while the writing performance will be slower.
    But let say you have this 100Gb disk only 50% full, then if you write a 1Gb file on it and overwrite this file 49 times, wouldnt 49GB be marked as free? And get full write performance again:)

    It's way more complex than that: https://en.wikipedia.org/wiki/Write_amplification
    Also, some controllers have intelligent technology that reduces the write amplification during normal use, and thus reduce (often totally remove) the need to TRIM. Sandforce chipset is good example of this.
  • »26.01.12 - 19:30
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    matt3
    Posts: 710 from 2004/2/10
    Based upon Piru's info, the drive I linked to is even a better choice. Because of Sandforce...
  • »26.01.12 - 19:35
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    dake
    Posts: 204 from 2007/9/14
    From: The building p...
    @Piru Thanks for you answer.
    I found something in the link you provided: "When an LBA is replaced by the OS, as with an overwrite of a file, the SSD knows that the original LBA can be marked as stale or invalid and it will not save those blocks during garbage collection."
    Doesnt this mean you get your full write speed back if you overwrite a file many times, because of the "wear" thing will use different blocks everytime and mark the old ones as free?
    Maybe I misunderstand.

    @matt3 Yes it looks like a good choice
  • »26.01.12 - 20:07
    Profile