From owner-freebsd-current@freebsd.org Fri Apr 15 07:49:37 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF504AED810 for ; Fri, 15 Apr 2016 07:49:37 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 2F18C1A3E for ; Fri, 15 Apr 2016 07:49:36 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id KAA08474; Fri, 15 Apr 2016 10:49:28 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1aqyVM-000Mzf-GB; Fri, 15 Apr 2016 10:49:28 +0300 Subject: Samsung SSD TRIM [Was: Heads up] To: Warner Losh , Warren Block References: Cc: FreeBSD Current From: Andriy Gapon Message-ID: <57109CB7.3020204@FreeBSD.org> Date: Fri, 15 Apr 2016 10:48:07 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2016 07:49:37 -0000 On 15/04/2016 07:19, Warner Losh wrote: > Samsung 830 all firmware > Samsung 840 all firmware > Samsung 850 all firmware > > All of these are at least 18 months old (if not older). There's some > confusing in Linux lists on > the full impact of the Samsung drives (there was a bug in the Linux > implementation (that can't > be present in the FreeBSD implementation) that may have been the root cause > for the Samsung > black listing). Out of an abundance of caution, I've kept them in the list. For what it's worth, I have been using the following SSDs since September of 2015 : ada2: ACS-2 ATA SATA 3.x device ada3: ACS-2 ATA SATA 3.x device with ZFS with TRIM enabled and I haven't seen any problems thus far: $ sysctl kstat | fgrep trim kstat.zfs.misc.zio_trim.failed: 0 kstat.zfs.misc.zio_trim.unsupported: 2268 kstat.zfs.misc.zio_trim.success: 36895209 kstat.zfs.misc.zio_trim.bytes: 976003989504 Those disks are partitioned and host a small ZFS root / system pool plus log and cache vdevs for other HDD-based pool. So, I think that if the SSDs had any problem with TRIM I would have noticed it by now. -- Andriy Gapon