TRIM & using SSD and mSATA as PATA
  • MorphOS Developer
    geit
    Posts: 1052 from 2004/9/23
    Quote:

    matt3 wrote:
    This might be a solution:

    http://eshop.macsales.com/shop/SSD/OWC/Mercury_Legacy_Pro

    It does have some firmware to reduce wear.


    If you want to waste your money. ANY SSD does wear management. Just forget about it and use the damn drives.

    They work fine even in long term and with IDE adapters. I use a 120GB SSD connected to an IDE2SATA adapter in my pegasos and it is my server and running 24/7.

    I cannot even remember when I used a harddrive in Pegasos2. I even use an 64GB SSD as external drive, which gets entirly wiped and overwritten twice a week.

    I used 2.5" harddrives before and they died in half of the time due transport damage.

    Geit


    [ Edited by geit 29.11.2014 - 10:20 ]
  • »29.11.14 - 08:19
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Jupp3
    Posts: 1193 from 2003/2/24
    From: Helsinki, Finland
    Quote:

    ASiegel wrote:
    MorphOS does not provide TRIM support. You could create a backup of your files and manually "trim" via Linux, however.


    Emphasis on word "could", it doesn't say "should". You might do this when f.ex. formatting partition anyway. Not something you would want to do each month, for example.

    Quote:

    geit wrote:
    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.



    Also you probably should NEVER use full format with SSD. Without trim, that sets ALL contained blocks to the "might be in use" state (instead of "known to be free"). Better let that happen gradually, when you start filling the partition with data.

    The only exception that comes to my mind right away, is crypted partitions.

    -EDIT-

    As for Apple, they didn't "disable TRIM", but rather "disabled TRIM on non-Apple-branded devices". AFAIK, they already did this in the previous OS version, BUT there you could switch this on/off for drives at will. Now on the newest version, you must disable "bigger chunk of security features" to get TRIM working normally on non-Apple drives.

    I just wonder, what is this supposed to do with security? It's as (un)secure with and without TRIM...

    [ Edited by Jupp3 02.12.2014 - 14:55 ]
  • »02.12.14 - 11:30
    Profile Visit Website
  • MorphOS Developer
    geit
    Posts: 1052 from 2004/9/23
    Quote:

    Jupp3 wrote:
    Quote:

    geit wrote:
    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.



    Also you probably should NEVER use full format with SSD. Without trim, that sets ALL contained blocks to the "might be in use" state (instead of "known to be free"). Better let that happen gradually, when you start filling the partition with data.



    Sure, but he wanted to format and repartition a used SSD, where TRIM makes it fresh as new.

    Well, I did not do this for any of my SSDs. They all work in worst case mode. 512KB blocksize, no proper alignment, no trim supporting file system and no unused area. :D

    Quote:

    Jupp3 wrote:

    As for Apple, they didn't "disable TRIM", but rather "disabled TRIM on non-Apple-branded devices". AFAIK, they already did this in the previous OS version, BUT there you could switch this on/off for drives at will. Now on the newest version, you must disable "bigger chunk of security features" to get TRIM working normally on non-Apple drives.

    I just wonder, what is this supposed to do with security? It's as (un)secure with and without TRIM...


    I guess Apple did that because some vendors had problems with their TRIM handling and the OS using TRIM, simply corrupted the file systems and data on the drives. By disabling it for these "non Apple SSDs" (==untested SSDs) they avoid any of these problems.

    Geit
  • »02.12.14 - 13:15
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    SoundSquare
    Posts: 1213 from 2004/12/1
    From: Paris, France
    Apple can disable it it doesn't really matter, a lot of tools are available to re-enable it. Could hackintoshes live without TRIM ? : )
  • »02.12.14 - 14:00
    Profile