From owner-freebsd-geom@FreeBSD.ORG Wed Jul 24 16:08:05 2013 Return-Path: <owner-freebsd-geom@FreeBSD.ORG> 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 ESMTP id 161113BE; Wed, 24 Jul 2013 16:08:05 +0000 (UTC) (envelope-from prvs=1917699425=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8566C2ACD; Wed, 24 Jul 2013 16:08:03 +0000 (UTC) Received: from r2d2 ([82.69.141.170]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50005127921.msg; Wed, 24 Jul 2013 17:08:01 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Wed, 24 Jul 2013 17:08:01 +0100 (not processed: message from valid local sender) X-MDDKIM-Result: neutral (mail1.multiplay.co.uk) X-MDRemoteIP: 82.69.141.170 X-Return-Path: prvs=1917699425=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk Message-ID: <FB1B3079D3934712BF67AB5E7B334E57@multiplay.co.uk> From: "Steven Hartland" <killing@multiplay.co.uk> To: "Mark Felder" <feld@freebsd.org>, <freebsd-geom@freebsd.org> References: <512DC7C043034F891F1012DA@Mail-PC.tdx.co.uk> <A34136B4528A476BB11F178D9469D7EB@multiplay.co.uk> <D6B2C9B94A5FD0E3111D83F7@Mail-PC.tdx.co.uk> <066EB1F973D44AAC951D4D47C577266F@multiplay.co.uk> <43FCB2933BDA7D36CA1719CD@Mail-PC.tdx.co.uk> <BDD072A6EA1C4AE4A7E590BB094F7C87@multiplay.co.uk> <1374679655.8934.9223372036856590361.535ACEE3@webmail.messagingengine.com> Subject: Re: TRIM or no TRIM? Date: Wed, 24 Jul 2013 17:08:29 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GEOM-specific discussions and implementations <freebsd-geom.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-geom>, <mailto:freebsd-geom-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-geom> List-Post: <mailto:freebsd-geom@freebsd.org> List-Help: <mailto:freebsd-geom-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-geom>, <mailto:freebsd-geom-request@freebsd.org?subject=subscribe> X-List-Received-Date: Wed, 24 Jul 2013 16:08:05 -0000 ----- Original Message ----- From: "Mark Felder" > On Wed, Jul 24, 2013, at 10:13, Steven Hartland wrote: >> >> gmirror may be another alternative that may correctly work with TRIM. >> >> For reference correctly setup MySQL performance on ZFS works well for >> use. Of particular interest is some of our data is highly compressible >> making ZFS compression of particular benefit for our work load. >> > > There are known interactivity issues with ZFS compression, so keep that > in mind. Some people have said that, we've never seen it here, quite the opposite in fact. > Also, you will want to make sure MySQL is on its own zfs filesystem and > you may want to set primarycache=metadata so the database chooses what > to keep in memory, not the filesystem. I ran a decent sized Postgres > database of my own with compression and it was OK, but I didn't hit it > very hard. Depends on the setup, workload and available memory tbh I would use that as a hard and fast rule. Regards Steve ================================================ 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.