From owner-freebsd-geom@FreeBSD.ORG Tue Jan 7 12:10:11 2014 Return-Path: Delivered-To: freebsd-geom@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 199983CC for ; Tue, 7 Jan 2014 12:10:11 +0000 (UTC) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C8D8A1142 for ; Tue, 7 Jan 2014 12:10:10 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 25B9F28454; Tue, 7 Jan 2014 13:10:08 +0100 (CET) Received: from [192.168.1.2] (ip-89-177-49-222.net.upcbroadband.cz [89.177.49.222]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 3E47E28423; Tue, 7 Jan 2014 13:10:07 +0100 (CET) Message-ID: <52CBEE9E.2090800@quip.cz> Date: Tue, 07 Jan 2014 13:10:06 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: Steven Hartland Subject: Re: Is TRIM working with gmirror? References: <52A90049.7050001@quip.cz> <18C59233568D3A475FF0D843@study64.tdx.co.uk> <52CB2915.7060602@quip.cz> <7FBCC53840FA45928B9F527EA235B632@multiplay.co.uk> <52CB4C9E.3020904@quip.cz> <41F7CA403B574953B72B6CF4D1DDE71D@multiplay.co.uk> In-Reply-To: <41F7CA403B574953B72B6CF4D1DDE71D@multiplay.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Karl Pielorz , freebsd-geom@FreeBSD.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jan 2014 12:10:11 -0000 Steven Hartland wrote: [...] > Unless you have a specific reason for using gmirror I would strongly > advise trying ZFS instead, it will definitely support TRIM in that > config and comes with a host of other benefits too :) The specific reason is performance and memory consumption. We need every piece of performance and all memory to MySQL daemon, so this is why gmirror was choosen. We have ZFS on other purposes machines for years (from 7.x days), so I can say "I have a lot of experiences" (good and bad too). In some tests, ZFS is about 50% slower than UFS. What about graid(8) mirror instead of gmirror(8)? Is there better support for TRIM on UFS? Miroslav Lachman