Samsung 830 and ZFS TRIM

Johannes Dieterich dieterich.joh at gmail.com
Thu Nov 29 14:10:30 UTC 2012


On 11/29/12 04:40, Steven Hartland wrote:
> Do you have any other disks in the machine if so its likely these are
> the source of the unsupported increments.
No, not yet.

Best regards

Johannes

> ----- Original Message ----- From: "Johannes Dieterich"
> <dieterich.joh at gmail.com>
> To: <freebsd-current at freebsd.org>
> Sent: Monday, November 26, 2012 7:48 PM
> Subject: Samsung 830 and ZFS TRIM
>
>
>> Hello,
>>
>> (initially posted this to -questions@ a week ago, w/o reply)
>>
>> I installed CURRENT on a new Thinkpad equipped with a Samsung 830 SSD:
>>
>> ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
>> ada0: <SAMSUNG SSD 830 Series CXM03B1Q> ATA-9 SATA 3.x device
>> ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
>> ada0: Command Queueing enabled
>> ada0: 122104MB (250069680 512 byte sectors: 1H 63S/T 16383C)
>> ada0: Previously was known as ad4
>>
>> as the setup is ZFS+GELI based (on ada0), I enabled ZFS TRIM support
>> in loader.conf.
>>
>> Interestingly, I encounter an IMHO strange behavior with the stats on
>> that:
>>
>> kstat.zfs.misc.zio_trim.zio_trim_bytes: 755712
>> kstat.zfs.misc.zio_trim.zio_trim_success: 97
>> kstat.zfs.misc.zio_trim.zio_trim_unsupported: 7891
>> kstat.zfs.misc.zio_trim.zio_trim_failed: 0
>>
>> It seems unintuitive to me why the unsupported counter first increases
>> (seems to stay constant after that each boot) and then slowly the
>> success counter increases as well.
>>
>> Probably there is a trivial explanation (GELI?) and/or fix for this
>> that anyone is willing to share?
>>
>> If you need further information, let me know.
>>
>> Thanks a lot
>>
>> Johannes
>> _______________________________________________
>> freebsd-current at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to
>> "freebsd-current-unsubscribe at freebsd.org"
>>
>
> ================================================
> This e.mail is private and confidential between Multiplay (UK) Ltd. and
> the person or entity to whom it is addressed. In the event of
> misdirection, the recipient is prohibited from using, copying, printing
> or otherwise disseminating it or any information contained in it.
> In the event of misdirection, illegible or incomplete transmission
> please telephone +44 845 868 1337
> or return the E.mail to postmaster at multiplay.co.uk.
>



More information about the freebsd-current mailing list