From owner-freebsd-questions@FreeBSD.ORG Sat Nov 17 19:51:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C7A02FD for ; Sat, 17 Nov 2012 19:51:13 +0000 (UTC) (envelope-from dieterich.joh@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id EEC1F8FC16 for ; Sat, 17 Nov 2012 19:51:12 +0000 (UTC) Received: by mail-qc0-f182.google.com with SMTP id k19so3124850qcs.13 for ; Sat, 17 Nov 2012 11:51:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=2Tr8LN//f8shmJ+OdTmTjTB2OqKtzX7dsS/Gv/2BXbo=; b=PffpsNBNgabPXtln3CPkLX6vR5GMhKCSiX1lNt+YNzDE3NcchiEn7cqx2+JUady11F 7tJR2P88Oqzdl2h69VewAS3XTaP/DeggMpunQTA7RxRvhoL/XXvvCIg4fSTSrgIWNyQ4 Ki1IA8/k5Jr6mDHDT3INM0TKzIoK+5uJ3rrzCc6o5sxcJroIDOEgSMbAqeTxwP+bGWiR UVxL58idkTLe5hSb6KN1Fbe5J7AaHgWz+zwolPmkm1Mbwi17yAbiWAieqVO0SCR6rbxa /OFMmbBO8MT9triNhcYOffElxjWS0mG4JdhUiHFL/JMx6dkDogEb5OCdmOWRbnnH5Ony 3JxA== Received: by 10.224.194.134 with SMTP id dy6mr7837067qab.81.1353181871385; Sat, 17 Nov 2012 11:51:11 -0800 (PST) Received: from [192.168.1.9] (pool-173-72-34-218.cmdnnj.fios.verizon.net. [173.72.34.218]) by mx.google.com with ESMTPS id jt10sm2850326qeb.4.2012.11.17.11.51.10 (version=SSLv3 cipher=OTHER); Sat, 17 Nov 2012 11:51:10 -0800 (PST) Message-ID: <50A868F4.6000404@gmail.com> Date: Sat, 17 Nov 2012 23:49:56 -0500 From: Johannes Dieterich User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121117 Thunderbird/16.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: zio_trim counter Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2012 19:51:13 -0000 Please CC me as I am not subscribed. Hello, I installed CURRENT on a new Thinkpad equipped with a Samsung 830 SSD: ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: 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 a well. Probably there is a trivial explanation and/or fix for this that anyone is willing to share? If you need further information, let me know. Thanks a lot Johannes