Re: should TRIM be working on my ZFS L2ARC devices?

From: Dan Mack <mack_at_macktronics.com>
Date: Sat, 8 Jun 2013 12:38:24 -0500 (CDT)
On Sat, 8 Jun 2013, Steven Hartland wrote:

<snip>
>> Does the Vertex 4 and Intel 520 not work with TRIM on FreeBSD or is 
>> something else going on here?
>
> Connected to an controller which supports BIO_DELETE yes they
> should.
>
> Check with:
> camcontrol identify ada0

Feature                      Support  Enabled   Value           Vendor
read ahead                     no	yes
write cache                    yes	yes
flush cache                    yes	yes
overlap                        no
Tagged Command Queuing (TCQ)   no	no
Native Command Queuing (NCQ)   yes		32 tags
SMART                          yes	yes
microcode download             yes	yes
security                       yes	no
power management               yes	yes
advanced power management      no	no
automatic acoustic management  no	no
media status notification      no	no
power-up in Standby            no	no
write-read-verify              yes	yes	0/0x0
unload                         no	no
free-fall                      no	no
Data Set Management (DSM/TRIM) yes
DSM - max 512byte blocks       yes              16
DSM - deterministic read       no
Host Protected Area (HPA)      yes      no      250069680/250069680
HPA - Security                 no

> camcontrol identify ada1

Feature                      Support  Enabled   Value           Vendor
read ahead                     yes	yes
write cache                    yes	yes
flush cache                    yes	yes
overlap                        no
Tagged Command Queuing (TCQ)   no	no
Native Command Queuing (NCQ)   yes		32 tags
SMART                          yes	yes
microcode download             yes	yes
security                       yes	no
power management               yes	yes
advanced power management      yes	yes	254/0xFE
automatic acoustic management  no	no
media status notification      no	no
power-up in Standby            yes	no
write-read-verify              no	no
unload                         yes	yes
free-fall                      no	no
Data Set Management (DSM/TRIM) yes
DSM - max 512byte blocks       yes              1
DSM - deterministic read       yes              any value
Host Protected Area (HPA)      yes      no      234441648/234441648
HPA - Security                 no

I don't see BIO_DELETE called out in the camcontrol output anywhere else 
but and the DSM/TRIM line is marked as supported with the enabled column 
ambiguous :-)

Thanks for the help,

Dan
Received on Sat Jun 08 2013 - 15:38:25 UTC

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