5 Replies Latest reply: Feb 5, 2014 7:47 AM by cindys RSS

TRIM(SSD) on solaris 10

Igor Sobinov Newbie
Currently Being Moderated

Hello,

 

I plan to use SSD drives to install Oracle Solaris (sparc) 10 update 11 or 11 using UFS as a root FS. Does TRIM SSD command will be supported in this case?

 

Regards, Igor

  • 1. Re: TRIM(SSD) on solaris 10
    cindys Pro
    Currently Being Moderated

    Hi Igor,

     

    UFS is not unmap aware so it won't be able to issue an unmap command.

     

    These features were back ported to Solaris 10 (patches 150400-07 and 150401-07).

     

    If you want to use these features in Solaris 10 then you would need to use with ZFS file systems.

     

    We had some had a performance bug associated with the unmap feature so it is disabled by

    default. You would just need to enable it.

     

    Thanks, Cindy

  • 2. Re: TRIM(SSD) on solaris 10
    Igor Sobinov Newbie
    Currently Being Moderated

    Hello Cindy,

     

    Thanks a lot for you answer. I found in 150400-07 that: "15613053 implement ATA TRIM, SCSI Write Same / UNMAP , Thin Reclamation", nothing about UFS/ZFS.

    How to enable TRIM/UNMAP feature for UFS-based Solaris 10? I want to test performance if this solution.

    Or is it totally impossible to enable TRIM for UFS?

     

    Solaris installation in my case will use a metadevice-based RAID1 for root disk. Are any troubles possible to use TRIM for metadevices RAID1?

     

    Regards, Igor

  • 3. Re: TRIM(SSD) on solaris 10
    cindys Pro
    Currently Being Moderated

    I talked to the engineer who implemented the SCSI UNMAP support and he says that UFS doesn't support this feature.

     

    See the steps below for enabling the SCSI UNMAP support but you will need to use ZFS.

     

    Thanks, Cindy

     

    1. Enable this feature by adding the following entries to the

    /etc/system file:

     

    set zfs:zfs_unmap_ignore_size=0x100000

    set zfs:zfs_log_unmap_ignore_size=0x100000

     

    2. Reboot the system.

     

    Notes:

     

    A 1MB (0x100000) size is recommended so that smaller areas are not

    reclaimed.

     

    You might see a performance penalty when this feature is enabled, so it should be tested in their environment.

  • 4. Re: TRIM(SSD) on solaris 10
    Igor Sobinov Newbie
    Currently Being Moderated

    Hello Cindy,

     

    Thanks a lot for that full answer.

     

    Is any plans to implement UNMAP support for UFS in Solarins 10?


    Regards, Igor

  • 5. Re: TRIM(SSD) on solaris 10
    cindys Pro
    Currently Being Moderated

    Hi Igor,

     

    We don't expect development of new features in Solaris 10 so I wouldn't expect that UFS would be updated to support SCSI UNMAP.

     

    Thanks, cindy

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points