Re: Samsung 830 and ZFS TRIM

From: Johannes Dieterich <dieterich.joh_at_gmail.com>
Date: Thu, 29 Nov 2012 09:10:27 -0500
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_at_ 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.
>
Received on Thu Nov 29 2012 - 13:10:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:32 UTC