From owner-freebsd-current@FreeBSD.ORG Thu Nov 29 14:10:30 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 03FE23EC for ; Thu, 29 Nov 2012 14:10:30 +0000 (UTC) (envelope-from dieterich.joh@gmail.com) Received: from mail-gh0-f182.google.com (mail-gh0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id A98698FC08 for ; Thu, 29 Nov 2012 14:10:29 +0000 (UTC) Received: by mail-gh0-f182.google.com with SMTP id z15so2855049ghb.13 for ; Thu, 29 Nov 2012 06:10:28 -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:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=f6zonLgJZ6imyeguoZrjlj0HBmtmlbC0mJm5p8EYOp4=; b=pGo7Aa+QczaQm9aNrAz+c/lSEW9QNj2olJNQGFnGHi4ogWtYzr88ubvwRTLuWy6CX+ 62AUZMq+coREsQGK4ETRhXQOBFrC+s4uVaOQx33eUPZEtbify1w+Nitlt3IY1kgS95gv d/s/tDGk1U7/EGUMLqTFmCK1E5f1I45ouVFO0NcCjTDBrgWULmT+cTLeoogVtC/Dnp6+ M0XOiBl4wDkc7kE0acx3auCinGvkZwg7uinuK7T8Mxv/uAveBIL8T3YkNIbQZ+MmXyfZ te0t/zwHb5fLJee1os5x2UfglthzaU0u79kv5FBdzNSFBiZhm23Pkd60fhyQpyzhWBxD Kbag== Received: by 10.236.47.41 with SMTP id s29mr24355262yhb.20.1354198228853; Thu, 29 Nov 2012 06:10:28 -0800 (PST) Received: from bresson.poelloepaeae.de (pool-173-72-34-218.cmdnnj.fios.verizon.net. [173.72.34.218]) by mx.google.com with ESMTPS id t12sm1539287ane.6.2012.11.29.06.10.27 (version=SSLv3 cipher=OTHER); Thu, 29 Nov 2012 06:10:28 -0800 (PST) Message-ID: <50B76CD3.2050607@gmail.com> Date: Thu, 29 Nov 2012 09:10:27 -0500 From: Johannes Dieterich User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Steven Hartland Subject: Re: Samsung 830 and ZFS TRIM References: <50B3C772.7040802@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 29 Nov 2012 14:10:30 -0000 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" > > To: > Sent: Monday, November 26, 2012 7:48 PM > Subject: Samsung 830 and ZFS TRIM > > >> Hello, >> >> (initially posted this to -questions@ 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: 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@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to >> "freebsd-current-unsubscribe@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@multiplay.co.uk. >