From owner-freebsd-stable@FreeBSD.ORG Wed Mar 12 00:28:29 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 230264C6 for ; Wed, 12 Mar 2014 00:28:29 +0000 (UTC) Received: from smtp.LaTech.edu (smtp.LaTech.edu [138.47.18.140]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D6B80930 for ; Wed, 12 Mar 2014 00:28:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.LaTech.edu (Postfix) with ESMTP id 4EA2427084 for ; Tue, 11 Mar 2014 19:28:27 -0500 (CDT) X-Virus-Scanned: amavisd-new at latech.edu Received: from smtp.LaTech.edu ([127.0.0.1]) by localhost (smtp.latech.edu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0IyEZOaLf8ZV for ; Tue, 11 Mar 2014 19:28:25 -0500 (CDT) Received: from smtp.LaTech.edu (localhost [127.0.0.1]) by smtp.LaTech.edu (Postfix) with ESMTP id E541427073 for ; Tue, 11 Mar 2014 19:28:25 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=latech.edu; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type; s=latech; bh=EwQvd5WqWB6OHDzKiEuy5acmylA=; b=z84A uKEiAd9In5yjBWpGaIiDz5kbHWLCoQ0va82VZt3iA1NNrK0CF4h9okdGoPOYJA0B wT704bwG0UI4WSZiEuAdfdZEAvmuf0k+vn53YE4DzexQCj8yrBjSfPM6AA7hhOEL 3zhVmDzmOL1YztTs31+9cZtSvc4ojZD3H3KKV5c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=latech.edu; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type; q=dns; s=latech; b=n3DqEu/TIJc6kqxqiftFp02yjWgALd tJzPdk5J2IJS02sz8iDW8jwTXmQGbSjxAjWHBBZVLYcYmHyx2H8lteqR5DeF6kxY DG+U7WcIab/MnpiCfr4QAcBaMvQR/RpFUiozE0w8ycmzauADIeYnR+KJbS+UPA4m cPEuqhP5vkCT8= Received: from [192.168.0.9] (unknown [173.217.232.92]) by smtp.LaTech.edu (Postfix) with ESMTPSA id BC62427072 for ; Tue, 11 Mar 2014 19:28:25 -0500 (CDT) Message-ID: <531FAA20.7080407@latech.edu> Date: Tue, 11 Mar 2014 19:28:16 -0500 From: Danny Schales User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: ZFS UNMAP performance References: <531F2BA0.6000105@LaTech.edu> <531F3503.8090403@LaTech.edu> <531F767C.3040105@LaTech.edu> <531F8EAA.1020107@vangyzen.net> In-Reply-To: <531F8EAA.1020107@vangyzen.net> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="K720vDUden9ODA1OJ6NHb2XPEkkwnas0s" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2014 00:28:29 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --K720vDUden9ODA1OJ6NHb2XPEkkwnas0s Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 3/11/2014 5:31 PM, Eric van Gyzen wrote: >> Replying to myself...I note that the system is reporting that TRIM is >> being used. Is this normal for non-SSD systems? There *is* SSD in th= e >> system, but I'm pretty sure the system can't tell it's SSD (it's hidde= n >> behind a Dell PERC card). The number of trim.successes is roughly >> equivalent to the number of deletes reported by gstat for the ISCSI LU= N >> devices. Should the system be using TRIM for ISCSI LUNs? > Sure, if the LUN (i.e. the storage controller) reports that it supports= > TRIM/UNMAP. Note that this is completely unrelated to the type of disk= s > that provide the LUN's backing store. > >> kstat.zfs.misc.zio_trim.bytes: 232845656064 >> kstat.zfs.misc.zio_trim.success: 30810983 >> kstat.zfs.misc.zio_trim.unsupported: 809 >> kstat.zfs.misc.zio_trim.failed: 0 >> >> Danny >> > Are there any risks to turning off TRIM to see if the performance improves (other than the loss of space recovery)? Danny --K720vDUden9ODA1OJ6NHb2XPEkkwnas0s Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlMfqiYACgkQymYKbvs0SzGb0ACgh/xVjQqJ+2oXxoqlAHxtFWpm q+EAnRmbHMUclP8C62eKtV7a7zU6VfhC =E/pT -----END PGP SIGNATURE----- --K720vDUden9ODA1OJ6NHb2XPEkkwnas0s--