From owner-freebsd-current@FreeBSD.ORG Mon Sep 24 16:07:16 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7555E106564A; Mon, 24 Sep 2012 16:07:16 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) by mx1.freebsd.org (Postfix) with ESMTP id 0C7058FC08; Mon, 24 Sep 2012 16:07:15 +0000 (UTC) Received: from [194.32.164.22] (80-46-130-69.static.dsl.as9105.com [80.46.130.69]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id q8OG7DqH005996; Mon, 24 Sep 2012 17:07:13 +0100 (BST) (envelope-from rb@gid.co.uk) Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=iso-8859-1 From: Bob Bishop X-Priority: 3 In-Reply-To: <20CC6F2BF08D47ED802318697542A15D@multiplay.co.uk> Date: Mon, 24 Sep 2012 17:07:08 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <07C554A3-5957-4664-8E0F-D7C6885C5EAF@gid.co.uk> References: <20120923195357.GO1454@garage.freebsd.pl> <1735E492-3C3C-491A-82E2-884E976B4BC4@gid.co.uk> <20120923222520.GS1454@garage.freebsd.pl> <20CC6F2BF08D47ED802318697542A15D@multiplay.co.uk> To: Steven Hartland X-Mailer: Apple Mail (2.1283) Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: ZFS TRIM support committed to HEAD. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 24 Sep 2012 16:07:16 -0000 Hi, On 24 Sep 2012, at 16:55, Steven Hartland wrote: > ----- Original Message ----- From: "Bob Bishop" > To: "Pawel Jakub Dawidek" > Cc: ; ; "Steven = Hartland" > Sent: Monday, September 24, 2012 3:17 PM > Subject: Re: ZFS TRIM support committed to HEAD. >=20 >=20 >> Hi, >> On 23 Sep 2012, at 23:25, Pawel Jakub Dawidek wrote: >>> I have a patch against stable/8, but not stable/9: >>> http://people.freebsd.org/~pjd/patches/zfstrim8.patch >> Running with that in an otherwise 8-STABLE GENERIC amd64 kernel, I'm = getting: >> kstat.zfs.misc.zio_trim.zio_trim_bytes: 0 >> kstat.zfs.misc.zio_trim.zio_trim_success: 0 >> kstat.zfs.misc.zio_trim.zio_trim_unsupported: 0 >> kstat.zfs.misc.zio_trim.zio_trim_failed: 2742 >> which doesn't look like it's working. The SSDs are: >> ad4: 114473MB at ata2-master UDMA100 = SATA 3Gb/s >> ad6: 114473MB at ata3-master UDMA100 = SATA 3Gb/s >> Any suggestions? Thanks >=20 > Don't think ad supports TRIM, switch to ada (ahci) and you should be = good. >=20 > Although I'm surprised your seeing that many reported failures as it = should > have disabled it on a pool level after the first few failures. >=20 > Is it still increasing? Yes I'll try switching to ahci -- Bob Bishop rb@gid.co.uk